Actions113
- 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
- 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
Overview
This node allows users to delete an existing Account Agent Bot within a specified account in the ChatWoot platform. It is useful for managing and cleaning up agent bots that are no longer needed or were created by mistake. For example, if you have automated chat agents set up for customer support and want to remove one due to redundancy or replacement, this node facilitates that deletion via the ChatWoot API.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric identifier of the account where the agent bot exists. |
| Id | The unique identifier of the agent bot to be deleted from the specified account. |
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 successful deletion or details about any error encountered. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the credentials.
- The node depends on the ChatWoot REST API being accessible and the user having sufficient permissions to delete agent bots.
Troubleshooting
Common Issues:
- Invalid or missing Account Id or Agent Bot Id will cause the operation to fail.
- Insufficient permissions or invalid API credentials can result in authorization errors.
- Network connectivity issues may prevent communication with the ChatWoot API.
Error Messages:
- "Unauthorized" or "Authentication failed": Check that the API key credential is correct and has necessary permissions.
- "Agent bot not found": Verify that the provided Account Id and Agent Bot Id are correct.
- "Network error": Ensure the ChatWoot server URL is reachable and there are no firewall restrictions.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n Documentation (for general usage of custom nodes and credentials)