Actions42
- Message Actions
- Chat Actions
- Account Actions
- Campaign Actions
- Contact Actions
- Group Actions
- OTP Actions
- SMS Actions
- Validation Actions
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.campaignswith query parameters for pagination (limitandpage). - 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
Pageparameter 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
- Zender WhatsApp API Documentation (general reference for API endpoints)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics