ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to delete an existing account by its numeric ID. It is useful in scenarios where you need to programmatically remove accounts from your ChatWoot instance, such as cleaning up unused or test accounts, or automating account lifecycle management.

For example, if you have a workflow that manages customer support accounts and you want to automatically delete accounts that are no longer active, this node can be used to perform that deletion based on the account ID.

Properties

Name Meaning
Account Id The numeric ID of the account to delete

Output

The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified account. This typically includes confirmation of deletion or error details if the operation failed.

No binary data output is expected from this node.

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 for OpenAPI integration.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id: Ensure the Account Id provided is correct and exists in the ChatWoot system.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Check that the ChatWoot instance URL is reachable from n8n.
  • Error messages:

    • "Account not found": The specified Account Id does not exist; verify the ID.
    • "Unauthorized" or "Authentication failed": Check API key credentials.
    • "Request failed": Could indicate network issues or incorrect base URL configuration.

Links and References

Discussion