Overview
This node integrates with the ZuckZapGo WhatsApp API to perform various chat-related operations. It is useful for automating message management tasks such as deleting messages, editing sent messages, downloading media from messages, marking messages as read, reacting to messages with emojis, and setting typing or recording presence indicators.
A practical example of its use includes automatically deleting a message after a certain condition is met, or downloading media files sent in chats for archival or processing purposes.
For the Delete Message operation specifically, the node deletes a message you have previously sent by specifying its unique message ID.
Properties
| Name | Meaning |
|---|---|
| Message ID | ID of the message to delete |
Output
The output is a JSON object representing the response from the ZuckZapGo API after attempting to delete the specified message. The structure depends on the API's response but generally confirms whether the deletion was successful.
No binary data is produced for the Delete Message operation.
Dependencies
- Requires an API key credential for authenticating with the ZuckZapGo WhatsApp API.
- The node uses the
zuckzapgoApiRequesthelper function to make HTTP POST requests to the API endpoints. - Proper configuration of the API credentials within n8n is necessary for successful operation.
Troubleshooting
Common issues:
- Invalid or missing Message ID: The operation requires a valid message ID; ensure it is correctly provided.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- Network or API downtime: Check connectivity and API status if requests fail unexpectedly.
Error messages:
- Errors returned from the API will be included in the node’s output if "Continue On Fail" is enabled.
- Typical error messages might include "Message not found" if the message ID does not exist or "Unauthorized" if authentication fails.
To resolve these, double-check input parameters, credentials, and network connectivity.
Links and References
- ZuckZapGo WhatsApp API Documentation (example link, replace with actual)
- n8n documentation on Creating Custom Nodes