Overview
The ZuckZapGo Chat node enables interaction with the ZuckZapGo WhatsApp API to perform various chat-related operations. Specifically, the Set Presence operation allows users to set the presence state of a WhatsApp user, such as showing or hiding typing indicators or recording audio indicators in a chat.
This node is useful for automating chat behaviors that simulate real-time user activity, enhancing user experience by signaling when someone is typing or recording audio. For example, a chatbot can show a "typing" indicator while preparing a response, making interactions feel more natural.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number for which to set the presence state (e.g., 5491155553934). |
| State | The presence state to set: - Typing ( composing): Show typing indicator.- Not Typing ( paused): Hide typing indicator. |
| Media Type | The type of media being composed: - None (regular typing indicator) - Audio (recording audio indicator) |
Output
The node outputs JSON data reflecting the response from the ZuckZapGo WhatsApp API after setting the presence state. This typically includes confirmation of the presence update.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the ZuckZapGo WhatsApp API.
- Requires an API authentication credential configured in n8n to authorize requests.
- The node uses a helper function to make authenticated HTTP POST requests to the
/chat/presenceendpoint of the API.
Troubleshooting
Common issues:
- Invalid or missing phone number format may cause the API request to fail.
- Incorrect or expired API credentials will result in authentication errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Errors returned from the API are captured and included in the node's output if "Continue On Fail" is enabled.
- Typical error messages might include invalid parameter errors or authorization failures.
Resolution tips:
- Verify the phone number is correctly formatted without extra characters.
- Ensure the API key or token is valid and has not expired.
- Check network access and firewall settings to allow outbound API requests.
Links and References
- ZuckZapGo WhatsApp API Documentation (replace with actual URL)
- WhatsApp Presence Indicators Explained