Overview
This node provides administrative operations for the ZuckZapGo WhatsApp API system. Specifically, the "Send Global Test Event" operation allows users to send a custom test event globally through the system. This is useful for verifying that global event handling, webhook integrations, or message queues are functioning correctly by simulating an event with user-defined data.
Practical examples include:
- Sending a test notification event to verify webhook endpoints.
- Simulating a message event to test downstream processing or analytics.
- Triggering a connected or presence event to check system responsiveness.
Properties
| Name | Meaning |
|---|---|
| Event Type | The type of event to send. Examples: TestEvent, Message, Connected. |
| User ID | The user identifier associated with the test event. Example: admin-test. |
| Test Data | Custom JSON-formatted data payload to include in the test event. Example: {"message": "test event", "timestamp": "2024-01-01T00:00:00Z"}. |
Output
The output is a JSON array containing the response from the ZuckZapGo API after sending the test event. Each item corresponds to one input item processed and includes the API's response data.
The structure of each output JSON object depends on the API response but generally reflects the status or details of the sent test event.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the ZuckZapGo Admin API.
- The node makes HTTP requests to the configured ZuckZapGo Admin API endpoint.
- Proper network access to the API URL must be configured.
- The API key must have permissions to send global test events.
Troubleshooting
- Invalid JSON in Test Data: If the "Test Data" property contains invalid JSON, the node will throw an error:
"Test Data must be valid JSON". Ensure the JSON syntax is correct before running. - Authentication Errors: If the API key or token is invalid or missing, the HTTP request will fail. Verify the API credentials are correctly set up.
- Network Issues: Failure to reach the API endpoint may cause errors. Check network connectivity and API URL configuration.
- API Response Errors: Any errors returned by the API (e.g., invalid event type) will be included in the output or cause the node to fail unless "Continue On Fail" is enabled.
Links and References
- ZuckZapGo WhatsApp API Documentation (replace with actual URL if available)
- n8n HTTP Request Node documentation for understanding underlying HTTP calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/