Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Interativo UazAPI → Uazapi Poll

AI-generated

Summary

Send a poll to the Interativo UazAPI by specifying the poll question and choices to collect responses from users.

Inputs

  • Ticket ID — Numeric identifier for the ticket related to the poll (optional). Defaults to 1262.
  • Text — The poll question or prompt presented to users. Defaults to 'Qual sua preferencia?'.
  • Choices — A JSON array of answer options for the poll. Defaults to ["Opcao A", "Opcao B", "Opcao C"]
  • Selectable Count — Number of choices a user can select in the poll. Defaults to 1.

Output shape

a single JSON response object containing the result of the poll creation request

All inputs are optional and sent in the request body as a JSON payload. The response returns the API's reply to the poll creation request; structure depends on the Interativo UazAPI implementation.

Examples

Example 1: Create a poll with custom question and multiple choices

Set 'Text' to 'What's your favorite color?', 'Choices' to ['Red', 'Green', 'Blue'], and 'Selectable Count' to 2.

Links

Discussion