Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error handling and fallback branches

Error handling determines what a workflow does when a node fails. Use it to stop processing, retry an operation, or return an alternative response.

Stop on failure

Open the node's Advanced Settings and review On Error.

Advanced On Error settings

Stop workflow ends the normal execution path when that node fails.

Inspect the node's error details after a failed run.

Node error details after a failure

Identify the underlying failure before deciding how the workflow should respond to it.

Add a fallback path

Set On Error to Fallback Branch when a failure needs a separate path.

Fallback Branch error setting

This exposes a failure connection but does not create the handling steps for you.

Connect the failure port to a response or recovery step and its output.

Failure port connected to handling steps

Make sure the connected nodes are enabled and provide an appropriate user-facing message.

Review the fallback result

Inspect a failed execution with the fallback connected.

Failed execution with the fallback path

A handled failure means the alternate path ran. It does not mean the original operation succeeded.

Expand the fallback Output and review its actual response.

Fallback Output response

Keep internal diagnostics separate from the information the user needs to continue.

Inspect a successful execution as well.

Successful execution using the normal path

The normal path should provide the result while the fallback path remains unused.

Configure retries

Review Retry on Failure, the retry count, and the interval.

Retry count and interval settings

Retries can repeat an operation, so account for side effects when the node changes external data.

Review the configuration

Review the normal and fallback connections after changing error settings.

Normal and fallback paths after configuration

Run the complete path to check the result users will receive.

Important behavior

Selecting Fallback Branch exposes a connection. You still need to add and configure the nodes that handle the failure.

A fallback response does not mean the original operation succeeded. Keep retries in mind when an operation changes external data.

Last updated

Was this helpful?