Actions21
Overview
The "List Newsletters" operation of the ZuckZapGo AI node retrieves a complete list of subscribed newsletters or channels from WhatsApp. It provides detailed information such as newsletter names, descriptions, subscriber counts, and activity status. This operation is useful for users who want to monitor or manage their newsletter subscriptions programmatically within an automation workflow.
Practical examples include:
- Automatically fetching and displaying all newsletters a user is subscribed to.
- Integrating newsletter data into dashboards or reports.
- Triggering further actions based on newsletter activity or subscriber counts.
Properties
| Name | Meaning |
|---|---|
| Optimize Response | Whether to optimize the API response to reduce token usage and improve AI processing (boolean). |
| Max Response Length | Maximum number of characters in the response; responses longer than this will be truncated (number). |
| Include Only Essential Fields | Whether to include only essential fields in the response to reduce noise (boolean). |
| Response Format | How to format the response for optimal AI agent understanding. Options: Optimized, Raw, Summary. |
These properties control how the response data is returned and formatted, especially when used as a tool with AI workflows.
Output
The output JSON contains the data returned by the WhatsApp API endpoint /newsletter/list. This includes a list of subscribed newsletters/channels with details such as:
- Newsletter/channel names
- Descriptions
- Subscriber counts
- Activity status
If response optimization is enabled, the output may be truncated to the first 10 items with metadata indicating the truncation reason and counts, marked with _aiOptimized and _truncated flags.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for the ZuckZapGo WhatsApp API service.
- The node makes HTTP requests to the ZuckZapGo API endpoints.
- No additional environment variables are required beyond the configured API credentials.
Troubleshooting
Common issues:
- Network connectivity problems can cause request failures.
- Invalid or missing API credentials will result in authentication errors.
- If the user is not subscribed to any newsletters, the response may be empty.
Error messages:
- Errors thrown by the API request will be caught and returned as error objects in the output if "Continue On Fail" is enabled.
- Missing or invalid parameters are unlikely for this operation since it requires no input other than the operation selection.
Resolution tips:
- Verify that the API key credential is correctly configured and has access rights.
- Check network connectivity and API endpoint availability.
- Ensure the WhatsApp account has active newsletter subscriptions.
Links and References
- ZuckZapGo GitHub Repository β Official source and documentation for the ZuckZapGo API.
- WhatsApp Newsletter API documentation (if available via ZuckZapGo docs).