๐ง Route and merge conditional branches with If and Merge nodes
โก 0 views ยท ๐ง Miscellaneous
Description
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
- Runs when you manually
- Sets a boolean field named
val - Checks whether
valequalstrueand routes the - Creates branch-specific output data (one branch leaves the data
- Merges the two possible paths by outputting only the branch that was taken.12
- Ends without performing any external action.12 erg fger erge
Setup
- Set the desired value of the
valfield to control which branch is taken.12 rfg reg er g er rg e g e rg er g e gr e r ge r g e g e - Adjust the fields created in each branch to match the data you want to output.12 erfger
Requirements
- 12efvgergvregerg
Customization
- 12reg34eg
Additional info
12gf34gfew34g
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File