Starts when · Starts a flow
When a layout button is clicked
Someone clicked a named button or picked from a menu on a layout the flow sent (not a link, not one that runs its own flow).
events.layout_clicked
In a flow
“When a layout button is clicked, the steps wired after it run.”
When a layout button is clicked → If Button name is claim → Give role.
What it does
Someone clicked a named button or picked from a menu on a layout the flow sent (not a link, not one that runs its own flow). It starts a flow, and gives the steps after it values about what happened. It gives 7 values later steps can use. Find it under Starts when in the palette.
When to use it
Use it to start a flow when a layout button is clicked.
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 clicked Member
-
The member who clicked or picked. e.g. @Sam
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 channel the message is in. e.g. #general
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
- Button Text
-
The button or menu's full name, like item-3. e.g. item-3
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
- Button name Text
-
The name without its number, like item. e.g. item
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
- Number Number
-
The number at the end, like 3 for item-3; 0 for none. e.g. 3
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
- Choice Text
-
For a menu: the choice they picked. e.g. Red
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
- Message Message
-
The message with the button. 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