Wazzap API icon

Wazzap API

Interact with Wazzap API

Overview

This node integrates with the Wazzap API to send interactive poll messages via WhatsApp. Specifically, the "Send Poll" operation under the "Message" resource allows users to create and send a poll to a specified recipient's phone number. This is useful for gathering quick feedback, conducting surveys, or engaging audiences directly through WhatsApp.

Practical examples include:

  • Sending customer satisfaction polls after service interactions.
  • Conducting quick opinion polls in group chats.
  • Collecting votes on event planning options.

Properties

Name Meaning
📱 Recipient Phone Number The full phone number of the recipient, including country code, to whom the poll message will be sent.
📝 Title The title text displayed at the top of the poll message.
✅ Allow Multiple Answers Determines if the poll allows multiple answers. Options: Yes, No.
ℹ️ Minimum 2 options, maximum 12. Each option must be unique. Informational notice reminding that poll options must be between 2 and 12 unique entries.
📊 Poll Options Collection of poll options (minimum 2, maximum 12). Each option has a label shown to the user.
🔢 Priority Number Optional sending priority number to select which sending number to use: 0 = Default, 999 = Random, 1–5 = Specific slot.
⏱️ Delay Settings Optional delay range before sending the message, defined by start and end milliseconds (e.g., 1200 to 5000 ms).

Output

The node outputs a JSON array containing the response from the Wazzap API after sending the poll message. This typically includes confirmation details such as message ID, status, and any metadata returned by the API.

If the node supports binary data output (not indicated here), it would represent media or attachments related to the message, but this operation focuses on JSON responses only.

Dependencies

  • Requires an active connection to the Wazzap API via an API key credential configured in n8n.
  • The node depends on network access to https://doc.wazzap.mx/api-reference as the base URL for API requests.
  • Proper configuration of the recipient phone number format (including country code) is necessary for successful delivery.

Troubleshooting

  • Unsupported operation error: If the node throws an error stating the operation is unsupported, verify that the Resource is set to "Message" and Operation to "Send Poll".
  • Invalid phone number format: Ensure the recipient phone number includes the country code and no invalid characters.
  • Poll options constraints: The poll requires at least 2 and at most 12 unique options; violating this will cause errors.
  • API authentication failures: Check that the API key credential is correctly configured and valid.
  • Delay settings misconfiguration: If delay start is greater than delay end, the node may behave unexpectedly; ensure proper numeric ranges.

Links and References

Discussion