ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to retrieve conversation metrics for a specific account. It is useful for users who want to analyze or report on conversation data tied to their ChatWoot accounts, such as tracking engagement or performance metrics over time.

A practical example would be fetching conversation statistics for a customer support account to monitor how many conversations were handled, response times, or other aggregated metrics that help evaluate team performance.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account for which to fetch conversation metrics.
Type The type of report to retrieve. Currently supports only "Account" as the report type.

Output

The node outputs JSON data containing the conversation metrics for the specified account. The exact structure depends on the ChatWoot API response but typically includes aggregated statistics about conversations such as counts, durations, and statuses.

No binary data output is indicated.

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 uses the ChatWoot REST API endpoint corresponding to conversation metrics.

Troubleshooting

  • Missing or invalid Account Id: Ensure the Account Id is provided and is a valid number; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key credential and base URL are correctly set up in n8n.
  • API rate limits or connectivity issues: Network problems or hitting API limits may cause errors; check network access and API usage quotas.
  • Unsupported report type: Currently, only the "Account" type is supported; using other types will not work.

Links and References

Discussion