Settings · Step
Save setting
Save one of the server's own settings (a channel, role, number, text or on/off), for other flows to read.
settings.save
In a flow
“When a button is clicked, save setting.”
/setup tickets channel:#help → tickets_channel = #help
What it does
Save one of the server's own settings (a channel, role, number, text or on/off), for other flows to read. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Settings in the palette.
When to use it
Use it when the flow needs to: save one of the server's own settings (a channel, role, number, text or on/off), for other flows to read.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Channel Channel
-
With Kind = channel: the channel to save, like a command's channel option ({trigger.where.id}) or Where it happened. Empty: the channel here.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
- Role Role
-
With Kind = role: the role to save, like a command's role option.
What goes there: Type it in the side panel, or wire in a role. e.g. @Verified
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more
- Value Text
-
with Kind = number, text or on/off: what to save, like {trigger.amount}. On/off takes on, off, yes, no, true or false. 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, the step runs without it.
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
- Saved as Text
-
What it holds now, as text. e.g. #tickets
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 577 more
- Was Text
-
What it held before, empty if it was new. e.g. #help
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 577 more