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
Agents → Delete Agent From Account
AI-generatedOverview
This node interacts with the ChatWoot API to delete an agent from a specified account. It is useful in scenarios where you need to programmatically remove agents who no longer require access or are no longer part of a team managing customer conversations. For example, automating the cleanup of user accounts when employees leave a company or when restructuring teams.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the agent will be deleted. |
| Id | The ID of the agent to be deleted from the account. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this would include 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 node credentials.
- The node depends on the
@devlikeapro/n8n-openapi-nodepackage and uses an OpenAPI specification (openapi.json) to define its operations.
Troubleshooting
Common issues:
- Invalid or missing API credentials can cause authentication failures.
- Providing incorrect account or agent IDs may result in errors indicating that the resource was not found.
- Network connectivity problems can prevent the node from reaching the ChatWoot API.
Error messages:
- "Unauthorized" or similar indicates invalid API credentials; verify and update the API key.
- "Not Found" suggests the specified account or agent ID does not exist; double-check the IDs.
- Timeout or network errors suggest connectivity issues; ensure the ChatWoot server is reachable.
Links and References
- ChatWoot API Documentation
- n8n Documentation on HTTP Request Nodes (for understanding API interaction)