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 allows users to delete an Account Agent Bot within the ChatWoot platform. It is useful for managing and maintaining the list of agent bots associated with a specific account by removing those that are no longer needed or relevant. For example, if an automated bot was created for a temporary campaign or test purpose, this node can be used to clean up by deleting that bot.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the agent bot will be deleted. |
| Id | The unique identifier of the agent bot that you want to delete from the specified account. |
Output
The node outputs JSON data representing the result of the deletion operation. Typically, this would include confirmation of successful deletion or details about any error encountered. The exact structure depends on the API response but generally confirms whether the agent bot was removed.
No binary data output is expected from this operation.
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 uses HTTP requests to interact with the ChatWoot REST API.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Account Id or Agent Bot Id will result in errors.
- Missing or incorrect API authentication credentials will cause authorization failures.
- Network connectivity problems may prevent the node from reaching the ChatWoot API.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and has sufficient permissions.
- "Agent bot not found": Verify that the provided Agent Bot Id exists under the specified Account Id.
- "Invalid Account Id": Ensure the Account Id is correct and corresponds to an existing account.
- Timeout or network errors: Confirm network connectivity and that the ChatWoot server is reachable.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n documentation on creating custom nodes