If you have more than two options they will appear as poll.option2.text, poll.option2.votes, poll.option3.text, poll.option3.votes, and so on
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
poll.option0.text | string | The first poll option listed |
poll.option0.votes | int | The number of votes cast for the first option |
poll.option1.text | string | The second poll option listed |
poll.option1.votes | int | The number of votes cast for the second option |
poll.options.count | int | The number of available options |
poll.question | string | The question asked |
poll.totalVotes | int | The total number of votes cast |
poll.winningOption.text | string | The option that received the most votes OR if there is a tie, the first listed option that tied |
poll.winningOption.votes | int | The number of votes cast for the winning option |