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 list of contacts that are no longer active or relevant, this node can be used to delete those contacts automatically based on certain criteria or triggers within your workflow.

Properties

Name Meaning
Account Id The numeric ID of the account from which the contact will be deleted.
Id The ID of the contact to be deleted.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of successful deletion or details about any error encountered. There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The base URL for the ChatWoot instance must be configured in the node credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package and uses an OpenAPI specification (openapi.json) to define its properties and requests.

Troubleshooting

  • Common issues:

    • Invalid or missing account ID or contact ID will cause the API call to fail.
    • Incorrect or expired API authentication token will result in authorization errors.
    • Network connectivity issues may prevent the node from reaching the ChatWoot API.
  • Error messages:

    • Authorization errors typically indicate problems with the API key or credentials; verify and update them as needed.
    • "Contact not found" errors suggest the provided contact ID does not exist under the specified account.
    • Validation errors occur if required fields are missing or incorrectly formatted; ensure all required properties are correctly set.

Links and References

Discussion