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

# If / Else

> Send a value down a true or false branch based on a natural-language condition.

If / Else is an LLM-powered conditional branch. It evaluates a natural-language condition and routes the input value to either the true or false output. The value flows through unchanged; the model only decides the route. Both outputs inherit their type from the input, so downstream nodes receive the same data type.

## When to use

* Filter generated images so only on-brand ones continue downstream
* Gate a workflow on a quality check before an expensive step runs
* Route user input to different handlers by topic
* Drop items that don't match a natural-language rule

## Inputs

<ParamField body="Input" type="dynamic" required>
  The value to route. Required. Its type determines the type of both output ports.
</ParamField>

<ParamField body="Evaluation context" type="any">
  Extra context the model may consider when evaluating the condition: text, images, or any mix. This context is not routed. Optional, accepts multiple inputs and an array.
</ParamField>

## Outputs

<ParamField body="True" type="dynamic">
  Receives the input value when the condition is met.
</ParamField>

<ParamField body="False" type="dynamic">
  Receives the input value when the condition is not met.
</ParamField>

## Configuration

<ParamField body="condition" type="string" default="">
  The natural-language rule the model evaluates against the input. Required.
</ParamField>

<Note>
  If / Else runs on a selectable model (default Gemini 2.5 Flash) to evaluate the condition and consumes credits when it runs.
</Note>
