Conditions
A condition evaluates a rule and splits the flow into two paths. One path is for a true result, the other for a false result.
Set up a condition
Name: The name that the dashboard shows. Your visitors do not see it.
Key: The identifier for your application. You set it once and you cannot change it. Your visitors do not see it.
Branches
In the flow builder, a condition node has two output handles. The green handle, for a true result, leads to the path for a match. The red handle, for a false result, leads to the other path.
You can chain conditions. Connect the output of one condition to the input of another to build a decision tree.
API and MCP
You can also do this task with the Management API, the MCP server, or code that you send to picked_run.
| Task | GraphQL | MCP tool | Run |
|---|---|---|---|
| Create a condition | conditionCreate, experienceFlowUpdate | update_experience_flow | tools.update_experience_flow({ experience_id, workspace_id, create_conditions, create_nodes }) |
| Connect the true path and the false path | experienceFlowUpdate | update_experience_flow | tools.update_experience_flow({ experience_id, workspace_id, create_edges }) |
Related
-
About conditions and the logic engine — what a rule can read.
-
Condition builder — the data sources and the rule structure.
