N8N Tools - WhatsApp Enhanced icon

N8N Tools - WhatsApp Enhanced

Comprehensive WhatsApp Business API integration for N8N workflows

Overview

This node provides integration with the WhatsApp Business API via the N8N Tools platform, enabling users to retrieve various analytics data related to their WhatsApp Business account. Specifically, the "Get Business Account Analytics" operation fetches aggregated analytics for the entire business account over a specified date range and granularity.

Common scenarios where this node is beneficial include:

  • Monitoring overall WhatsApp business performance metrics such as message volumes, engagement rates, or other key indicators.
  • Generating reports on business communication trends over time.
  • Analyzing the effectiveness of WhatsApp campaigns or customer interactions at the business level.

Practical example:

  • A marketing team wants to track daily message traffic and response rates for their WhatsApp Business account between January 1 and January 31, 2024. They configure this node with the start and end dates and set granularity to "Day" to receive daily aggregated analytics data.

Properties

Name Meaning
Start Date The start date for the analytics query in YYYY-MM-DD format.
End Date The end date for the analytics query in YYYY-MM-DD format.
Granularity The time granularity for the analytics data aggregation. Options: Hour, Day, Month.

Output

The node outputs JSON data containing the requested business account analytics for the specified date range and granularity. The exact structure depends on the WhatsApp Business API's analytics response but typically includes metrics aggregated by the chosen time unit (hour/day/month).

No binary data output is indicated for this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the N8N Tools API service.
  • Needs proper configuration of the WhatsApp Business API credentials within N8N.
  • The node performs an initial validation call to the N8N Tools API to verify subscription and API key validity before executing the analytics request.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Date format issues: Ensure that the Start Date and End Date are provided in the correct YYYY-MM-DD format.
  • Granularity mismatch: Using unsupported granularity values may cause errors; use only the provided options (Hour, Day, Month).
  • API rate limits or connectivity issues: Network problems or exceeding API rate limits can cause failures; check network connectivity and API usage quotas.

Links and References

Discussion