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 interacts with the ChatWoot API to delete an agent from a specified account. It is useful in scenarios where you need to programmatically manage agents within your ChatWoot workspace, such as removing users who no longer require access or automating cleanup of agent lists.
Practical examples include:
- Automatically removing agents when they leave a team.
- Integrating with HR systems to sync agent status.
- Managing agent lifecycle in bulk via workflows.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account from which the agent will be deleted. |
| Id | The numeric ID of the agent 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 agent. This typically includes confirmation of deletion or error details if the operation failed.
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 credentials.
- The node depends on the
@devlikeapro/n8n-openapi-nodepackage for OpenAPI integration.
Troubleshooting
Common issues:
- Invalid or missing account or agent IDs will cause the API call to fail.
- Authentication errors if the API key or base URL is incorrect or expired.
- Network connectivity problems can prevent successful API calls.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Verify that the API key credential is correct and has sufficient permissions.
- "Agent not found": Check that the agent ID exists within the specified account.
- "Account not found": Confirm the account ID is valid and accessible.
- "Network error": Ensure the n8n instance has internet access and the ChatWoot server is reachable.