Zender icon

Zender

Interact with Zender WhatsApp API

Overview

This node interacts with the Zender WhatsApp API to manage WhatsApp campaigns among other resources. Specifically, the Campaign - Get All operation retrieves a paginated list of all WhatsApp campaigns associated with the authenticated account.

Common scenarios where this node is beneficial include:

  • Monitoring and managing multiple WhatsApp marketing or notification campaigns.
  • Fetching campaign data for reporting or analytics purposes.
  • Integrating campaign information into automated workflows for further processing or decision-making.

For example, a user might use this node to fetch all active campaigns and then trigger follow-up actions based on campaign status or metrics.

Properties

Name Meaning
Limit Limit the number of campaign results returned per page (pagination size). Default is 10.
Page Page number to retrieve in the paginated list of campaigns. Default is 1.

Output

The output is an array of JSON objects representing WhatsApp campaigns retrieved from the Zender API. Each item corresponds to one campaign and contains details as provided by the API response.

The exact structure depends on the API but typically includes fields such as campaign ID, name, status, start/stop timestamps, and other metadata related to each campaign.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zender WhatsApp API.
  • The node uses HTTP GET requests to the endpoint ${baseUrl}/get/wa.campaigns with query parameters for pagination (limit and page).
  • The base URL and API secret are obtained from the configured credentials.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions to access campaign data.
  • Empty results: Verify that there are existing campaigns in the Zender account; otherwise, the response will be empty.
  • Pagination issues: If requesting pages beyond the available range, the API may return empty results. Adjust the Page parameter accordingly.
  • Network or API errors: Check network connectivity and confirm the Zender API service status if requests fail.

If the node throws an error, enabling "Continue On Fail" can help process subsequent items without interruption.

Links and References

Discussion