# Switch (/docs/workflows/reference/category/controlFlow/switch)

> For the complete documentation index, see [llms.txt](https://docs.tandemcx.ai/llms.txt). Any page on this site can be fetched as Markdown by appending `.md` to its URL.

Evaluates a variable against a list of conditions and routes to the matching exit path. Similar to a switch/case statement.

Matches a value against a list of named evaluations and routes to the exit for the first one that matches — like a switch/case statement. Each evaluation names an exit, an operator, and a value to compare against, and can optionally ignore case for text comparisons. Reach for Switch when one value selects among several discrete paths; for a simple true/false test, use a Condition node instead.

**Category:** Control Flow  
**Provider:** Core  
**Latest version:** 1.0.0

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| Value (`value`) | string | Yes | Value to be compared against. Example: `$(example)` |
| Evaluations (`evaluations`) | dynamic array of fields with options | Yes | Conditions to evaluate against the value. Each evaluation compares the value using an operator and routes to a named exit if matched. |
| Ignore Case (`ignoreCase`) | boolean | No | If true, all conditions will be case insensitive. |

## Exits

- `default` (required)
- `invalidInput` (system)
- `fallback` (system)

System exits (auto-injected, hidden when unwired): `invalidInput`, `fallback`.
