Logic · Step
One at a time
Let only one run through at a time for this name, like two clicks on one Claim button. The others see Got it off.
lock.take
In a flow
“When a button is clicked, one at a time.”
Claim clicked → One at a time claim-{message.id} → If Got it → …; else Reply: someone beat you.
What it does
Let only one run through at a time for this name, like two clicks on one Claim button. The others see Got it off. 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 Logic in the palette.
When to use it
Use it to decide what happens next: let only one run through at a time for this name, like two clicks on one Claim button. The others see Got it off.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Name Text
-
What it guards, like claim-{message.id}. Runs with the same name take turns.
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 claim.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Hold for (seconds) Number
-
The most it's held if the run forgets to let go, 1 to 600.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 30.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
Values it gives
- Got it Yes / no
-
On for the run that holds it. e.g. on
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