Actions18
- Group Actions
- Human Approval Actions
- LID / Phone Actions
- Media Actions
- Message Actions
Message → Send Poll
AI-generatedSummary
Sends a WhatsApp poll message to a specified chat ID with a question and multiple-choice options.
Inputs
- chatId (required) — Recipient phone number or group/channel JID (e.g., 12132132130 or 12132132130@c.us).
- pollName (required) — The name, question, or title of the poll.
- pollOptions (required) — Comma-separated list of poll options (e.g., 'Yes, No, Maybe').
- multipleAnswers — If true, allows the recipient to select multiple options; otherwise, single choice only. Defaults to false.
Output shape
A single item containing the API response data (success status and message details).
The response shape depends on the Waappa API; it may include success flags and message metadata.
Examples
Example 1: Send a single-choice poll to a contact.
Chat ID: 1234567890@c.us, Poll Name: 'Favorite Color?', Options: 'Red, Green, Blue', Multiple Answers: false
Example 2: Send a multi-choice poll to a group.
Chat ID: 9876543210-1234567890@g.us, Poll Name: 'Team Lunch', Options: 'Pizza, Sushi, Burgers, Tacos', Multiple Answers: true