Actions18
- Message Actions
- Friend Actions
- Group Actions
- Get Actions
Group → Create Poll
AI-generatedSummary
Create a poll in a specified Zalo group by providing the group ID, poll question, and poll options.
Inputs
- Group ID (required) — ID of the group where the poll will be created.
- Poll Question (required) — The question text to be asked in the poll.
- Poll Options (required) — Comma-separated list of options for the poll.
Output shape
a single JSON object per input item representing the created poll, including group ID, poll question, array of poll options, success status, and timestamp
The operation outputs a JSON object with keys: success (boolean), resource ('group'), operation ('createPoll'), groupId (string), pollQuestion (string), options (string array), and createdAt (ISO 8601 timestamp). No pagination or error envelope beyond standard node error handling.
Examples
Example 1: Create poll with question 'Favorite color?' and options 'Red, Green, Blue' in group with ID '123456'
Set Group ID to '123456', Poll Question to 'Favorite color?', Poll Options to 'Red, Green, Blue'