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
Agent Bots → Delete An Agent Bot
AI-generatedOverview
This node allows users to delete an existing Agent Bot in the ChatWoot platform by specifying its unique identifier. It is useful for scenarios where automated chat agents are no longer needed or must be removed to maintain an updated and clean bot environment. For example, a user might delete an outdated or malfunctioning agent bot to prevent it from handling conversations.
Properties
| Name | Meaning |
|---|---|
| Id | The unique numeric identifier of the agent bot to be deleted. This property is required to specify which agent bot should be removed. |
Output
The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified agent bot. Typically, this will include confirmation of deletion or error details if the operation failed. There is no binary output associated with this node.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The base URL for the ChatWoot instance must be provided via credentials.
Troubleshooting
Common issues:
- Providing an invalid or non-existent agent bot ID will result in an error response from the API.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent successful communication with the ChatWoot server.
Error messages:
- "Agent bot not found" — Verify that the provided ID corresponds to an existing agent bot.
- "Unauthorized" or "Authentication failed" — Check that the API key or token is correctly set up in the node credentials.
- "Network error" — Ensure that the ChatWoot server URL is reachable and there are no firewall restrictions.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and responses)
- n8n Documentation (for general usage of API nodes and credential setup)