Error Handling Functions

Handle errors gracefully in your flows.

FunctionDescription
If ErrorTry/Catch — run actions, if error occurs run alternative actions
Return ErrorThrow an error and stop the flow
Return Error IfThrow an error if a condition is true

Example: Safe API Call

Try API Call with Error Handling

If API call fails, send error notification

Error Handling

If Error

Try
→ API Connector Post
Catch
→ Send Error Message

If Error

Creates two zones: Try and Catch. Actions in Try execute normally. If any action in Try fails, execution jumps to the Catch zone.

Drag actions into each zone. The Catch zone receives the error details.

Return Error

Immediately stops the flow with an error status and custom error message.

Inputs: error message (string)

Return Error If

Conditionally stops the flow with an error. Evaluates a condition — if true, throws the error.

Inputs: value A, operator, value B, error message