ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to list all agent bots associated with a specific account. It is useful for scenarios where you need to retrieve and manage automated agents (bots) configured within a ChatWoot account, such as displaying them in a dashboard, auditing bot configurations, or integrating bot data into other workflows.

For example, you might use this node to fetch all agent bots for an account before updating their settings or analyzing their performance metrics.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account for which to list all agent bots

Output

The node outputs JSON data representing the list of agent bots associated with the specified account. Each item in the output typically contains details about an individual agent bot, such as its ID, name, status, and configuration parameters as provided by the ChatWoot API.

No binary data output is expected from 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 credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an incorrect or non-existent Account Id may result in empty results or errors.
    • Network connectivity problems can prevent the node from reaching the ChatWoot API.
  • Error messages:

    • Authentication errors usually indicate invalid API keys or misconfigured credentials; verify and update your API token.
    • "Account not found" or similar errors suggest the Account Id does not exist or is inaccessible; confirm the ID is correct.
    • Timeout or connection errors imply network issues; check your internet connection and firewall settings.

Links and References

Discussion