🎓 Learn Workflow Logic with Merge, IF & Switch Operations
Ready for 3.0What this workflow does
This workflow has 15 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”.
- Create Parcel (Edit Fields (Set)): sets 4 fields: package_id, type, destination…
- Create 2nd Letter (Edit Fields (Set)): sets 3 fields: package_id, type, destination
- Create Letter (Edit Fields (Set)): sets 3 fields: package_id, type, destination
- 1. Merge Node (Merge): merges the data from its input branches
- 2. IF Node (If): checks a condition and branches into true / false
- Add 'Fragile' Handling (Edit Fields (Set)): sets 1 field: handling_instructions
- Add 'Standard' Handling (Edit Fields (Set)): sets 1 field: handling_instructions
- Re-group All Packages (Merge): merges the data from its input branches
- 3. Switch Node (Switch): routes items into 3 branches
- Send to London Bin (Edit Fields (Set)): sets 1 field: sorting_bin
…plus 3 more steps. See the full node list below.
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 (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if
From the author
How it works Ever wonder how to make your workflows smarter? How to handle different types of data in different ways? This template is a hands-on tutorial that teaches you the three most fundamental nodes for controlling the flow of your automations: Merge,…