Wire up a sub-workflow
You've inherited an order-routing workflow where the same Edit Fields logic was copy-pasted into both branches of an If node. That duplication makes every change twice as risky and clutters the canvas. It's time to refactor.
You'll import two starter files — a main workflow with duplicated processing nodes and a sub-workflow with the shared logic. You'll delete the duplicated nodes and replace them with Execute Sub-workflow calls on each branch, creating a single source of truth for the processing logic.
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