Elementium Sign in
Contents

Utility & web · Step

Fail with an error

Stop the run as failed with your own error, so it shows in the run log and starts When a flow fails.

Free plan debug.fail

In a flow

“When a button is clicked, fail with an error.”

Read a Google Sheet → If Rows found is 0 → Fail with an error: the sheet is empty.

What it does

Stop the run as failed with your own error, so it shows in the run log and starts When a flow fails. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Utility & web in the palette.

When to use it

Use it for odds and ends: stop the run as failed with your own error, so it shows in the run log and starts When a flow fails.

When not to

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

Typical wiring

Sockets: settings you can wire

Error Text

What went wrong, in the run log and for When a flow fails. 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, it uses Something wasn't right.

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

Only if Yes / no

Wire in a yes/no: it fails only when this is on. Unwired, it always fails.

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

If it's empty: Optional. Left alone, it's on.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Often next

Related in Utility & web

Wires and sockets · Data values · Plans