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 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-node package 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.

Links and References

Discussion