Actions113
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
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
- ChatWoot API Documentation (for detailed info on available reports and metrics)
- n8n Documentation (for general guidance on using API nodes and credentials)