Zalo CN Poll icon

Zalo CN Poll

Quản bình chọn Zalo

Poll → Tạo Bình Chọn

AI-generated

Summary

Create a new poll in a specified Zalo group with customizable question and options.

Inputs

  • ID Nhóm (required) — Specify the group ID in which to create the poll (works only for groups).
  • Chủ đề Bình Chọn (required) — Set the poll question.
  • Kiểu Nhập lựa Chọn — Choose whether to enter poll options individually as a list or as a single comma-separated text string.
  • Các lựa Chọn (required) — Depending on the 'Kiểu Nhập lựa Chọn', either provide multiple individual options or a comma-separated string of options. At least one option is required.
  • Thời Hạn Bình Chọn — Optional poll expiration date-time; leave blank for no expiration.
  • Ghim Lên đầU Trò Chuyện — Enable to pin the poll to the top of the chat.
  • Chọn Nhiều Phương Án (required) — Allow participants to select multiple options.
  • Có Thể Thêm Phương Án (required) — Allow participants to add new options to the poll.
  • ẨN Kết Quả Khi chưa Bình Chọn (required) — Hide poll results from participants until after they vote.
  • ẨN Người Bình Chọn (required) — Make participant votes anonymous so voters cannot see who voted.

Output shape

a single JSON object per input item representing the API response and poll details

Returns an object containing success status, the raw API response, the group ID, and the configured poll creation data. Errors are thrown or passed through according to node settings.

Examples

Example 1: Create a poll in group 12345 with question 'What is your favorite color?' using options entered as a list, allowing multiple choices and anonymous voting.

Set groupId to '12345', question to 'What is your favorite color?', optionInputType to 'list', pollOptionsCollection with choices such as 'Red', 'Blue', 'Green'. Enable allowMultiChoices and isAnonymous. Leave expiredTime blank for no expiry.

Links

Discussion