Actions42
- Message Actions
- Chat Actions
- Account Actions
- Campaign Actions
- Contact Actions
- Group Actions
- OTP Actions
- SMS Actions
- Validation Actions
Overview
The node interacts with the Zender WhatsApp API to perform various operations related to WhatsApp accounts, messages, chats, campaigns, contacts, groups, OTPs, SMS, servers, and phone number validation. Specifically, for the Account resource and Get QR Image operation, the node retrieves a WhatsApp QR code image using a token string obtained from creating a WhatsApp QR code.
This operation is useful when you want to display or process the QR code image that users can scan to link their WhatsApp account with the Zender service. For example, after initiating a WhatsApp account linking process, you can use this operation to fetch the QR code image that the user needs to scan with their WhatsApp app.
Properties
| Name | Meaning |
|---|---|
| Token | Token string obtained from creating a WhatsApp QR code. This token identifies the QR code to retrieve. |
Output
The output JSON contains the response from the Zender API endpoint that provides the WhatsApp QR code image corresponding to the provided token. The exact structure depends on the API but typically includes the QR code image data or a URL to the QR code image.
- The
jsonoutput field will contain the QR code image information. - No binary data output is indicated for this operation.
Example output (conceptual):
{
"qrImage": "base64EncodedImageStringOrUrl",
"token": "theProvidedToken",
"status": "success"
}
Dependencies
- Requires an active connection to the Zender WhatsApp API.
- Requires an API key credential for authentication with the Zender API.
- The base URL and API secret are configured in the node credentials.
- No additional environment variables are explicitly required.
Troubleshooting
- Invalid or expired token: If the token used to get the QR image is invalid or expired, the API may return an error or empty response. Ensure the token is freshly obtained from the QR code creation step.
- Authentication errors: Make sure the API key credential is correctly set up and has the necessary permissions.
- Network issues: Verify network connectivity to the Zender API endpoints.
- Unexpected API response: Check if the API endpoint URL or parameters have changed; consult the Zender API documentation.
Links and References
- Zender WhatsApp API Documentation (general reference for API endpoints)
- n8n documentation on Creating Custom Nodes
- WhatsApp QR Code linking concepts: WhatsApp Business API Guide