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 need 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 want to remove one that is no longer relevant, this node allows you to specify the account and the exact rule ID to delete it efficiently.

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 specific automation rule to be deleted from the 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 ChatWoot REST API being accessible and the user having sufficient permissions to delete automation rules.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Account Id or Automation Rule Id will result in errors.
    • Insufficient permissions or invalid API credentials can cause authentication failures.
    • 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 correct and has necessary permissions.
    • "Not Found": Verify that both the Account Id and Automation Rule Id exist and are correct.
    • "Network Error": Ensure the ChatWoot server URL is reachable from n8n.

Links and References

Discussion