Community · Step
Cancel giveaway
Stop a giveaway before it ends: nobody wins, and its post says it was cancelled.
giveaway.cancel
In a flow
“When a button is clicked, cancel giveaway.”
The prize sold out: cancel the giveaway
What it does
Stop a giveaway before it ends: nobody wins, and its post says it was cancelled. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Community in the palette.
When to use it
Use it for community features: stop a giveaway before it ends: nobody wins, and its post says it was cancelled.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Giveaway Message
-
The giveaway's message: wire in Message from Start a giveaway, or paste its link.
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 527 more
- Say Text
-
What the giveaway's post says instead, like Cancelled: the prize sold out. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses This giveaway was cancelled..
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Cancelled Yes / no
-
False when it had already ended or been cancelled. 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 572 more