Flow reference: Plugins

End Giveaway

End a running giveaway now and draw its winners (Giveaways plugin).

End a running giveaway now and draw its winners (Giveaways plugin).

When and how to use it

Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.

Configuration fields

Giveaway message ID or link — messageId


Use the ID of the specific message, not its text, author or channel ID. Keep the message's channel context consistent.

Input: Text with variable suggestions.

Default: {message_id}.

Outputs and next steps

out: Continue to the next step.
failed: The operation failed; provide a safe error response.

Test and troubleshoot

Install the corresponding plugin and configure its required accounts, channels and secrets. Test an API read before a write operation. An external-service error is not a reason to recreate the whole bot.

Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).