ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to retrieve detailed information about a single Account Agent Bot within a specified account. It is useful when you need to fetch specific data about an agent bot, such as its configuration or status, for monitoring, auditing, or integration purposes.

Practical examples include:

  • Fetching details of a particular agent bot to display in a dashboard.
  • Verifying the configuration of an agent bot before performing updates.
  • Integrating agent bot data into other systems for reporting or automation.

Properties

Name Meaning
Account Id The numeric ID of the account that owns the agent bot.
Id The unique ID of the agent bot whose details are to be retrieved.

Output

The node outputs JSON data containing the detailed information of the specified Account Agent Bot. This typically includes all relevant properties and metadata associated with the agent bot as returned by the ChatWoot API.

If the node supports binary data output (not indicated here), it would represent any file or media content related to the agent bot, but this node primarily deals with 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-based request handling.

Troubleshooting

  • Invalid Account Id or Agent Bot Id: Ensure that the numeric IDs provided exist and are correct; otherwise, the API will return errors indicating resource not found.
  • Authentication Errors: Verify that the API key credential is valid and has sufficient permissions to access agent bot details.
  • Network Issues: Check connectivity to the ChatWoot instance URL configured in credentials.
  • Unexpected API Response: If the API schema changes, the node might fail to parse the response correctly; updating the node or its OpenAPI specification may be necessary.

Links and References

Discussion