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.
Este exercício faz parte do curso
Intermediate Workflow Automation with n8n
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
Começar o exercício