Conditions
What this page is — the Conditions tab on a workflow step: a rule that lets the step run only when a value matches, what each operator compares, and what happens to a step that is skipped and to the steps after it.
What it is for — one workflow that adapts to the answers it is given, instead of three nearly identical workflows for three situations.
The problem it solves — without conditions, every step runs every time. A Human review step meant for large jobs stops small ones too, an email meant for new clients goes to existing ones, and AI credits are spent on steps whose result nobody needs.
Route: /org/ai-workflow-build/<id>/edit → a step → Conditions tab ·
Permission: Change your organisation's workflows: input form, steps, wiring, conditions and loops.
1. What a condition does
A condition is a single test attached to one step: run this step only if a value compares in a certain way with something you type. It is checked at the moment the run reaches the step, so it can use the form's answers, the project, and the results of the steps that ran before it.
| The test is | The step |
|---|---|
| True | Runs as normal |
| False | Is skipped. It shows as Skipped on the run's timeline, makes no AI call and costs nothing. The run moves on to the next step |
There is no "else". To do one thing or another, give two steps opposite conditions.
2. Why you would use it
- Review only what needs review. Pause for the director only when the budget band is the largest.
- Branch on an answer. One step writes for a first visit, another for a handover; the visit type decides which runs.
- Skip work that would be wasted. Do not translate when the language chosen is English.
- Save credits. A skipped AI step is not charged.
3. Setting one up
- Open the step and choose Conditions on the tab rail.
- Tick Conditional Execution. Three fields appear.
- Variable — pick the value to test with the same picker as the Wiring tab: an input-form answer, a project or organisation value, an earlier step's result, or a custom value. See Wiring and variables.
- Operator — choose how to compare (section 4).
- Value — type what to compare with.
- Press Save Changes.
Untick Conditional Execution to remove the condition; the step then always runs.
4. Field reference — the operators
| Operator (as listed) | Runs the step when | Example |
|---|---|---|
| Equals | The value is exactly the text typed | Visit type Equals Handover |
| Does Not Equal | The value is anything other than the text typed | Language Does Not Equal English |
| Contains | The text typed appears anywhere in the value | Services Contains Lighting |
| GreaterThan (>) | The value sorts after the text typed | Visit date GreaterThan (>) 2026-12-31 |
| LessThan (<) | The value sorts before the text typed | Visit date LessThan (<) 2027-01-01 |
How the comparison works:
| Rule | What it means for you |
|---|---|
| Comparisons are exact, including capitals | handover does not equal Handover. Copy select options exactly as they were added |
| Greater and less compare as text, character by character | Dates written year-month-day compare correctly. Plain numbers of different lengths do not: 9 counts as greater than 10. Compare numbers with the same number of digits, or ask with a select field instead |
| A multi-choice answer is a list | Use Contains to ask whether one option was picked |
| A blank form field is an empty value | Does Not Equal with an empty Value runs the step only when the field was filled in |
| A value that does not exist at all (for example, the result of a step that was skipped) matches nothing | Equals and Contains are false, so the step is skipped; Does Not Equal is true, so it runs |
There is no "does not contain" in the list. Use Does Not Equal when the whole value is known, or turn the logic round: put Contains on the step for the other case.
5. Skipped steps and the steps after them
A skipped step produces no result. Any later step wired to it, such as {{steps.2.translated}}, gets
no value from it — the AI step works without that text, and a utility saving it may save nothing.
Check does not warn about this, because whether a step is skipped is only known during a run.
Plan for it in one of these ways:
| Approach | When to use it |
|---|---|
| Give the dependent steps the same condition | The later steps only make sense if the first one ran |
| Wire the later step to something that always exists | For example, the original form answer instead of the translation |
| Use two branches that each finish the job | A step for each case, each followed by its own save step with the same condition |
| Write the persona's instructions to cope with an empty value | "If no translation is given, use the original text" |
6. Conditions with other step settings
| Setting | How it combines |
|---|---|
| Step disabled (the switch on the step card) | A disabled step never runs, whatever its condition |
| Human review | A skipped review step does not pause the run |
| Steps inside a loop | The condition is not applied: a step inside a loop runs on every pass. To vary behaviour per pass, put the logic in the persona's instructions using {{loop.item}} — see Loops |
| Duplicate | A copy keeps every condition |
| Read-only viewer | Conditions are not shown there; open the workflow in the builder to see them |
7. Worked example: review only the big jobs
Riverside Interiors' Client Proposal workflow asks for a Budget band with three options:
Under 10,000, 10,000 to 50,000 and Over 50,000. The design director wants to review only the
largest.
- Open the Director review step › Conditions. Tick Conditional Execution.
- Variable:
[Single_select - Input] Budget band, which writes{{inputs.budget_band}}. - Operator Equals, Value
Over 50,000— copied from the option, comma included. - Save. A designer runs it for a small kitchen job: the timeline shows Director review as Skipped and the run completes without waiting. For a whole-house job the run pauses for review.
Later she adds a Send to client utility step after the review that uses the draft from step 1. Because the draft always exists, the new step needs no condition. Had it used the reviewer's edited version, she would have given it the same condition as the review.
8. Before this works
| Requirement | Without it |
|---|---|
| Change your organisation's workflows: input form, steps, wiring, conditions and loops. | The Conditions tab is read-only |
| The value you test exists before the step | A condition on a later step's result never matches |
| Select fields with fixed options | Free-text answers rarely match exactly |
| The step on the main sequence | Inside a loop, conditions are not applied |
9. Don't confuse this with…
| This | Is not |
|---|---|
| A step condition | Conditional Visibility on an input field, which only hides a question on the form — see Input form |
| A skipped step | A disabled step. Disabled is decided in the builder and applies to every run; skipped is decided per run |
| A skipped step | A failed step. A failure pauses the run for recovery; a skip does not — see Monitor a run |
10. Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The step is always skipped | Capitals or spacing differ from the answer, or the variable points at a step that runs later | Copy the option exactly; check the variable's step number |
| The step always runs | The condition is on a step inside a loop, or Conditional Execution was not saved | Move the step out of the loop, or save |
| GreaterThan (>) gives the wrong answer for numbers | Numbers are compared as text | Pad to the same number of digits, or use a select field |
| A later step produced output with a gap | The step it was wired to was skipped | Give it the same condition, or wire it to a value that always exists |
| A multi-choice test never matches with Equals | The answer is a list | Use Contains |