Actions113
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Contacts API Actions
- Inbox API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Canned Response Actions
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
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n Documentation (for general usage of API nodes and credentials)