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.
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