Actions113
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- 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
Automation Rule → Delete Automation Rule From Account
AI-generatedOverview
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
- ChatWoot API Documentation (for detailed API endpoints and usage)
- n8n documentation on creating custom nodes