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 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 list or manage agents for a particular ChatWoot account, such as displaying agent details in a dashboard or automating workflows based on agent information.
Practical examples include:
- Fetching all agents of an account to assign conversations dynamically.
- Synchronizing agent data from ChatWoot into another system.
- Monitoring agent activity by first retrieving agent details.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to query. |
Output
The node outputs JSON data containing the list of agents associated with the specified account. Each item in the output typically represents an agent object with properties such as agent ID, name, email, and other relevant details provided by the ChatWoot API.
No binary data output is involved in 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 node credentials.
- The node depends on the ChatWoot REST API being accessible and the provided account ID being valid.
Troubleshooting
- Invalid Account Id: If the account ID does not exist or is incorrect, the API may return an error or empty results. Verify the account ID before running the node.
- Authentication Errors: Ensure that the API key credential is correctly set up and has sufficient permissions to access agent data.
- Network Issues: Connectivity problems to the ChatWoot server will cause request failures. Check network settings and endpoint availability.
- API Rate Limits: Excessive requests might lead to rate limiting; handle such errors by implementing retries or backoff strategies.
Links and References
- ChatWoot API Documentation - Official API docs for detailed information on endpoints and data structures.