ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node interacts with the ChatWoot API to retrieve information about an agent bot configured for a specific inbox within a ChatWoot account. It is useful when you want to programmatically access details of the automated agent (bot) assigned to handle conversations in a particular inbox, such as fetching its configuration or status.

Practical examples include:

  • Automating monitoring or reporting on inbox agent bots.
  • Integrating ChatWoot inbox bot data into dashboards or other systems.
  • Triggering workflows based on the presence or properties of an inbox agent bot.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account.
Id The numeric ID of the inbox whose agent bot you want to retrieve.

Output

The node outputs JSON data representing the agent bot associated with the specified inbox. This typically includes details such as the bot's configuration, status, and any metadata provided by the ChatWoot API for that inbox agent bot.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing account or inbox IDs will result in errors or empty responses.
    • Authentication failures if the API token is incorrect or expired.
    • Network connectivity problems to the ChatWoot server.
  • Error messages:

    • Unauthorized or 401 errors indicate invalid API credentials; verify and update the API key.
    • 404 Not Found errors may mean the specified inbox or agent bot does not exist; check the IDs.
    • Timeout or network errors suggest connectivity issues; ensure the ChatWoot server is reachable.

Links and References

Discussion