ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

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 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 whose agents you want to retrieve

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 details such as agent ID, name, email, and other relevant metadata provided by the ChatWoot API.

If the node supports binary data output (not indicated here), it would be summarized accordingly, but this operation primarily returns JSON data.

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-node package for OpenAPI integration.

Troubleshooting

  • Common issues:

    • Invalid or missing account ID will cause the API call to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems can prevent reaching the ChatWoot API endpoint.
  • Error messages:

    • Authentication errors usually indicate invalid API keys; verify and update credentials.
    • "Account not found" or similar errors suggest the provided account ID does not exist or is inaccessible.
    • Timeout or connection errors may require checking network settings or ChatWoot server status.

Links and References

Discussion