I Updated to n8n V2 and All My Sub Workflows Broke (Here's The Fix)

I Updated to n8n V2 and All My Sub Workflows Broke (Here's The Fix)

Don’t miss out! Get FREE access to my Skool community — packed with resources, tools, and support to help you with Data, Machine Learning, and AI Automations! 📈 https://www.skool.com/data-and-ai 🚀 Hire me for Data Work: https://ryanandmattdatascience.com/da... 👨‍💻 Mentorships: https://ryanandmattdatascience.com/me... 📧 Email: [email protected] 🌐 Website & Blog: https://ryanandmattdatascience.com/ 🍿 WATCH NEXT n8n Playlist:    • How to Get Started with n8n (without feeli...   N8N just released version 2 with critical breaking changes affecting subworkflows. In this video, I walk through the two major updates you need to know about when using the Execute Workflow node and Call N8N Workflow tool. The biggest change is how subworkflows handle data—they now return data directly back to the parent workflow, populating either in the Execute Workflow node or within your AI agent when using the tool. I show you two real examples: first, a simple subworkflow node setup where data flows from parent to child workflow and back, and second, an AI agent implementation using the Call N8N Workflow tool for human-in-the-loop approval processes. I also cover the new requirement to publish subworkflows before they can be accessed, walking through the step-by-step process of publishing and unpublishing workflows. This version control feature works similarly to GitHub, letting you track changes with version names and descriptions. By the end of this tutorial, you'll understand exactly how to update your existing N8N workflows to work with version 2, avoid common errors with unpublished subworkflows, and implement human-in-the-loop AI guardrails using the new data return functionality. TIMESTAMPS 00:00 N8N Version 2 Breaking Changes Overview 01:12 How to Publish and Unpublish Workflows 03:47 Example 1: Call Subworkflow Node 05:42 How Data Returns to Main Workflow 06:02 Example 2: AI Agent with Human-in-the-Loop 07:14 Recap of Subworkflow Changes OTHER SOCIALS: Ryan’s LinkedIn:   / ryan-p-nolan   Matt’s LinkedIn:   / matt-payne-ceo   Twitter/X: https://x.com/RyanMattDS *This is an affiliate program. We receive a small portion of the final sale at no extra cost to you.