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 the collection of automated agents (bots) configured within a ChatWoot account, such as for monitoring, reporting, or further automation workflows.

For example, you might use this node to:

  • Fetch all agent bots to display their statuses in a dashboard.
  • Automate updates or audits on existing bots.
  • Integrate bot data into other systems for analytics or customer support optimization.

Properties

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

Output

The node outputs a JSON array containing details of all agent bots linked to the specified account. Each item in the array represents an individual agent bot with its properties as returned by the ChatWoot API. The exact structure depends on the API response but typically includes identifiers, names, configurations, and status information of each bot.

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 credentials.
  • The node uses the ChatWoot REST API endpoint to fetch agent bots.

Troubleshooting

  • Missing or invalid Account Id: Ensure that the Account Id property is set correctly as a number. An incorrect or missing Account Id will cause the API call to fail.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions to access agent bot data.
  • Network or connectivity issues: Confirm that the ChatWoot instance URL is reachable from n8n and that there are no firewall restrictions.
  • API rate limits: If many requests are made in a short time, the API may throttle calls. Implement retry logic or reduce request frequency if needed.

Links and References

Discussion