> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cassidyai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set fallback values

> Configure default values for Workflow actions so your automation continues running even when individual steps fail.

Some [Workflow](https://docs.cassidyai.com/workflows/overview.md) actions -- like scraping a webpage, looking up a LinkedIn profile, or calling an external API -- can fail due to bad data, network issues, or rate limits. Fallback values let you define a default output for these actions so the rest of your Workflow keeps running instead of stopping entirely.

## Configure a fallback value

**1. Open the action settings**

In the [Workflow editor](https://docs.cassidyai.com/workflows/building.md), click the action you want to protect. The settings sidebar opens.

**2. Expand Advanced Settings**

Scroll down to the **Advanced Settings** section in the sidebar.

**3. Enable continue on failure**

Toggle on **Continue workflow if this action fails?**. This allows the Workflow to proceed to the next action even if this one encounters an error.

**4. Enter a fallback value**

In the **Fallback Value** field that appears, type the default value that should be used when the action fails. Choose something descriptive that downstream steps can recognize:

* `"No website found"` for a Scrape Webpage action
* `"Profile unavailable"` for a LinkedIn lookup
* `"API error - no data"` for an external API call

![Advanced Settings section with Continue workflow if this action fails toggled on and Fallback Value field filled in](https://mintcdn.com/cassidy/MZZYXYVeCvthpwjt/images/workflows/fallback-advanced-settings.png?fit=max\&auto=format\&n=MZZYXYVeCvthpwjt\&q=85\&s=2b1092444f59b6978cb89336424c3e8c)

## Plan for fallback scenarios

Setting a fallback value is only half the solution -- you also need to account for it in your downstream steps.

**1. Check for the fallback in later actions**

In actions that reference the fallback-protected step's output, adjust your prompts to handle the fallback gracefully. For example, instruct the AI: *"If the website data says 'No website found', skip the website analysis section."*

![Action prompt referencing a fallback value with a conditional instruction](https://mintcdn.com/cassidy/MZZYXYVeCvthpwjt/images/workflows/fallback-prompt-reference.png?fit=max\&auto=format\&n=MZZYXYVeCvthpwjt\&q=85\&s=330e5bb22e11d8259a3416bc8f9120e6)

**2. Use Paths for conditional routing**

For more sophisticated handling, add a [Paths](https://docs.cassidyai.com/workflows/building.md#add-conditional-logic-with-paths) action after the fallback-protected step. Create one path for successful results and another for fallback values.

![Paths action with a No Website branch that routes when Scrape Webpage output equals the fallback value](https://mintcdn.com/cassidy/MZZYXYVeCvthpwjt/images/workflows/fallback-paths-routing.png?fit=max\&auto=format\&n=MZZYXYVeCvthpwjt\&q=85\&s=4f42594f8440a3834ebe7240dc92ebdf)

> [!TIP]
>
> Fallback values are useful for any action that depends on external data quality -- like web scraping, API calls, or profile lookups -- where the source may be unavailable or return unexpected results.

## Next steps

> [card] [Build a Workflow](https://docs.cassidyai.com/workflows/building.md)
>
> Learn about Paths, variables, and other Workflow building blocks.

> [card] [Hide actions from results](https://docs.cassidyai.com/workflows/advanced/hide-actions-from-results.md)
>
> Clean up your output by hiding intermediate steps from end users.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.