# If-Else

> Part of the NocoDB documentation (Workflows > Workflows > Nodes > Flow). Index of all pages: https://nocodb.com/llms.txt. Any docs page is available as Markdown by adding `.md` to its URL.

URL: https://nocodb.com/docs/workflows/nodes/flow-nodes/if-else
Last updated: 2026-10-03

Use the If-else node to create conditional branches in your NocoDB workflows.

Use the **If-else** node in NocoDB workflows to create conditional branches. The node evaluates a condition. If the condition is true, the workflow follows one path. If the condition is false, the workflow follows a different path.

<img alt="If-else Node" src={__img0} placeholder="blur" />

<AskNocoAI>
  <Prompt>
    When a [deal] is added, email [the sales lead] if [Amount] is over [10000], otherwise email [the rep]
  </Prompt>

  <Prompt>
    When a [ticket] is created, set [Priority] to [High] if [Plan] is [Enterprise]
  </Prompt>

  <Prompt>
    When [Status] changes, email [the Owner] only if [Due Date] has passed
  </Prompt>
</AskNocoAI>

### Configuration

* **Conditions**: Define the criteria that the node evaluates. You can use one or more conditions with logical operators (AND/OR). For complex conditions, you can also create filter-groups. The conditions can use data from previous nodes in the workflow.

A condition can use a **Single select** or **Multi select** field. Then the comparison operators match the field type. You do not type the comparison value as free text. You select it from the options of the field, which show as colored chips. To change between a **Static condition** (a fixed option) and a **Dynamic condition** (a value from an earlier step, as a `{{ }}` variable), click the gear icon on the condition.

### How it works

* The If-else node evaluates the defined conditions.
* If the conditions are true, the workflow follows the "True" branch.
* If the conditions are false, the workflow follows the "False" branch.

### Use cases

* Send different notifications based on record status
* Update records in different ways based on specific criteria
* Send tasks to different teams based on priority levels

## Availability

* Available on NocoDB Cloud (all plans) and licensed on-premise deployments.

---

## Related pages

- [Iterate](https://nocodb.com/docs/workflows/nodes/flow-nodes/iterate.md): Use the Iterate node in NocoDB workflows to process each item in a list one at a time.
- [Delay](https://nocodb.com/docs/workflows/nodes/flow-nodes/delay.md): Use the Delay node to pause NocoDB workflow execution for a specific duration.
- [Wait Until](https://nocodb.com/docs/workflows/nodes/flow-nodes/wait-until.md): Use the Wait Until node to pause a NocoDB workflow until a specific date and time.
