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

# Branch

> Choose a route by comparing values already available in the workflow.

Use **Branch** when the routing decision can be expressed as a comparison against known data. When text needs interpretation first, use a [Task with classification routing](https://docs.livefaces.ai/workflows/nodes/task.md).

## Configure

1. Bind the values the rules will inspect.
2. Add **Ordered branch rules**. Select an input, comparison, and comparison value for each rule.
3. Connect each rule's named outcome and the **Fallback** outcome.

Comparisons include equality, inequality, numeric ordering, membership, and existence. The first matching rule wins, so place more specific rules before broader ones.

## Outcomes

| Outcome | Meaning |
| - | - |
| Your rule outcomes | The first matching rule selected this route. |
| `fallback` | No rule matched. |

## Scenario: route an urgent support issue

Your application supplies a trusted `priority` input. Bind it to Branch and add a rule that compares it with `urgent`. Connect that rule's outcome to an urgent-response Conversation and connect `fallback` to standard support intake.

If priority must instead be inferred from what the participant says, classify the issue with Task before routing. Branch compares the resulting value without asking the participant another question.


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