Overview
How might we design conditional logic & branching so people can trust and act on AI output?
When to use
- Ideal for automation platforms, workflow tools, and integration systems where conditional branching enables intelligent, adaptive automation workflows.
When to skip
- Single-step prompts with no branching need.
- Flows so complex that a visual graph becomes unmaintainable. Split into subflows.
- High-stakes decisions that still need a human gate at every branch.
Rules
Hidden branches that fire with no preview in the builder.
Conditions written only in code with no readable summary.
Infinite loops with no max-iteration guard.
Branch labels that do not match the actual predicate.
Evidence
| Product | Implementation |
|---|---|
| Zapier | Paths and filters that branch automations on field values. |
| Make | Routers and conditional modules in scenario graphs. |
| n8n | IF and Switch nodes in workflow canvases. |
| IFTTT | Simple conditional applets for consumer automations. |