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 remove automation rules that are no longer needed or relevant, helping maintain clean and efficient account configurations. For example, if an automation rule was created for a specific workflow but later deemed obsolete, this node can be used to delete it automatically as part of a cleanup process.

Properties

Name Meaning
Account Id The numeric ID of the 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. There is no indication that binary data is output by 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 or automation rule ID will cause the deletion to fail.
    • Authentication errors if the API key or base URL is incorrect or expired.
    • Network connectivity problems may prevent reaching the ChatWoot API.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set up and has sufficient permissions.
    • "Not Found" or "Automation rule does not exist": Verify that the provided account ID and automation rule ID are correct.
    • "Bad Request": Ensure that the IDs are valid numbers and properly passed to the node.

Links and References

Discussion