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 delete those contacts automatically from your ChatWoot account.

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 delete.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of the deletion or any relevant status messages returned by the ChatWoot API. There is no binary data output.

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 ChatWoot REST API being accessible and the user having sufficient permissions to delete contacts.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id or Contact Id will cause the operation to fail.
    • Insufficient permissions or invalid API credentials will result in authentication errors.
    • Network connectivity problems may prevent the node from reaching the ChatWoot API.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and has the necessary permissions.
    • "Contact not found": Verify that the provided Contact Id exists within the specified Account Id.
    • "Invalid Account Id": Ensure the Account Id is correct and corresponds to an existing account.

Resolving these typically involves verifying input parameters, checking API credentials, and ensuring network access.

Links and References

Discussion