Elementium Sign in
Contents

Messages · Step

Poll results

Read a poll's answers and how many votes each one has.

Free plan poll.results

In a flow

“When a button is clicked, poll results.”

When the poll ends, post the winner.

What it does

Read a poll's answers and how many votes each one has. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 7 values later steps can use. Find it under Messages in the palette.

When to use it

Use it when the flow needs to read a poll's answers and how many votes each one has.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Message Message

The poll: its link, its id, or wire in Poll from Create poll. Leave empty for the message clicked or posted.

What goes there: Type it in the side panel, or wire in a message. e.g. a link to the message

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromCountdown messageCreate pollCreate poll from a listExport form recordsFind messageForward messagePinned messagesPoll with resultsand 526 more

Channel Channel

Where the message is, when you give only its id. Leave empty for here.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

Values it gives

Question Text

What the poll asks. e.g. Which map next?

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 577 more

Answers list:text

The answers, in order. e.g. Desert

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toCreate pollPoll with resultsAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsand 90 more

Votes list:number

Votes for each answer, in the same order. e.g. 4

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 onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Total votes Number

Every vote added up. e.g. 9

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

Winner Text

The answer with the most votes, empty with no votes. A tie gives the first. e.g. Desert

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 577 more

Has ended Yes / no

True once the poll is closed and its count is final. e.g. true

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 onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

As text Text

Each answer with its votes. e.g. Desert: 4, Forest: 5

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 577 more

Shortcuts

Often next

Related in Messages

Wires and sockets · Data values · Plans