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
- Webhooks Actions
- Teams Actions
- Custom Filters Actions
- Reports Actions
Overview
This node allows users to delete an existing Account Agent Bot in the ChatWoot platform by specifying the account and agent bot identifiers. It is useful for managing and cleaning up automated agents associated with specific accounts, such as removing outdated or unnecessary bots.
A practical example would be automating the removal of agent bots that are no longer needed after a campaign ends or when restructuring support automation.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the agent bot will be deleted. |
| Id | The unique numeric ID of the agent bot to be deleted within the specified account. |
Output
The node outputs JSON data representing the result of the deletion operation. Typically, this includes confirmation of successful deletion or details about any error encountered. There is no indication that binary data is output by 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 credentials.
- The node depends on the ChatWoot REST API endpoint for deleting agent bots.
Troubleshooting
Common issues:
- Providing incorrect or non-existent Account Id or Agent Bot Id will result in errors.
- Missing or invalid API authentication token will cause authorization failures.
- Network connectivity problems can prevent the node from reaching the ChatWoot API.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Verify that the API key credential is correctly set and has sufficient permissions.
- "Agent bot not found": Confirm that the provided Account Id and Agent Bot Id are correct and exist.
- "Network error": Check internet connection and ChatWoot server availability.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n documentation on creating custom nodes