Route orders to different sub-workflows
Different orders need different processing — high-value orders get a discount calculation while standard orders get tax applied. Instead of building both calculations inline, you'll route to specialized sub-workflows based on the order amount.
You'll import two pre-built calculator sub-workflows, create a new parent workflow with a Manual Trigger and pinned test data, then add an If node and two Execute Sub-workflow nodes so high-value orders route to the Discount Calculator and standard orders route to the Tax Calculator.
This exercise is part of the course
Intermediate Workflow Automation with n8n
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise