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

# Add conditionals to Workflows

> Direct a Workflow down different paths based on variable values

Conditionals are decision points within your Workflow that direct the Workflow down different paths based on variable values.

Use a Conditional if a Workflow must operate differently depending on an input or a value generated in a previous step. For example, route workflows to trigger different prompts based on specific user input.

## Add a Conditional

Click the **+** icon in the Workflow Builder and select **Conditional**. Alternatively, drag **Conditional** from the node selection menu into the workflow.

![Workflow Builder node picker with the Conditional option highlighted under Logic](https://mintcdn.com/profound-37face47/LU_swtbqvG5kIsMS/images/agents/how-tos/add-conditionals-1.png?fit=max\&auto=format\&n=LU_swtbqvG5kIsMS\&q=85\&s=02d6096eeed2d778b4ff356400c7842c)

Conditionals require you to define a condition using a comparison expression (for example: equals, greater than, less than, or contains). If the condition evaluates as true, the Workflow follows the **If true** branch. If not, it follows the **If false** branch.

![Workflow Builder with a Conditional node showing If true and If false branches and the condition settings panel](https://mintcdn.com/profound-37face47/LU_swtbqvG5kIsMS/images/agents/how-tos/add-conditionals-2.png?fit=max\&auto=format\&n=LU_swtbqvG5kIsMS\&q=85\&s=b2f8d6fd68068dc707dfecb656d16d94)

Each branch can contain its own sequence of steps.

## Configure conditions

When configuring a Conditional, select:

* The variable to evaluate
* The evaluation operator (equals, greater than, less than, and so on)
* The value to compare it against

Select **Add condition** to add multiple conditions to the same branch. Multiple conditions can be combined using **AND** (all conditions must be true) or **OR** (at least one condition must be true). The Workflow follows the **If true** branch when the combined conditions are true.

![Conditional node settings with two number conditions joined by AND and the Add condition button highlighted](https://mintcdn.com/profound-37face47/LU_swtbqvG5kIsMS/images/agents/how-tos/add-conditionals-3.png?fit=max\&auto=format\&n=LU_swtbqvG5kIsMS\&q=85\&s=6c7e2d049f05dbec70914ec87ec6eb3f)

If the conditions are not satisfied, the Workflow automatically follows the **If false** branch.

## Conditional branch requirements

There are several requirements to ensure a Workflow executes as expected:

* The variable used in a condition must exist and must be created in a previous step
* Both branches must ultimately lead to an **End** step to complete the Workflow run
* The evaluation operator must align with the input variable type:
  * Numerical operators only work with numeric values. For example, **greater than** will not work on a string such as "Best AEO Tools"
  * String operators only work on text strings. For example, **contains** will not work on a numeric value of 126
