Actions12
Mensagem → Enviar Enquete
AI-generatedOverview
This node integrates with the ZapClass API to send WhatsApp poll messages. It allows users to send a poll with a question (title) and multiple voting options (choices) to a specified recipient's phone number in international format. Additional options include setting the maximum selectable answers, delay before sending, mentions, message tracking IDs, and read status controls. This node is useful for gathering feedback or conducting surveys via WhatsApp in an automated workflow.
Use Case Examples
- Sending a customer satisfaction poll to a client after a service interaction.
- Conducting quick opinion polls within a WhatsApp group or individual chat.
Properties
| Name | Meaning |
|---|---|
| Number | The recipient's phone number in international format (DDI + DDD + number). Required to specify the destination of the poll message. |
| Title | The main question or title of the poll to be sent. This is the question the recipients will answer. |
| Choices | A JSON array of voting options available in the poll. Maximum of 12 items allowed. |
| Additional Options | Optional settings to customize the poll message, including maximum selectable answers, delay before sending, mentions, message IDs for tracking and replying, source identifier, and read status flags. |
Output
JSON
messageId- Unique identifier of the sent poll message.status- Status of the message sending operation (e.g., success or failure).recipientNumber- The phone number of the poll recipient.pollDetailstitle- The title/question of the poll sent.choices- The list of choices included in the poll.
Dependencies
- ZapClass API for WhatsApp messaging
Troubleshooting
- Ensure the recipient number is in the correct international format to avoid delivery failures.
- Verify that the ZapClass API credentials are correctly configured and valid to prevent authentication errors.
- Check that the choices array does not exceed 12 items to comply with API limits.
- If the message fails to send, review the error message for details such as invalid UUIDs or unsupported options and adjust accordingly.