# If/then Decision

**If/then Decision Node** branches the graph. Success runs when the rules match; otherwise the failure branch.

  <ShotPlaceholder
    src="/assets/workflow-nodes/if-then.png"
    name="wn-if"
    alt="If then Decision Node All Any conditions"
    capture="If then Decision settings."
  />

## What you configure

- **All / Any** — Combine multiple conditions with **All** or **Any**.
- **Check this field** (required) — Pick a field or **Type manually**.
- **Field Type** — e.g. Text.
- **When it... (operator)** (required) — Comparison operator.

Use **+ Add Condition** for more rules. Empty field/operator blocks save (**Condition is required**).

## First setup

1. Add **If/then Decision Node** after a lookup that produces fields.
2. Set field + operator (+ value when shown).
3. Wire success and failure to different nodes.
4. **Save & go live**.

## Troubleshooting

**Field is required / Operator is required**

Finish every condition row. Prefer picking a field from the previous node over typing a name that does not exist.

## Next Steps

[Multiple Choice](https://docs.voicelogica.ai/workflow-nodes/multiple-choice/) - more than two named paths.  
[Filter Data](https://docs.voicelogica.ai/workflow-nodes/filter/) - filter/sort instead of branch.
