ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to delete an automation rule from a specified account. It is useful in scenarios where you want to programmatically manage and clean up automation rules within your ChatWoot accounts, such as removing outdated or incorrect rules without manual intervention.

For example, if you have multiple automation rules set up for different customer support workflows and one becomes obsolete, this node can be used to delete that specific rule by providing its ID and the associated account ID.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account from which the automation rule will be deleted.
Id The ID of the automation rule that you want to delete from the specified account.

Output

The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the automation rule. Typically, this will include 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:

    • Providing an invalid or non-existent account ID or automation rule ID will result in errors.
    • Missing or incorrect API authentication credentials will cause authorization failures.
    • Network connectivity issues may prevent the node from reaching the ChatWoot API.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly configured.
    • "Not Found": Verify that both the account ID and automation rule ID exist and are correct.
    • "Request failed": Inspect network settings and ensure the ChatWoot base URL is reachable.

Links and References

Discussion