Starts when · Starts a flow
When someone votes in a poll
A member picks an answer in a poll. A poll that allows several answers runs this once per answer.
events.poll_voted
In a flow
“When someone votes in a poll, the steps wired after it run.”
Give a role to everyone who voted 'Yes'.
What it does
A member picks an answer in a poll. A poll that allows several answers runs this once per answer. It starts a flow, and gives the steps after it values about what happened. It gives 5 values later steps can use. Find it under Starts when in the palette.
When to use it
Use it to start a flow when someone votes in a poll.
When not to
If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.
Typical wiring
Values it gives
- Who voted Member
-
The member who voted. e.g. @Sam
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 648 more
- Where the poll is Channel
-
The channel the poll is in. e.g. #general
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive channelArchive or lock threadAsk a questionand 640 more
- The poll Message
-
The poll's message, as a link. e.g. https://discord.com/channels/1/2/3
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAttached filesCancel giveawayClear reactionsDelete and warnDelete messageDelete message laterEdit messageEdit to layoutand 578 more
- Answer number Number
-
Which answer they picked, counting from 1 at the top. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Their answer Text
-
The answer's text. Empty unless the bot has the Message Content intent. Empty if the bot hadn't seen the message since it last started. e.g. Pizza
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more