Route and merge conditional branches with If and Merge nodes
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 7 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Value Field (Edit Fields (Set)): sets 1 field: val
- Check Field Equality (If): checks a condition and branches into true / false
- Prepare Fields for Merge (Edit Fields (Set)): sets or maps fields
- Set 123 Field (Edit Fields (Set)): sets 1 field: 123
- Merge: merges the data from its input branches
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs manually in n8n, evaluates a boolean flag, routes execution down one of two branches, and then merges the chosen branch back into a single output.1343t4rgr3hg g45tg f g rt g e g 5 45 h 5h 5h 5 5h 45 h h 45 h 4 5 How it works…