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 interacts with the ChatWoot API to retrieve agents associated with a specific account. The "Get Account Agents" operation fetches all agents linked to the given numeric account ID. This is useful in scenarios where you want to programmatically access or manage agent information for customer support, reporting, or automation workflows within ChatWoot.
Practical examples include:
- Automatically listing all agents of an account to display in a dashboard.
- Syncing agent data from ChatWoot into another system.
- Triggering workflows based on agent availability or status.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account whose agents you want to retrieve |
Output
The node outputs JSON data containing the list of agents associated with the specified account. Each agent's details (such as name, email, role, and status) are included in the output JSON structure. This allows downstream nodes to process or analyze agent information.
No binary data output is produced 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 for OpenAPI integration.
Troubleshooting
Common issues:
- Invalid or missing account ID will result in errors or empty results.
- Incorrect API credentials or base URL configuration can cause authentication failures.
- Network connectivity problems may prevent the node from reaching the ChatWoot API.
Error messages:
- Authentication errors typically indicate invalid API keys or misconfigured credentials.
- "Account not found" or similar errors suggest the provided account ID does not exist or is inaccessible.
Resolutions:
- Verify that the account ID is correct and exists in ChatWoot.
- Ensure API credentials and base URL are properly set up in n8n.
- Check network connectivity and firewall settings.