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
Overview
This node interacts with the ChatWoot API to retrieve agents associated with a specific account. The "Get Account Agents" operation fetches all agents belonging to the given account ID. This is useful in scenarios where you want to manage or analyze the agents working under a particular account, such as displaying agent lists, monitoring agent activity, or integrating agent data into other workflows.
Practical examples include:
- Automatically fetching and listing all agents for an account to assign tickets.
- Synchronizing agent information from ChatWoot into a CRM or database.
- Generating reports on agent availability or performance.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to query. |
Output
The node outputs JSON data containing the list of agents retrieved from the specified account. Each item in the output corresponds to an agent's details as provided by the ChatWoot API. The exact structure depends on the API response but typically includes agent identifiers, names, roles, and statuses.
No binary data output is involved.
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.
- Depends on the
@devlikeapro/n8n-openapi-nodepackage for OpenAPI integration.
Troubleshooting
- Invalid Account Id: If the account ID is incorrect or does not exist, the API may return an error or empty result. Verify the account ID before running the node.
- Authentication Errors: Ensure that the API key credential is valid and has sufficient permissions to access agent data.
- Network Issues: Connectivity problems to the ChatWoot server will cause request failures. Check network settings and base URL configuration.
- API Changes: If the ChatWoot API changes, the node might fail to parse responses correctly. Keep the node and its dependencies updated.