ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Automation Rule → Delete Automation Rule From Account

AI-generated

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 outdated or incorrect automation rules from your ChatWoot account without manually accessing the ChatWoot dashboard. For example, if you have a workflow that manages automation rules dynamically based on certain triggers or conditions, this node can automate the cleanup of those rules.

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. There is no binary output.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials configuration.

Troubleshooting

  • Common issues:
    • Invalid or missing Account Id or Automation Rule Id will cause the deletion to fail.
    • Authentication errors if the API token is invalid or expired.
    • Network connectivity problems preventing access to the ChatWoot API.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check and update the API authentication token.
    • "Not Found" or "Resource does not exist": Verify that the Account Id and Automation Rule Id are correct.
    • "Bad Request": Ensure all required parameters are provided and valid numbers.

Links and References

Discussion