Elementium Sign in
Contents

Community · Starts a flow

When a giveaway ends

A giveaway from Start a giveaway ends and its winners are picked: when its time is up, or early with End giveaway now.

Basic plan giveaway.ended

In a flow

“When a giveaway ends, the steps wired after it run.”

When a giveaway ends: DM each winner how to claim the prize.

What it does

A giveaway from Start a giveaway ends and its winners are picked: when its time is up, or early with End giveaway now. It starts a flow, and gives the steps after it values about what happened. It gives 8 values later steps can use. Find it under Community in the palette.

When to use it

Use it to start a flow when a giveaway ends.

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 ended it Member

Who ran End giveaway now; empty when its time ran out. e.g. @Alex

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 Channel

The giveaway's channel. e.g. #giveaways

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

Giveaway Message

The giveaway's post. e.g. a link to the message

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

Prize Text

What was won. e.g. Discord Nitro

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

Winners list:member

Who won. Loop over it with For each, like to DM each winner. e.g. @Alex, and more like it

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

Winners as text Text

Their mentions, or nobody. e.g. @Sam, @Kay

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

How many won Number

0 when nobody entered. 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

Ended early Yes / no

True when End giveaway now ended it. 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

Often next

Wires and sockets · Data values · Plans