OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Message → Send Poll

AI-generated

Summary

Send a WhatsApp poll to a selected chat from the chosen session, with a question, answer options, and an optional multi-select setting. The operation can also quote an earlier message.

Inputs

  • Session Name or ID (required) — Session to send from; select a listed session or provide its ID.
  • Chat Name or ID (required) — Recipient chat ID, such as a personal chat ending in @c.us or a group ending in @g.us. The dropdown lists up to 1,000 chats; use an expression for others.
  • Quoted Message ID — Optionally quote a message already stored by the engine. If the ID cannot be resolved, sending fails rather than proceeding without a quote.
  • Question (required) — The poll question.
  • Options (required) — Two to twelve answers. Enter a comma-separated list or JSON array, or use an expression that resolves to an array. Use a JSON array for answers containing commas.
  • Allow Multiple Answers — When enabled, voters can select multiple options; otherwise they can select one.

Output shape

A single item containing the API response for the sent poll.

The source describes the node's general output handling but does not specify the response fields for this operation.

Links

Discussion