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

# Fallback

> Choose the first usable value from an ordered set of alternatives.

**Fallback** checks its **Try** inputs from top to bottom and returns the first
one that qualifies under the selected mode.

## Inputs

| Input    | Type           | Required | Description                           |
| -------- | -------------- | -------- | ------------------------------------- |
| **Try**  | Repeatable any | Yes      | Candidate values, checked in order.   |
| **Mode** | String         | Yes      | **Non-Null** (default) or **Truthy**. |

<Tabs>
  <Tab title="Non-Null">
    Skips only `null`. Values such as `false`, `0`, and empty text are valid
    results.
  </Tab>

  <Tab title="Truthy">
    Skips falsy values, including `null`, `false`, `0`, and empty text.
  </Tab>
</Tabs>

## Output

| Output    | Type | Description                            |
| --------- | ---- | -------------------------------------- |
| **Value** | Any  | The first qualifying value, or `null`. |

Use **Non-Null** for default values where `false` or `0` is meaningful. Use
**Truthy** only when those values should also fall through.
