Templates / Route and merge conditional branches with If and Merge nodes

Route and merge conditional branches with If and Merge nodes

Ready for 3.0

by Anna · 0 views · created 2026-10-16 · Miscellaneous

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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”.

  1. Set Value Field (Edit Fields (Set)): sets 1 field: val
  2. Check Field Equality (If): checks a condition and branches into true / false
  3. Prepare Fields for Merge (Edit Fields (Set)): sets or maps fields
  4. Set 123 Field (Edit Fields (Set)): sets 1 field: 123
  5. 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)

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…

Excerpt from Anna's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.