Elementium Sign in
Contents

Messages · Step

Switch

Run the output whose case matches a value, or Default.

Free plan switch

In a flow

“When a button is clicked, switch.”

What it does

Run the output whose case matches a value, or Default. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Messages in the palette.

When to use it

Use it when the flow needs to run the output whose case matches a value, or Default.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Value Text needed

Takes text.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Often next

Related in Messages

Wires and sockets · Data values · Plans