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.
Cet exercice fait partie du cours
Intermediate Workflow Automation with n8n
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice