ZapClass API icon

ZapClass API

Integração com a API do ZapClass para envio de mensagens WhatsApp

Mensagem → Enviar Enquete

AI-generated

Overview

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

  1. Sending a customer satisfaction poll to a client after a service interaction.
  2. 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.
  • pollDetails
    • title - 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.

Discussion