ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to delete a specific contact from an account. It is useful in scenarios where you need to programmatically remove contacts, such as cleaning up outdated or invalid contact records, automating data management workflows, or integrating contact deletion into larger customer support or CRM processes.

For example, if you have a workflow that identifies inactive contacts, this node can be used to automatically delete those contacts from your ChatWoot account.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account where the contact exists. This identifies which account's contacts are being managed.
Id The numeric ID of the contact to delete. This specifies exactly which contact will be removed from the account.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of successful deletion or details about any error encountered. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The node expects the base URL of the ChatWoot instance to be configured in the credentials.
  • No additional external dependencies beyond the ChatWoot API and its authentication.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id or Contact Id will cause the deletion to fail.
    • Authentication errors if the API key or base URL is incorrect or expired.
    • Network connectivity problems preventing access to the ChatWoot API.
  • Error messages:

    • "Unauthorized" or similar indicates issues with API credentials; verify and update them.
    • "Not Found" suggests the specified contact or account does not exist; double-check IDs.
    • "Bad Request" may indicate malformed input; ensure IDs are numbers and required fields are set.

Resolving these typically involves verifying input parameters and ensuring valid, active API credentials.

Links and References

Discussion