Day 5 - AI Sales Automation: Creating Sub-Workflows in n8n Step-by-Step

If you want to learn:


How do you build a complete AI sales agent with n8n that automates lead generation and qualification?

What are the best practices for implementing sub-agents in your AI workflow automation?

How can you integrate AI-powered sales automation with CRM platforms like Pipedrive?

What is context engineering and why is it critical for building effective AI agents?

How do you transform manual sales processes into scalable, automated workflows using n8n?

What are the common pitfalls to avoid when building AI sales agents for B2B lead generation?


Then this lecture is for you!



In this capstone finale, you'll complete the Business Development Manager Agent by integrating three sub-agents into a unified AI sales automation workflow. You'll learn how to convert sub-workflows into production-ready agents using n8n's "When executed by another workflow" trigger, properly configure input schemas for seamless data flow, and implement best practices like sticky notes for workflow documentation. The lecture covers critical context engineering principles, including when to use sub-agents versus giving your AI agent full autonomy, and how to avoid the "human trap" of over-architecting agent solutions. You'll transform the SDR sub-agent and RevOps sub-agent from manual triggers to automated sub-workflows that handle lead qualification, draft email generation, and Pipedrive CRM integration. This step-by-step tutorial demonstrates how to structure AI agents with clear business metrics, rigorous testing protocols, and scalable automation that generates qualified leads automatically. You'll master the technical implementation of publishing workflows, defining input data modes, and connecting AI-powered agents that automate lead enrichment and outreach—creating a complete platform for B2B lead generation that eliminates time-consuming manual processes and delivers data-driven results.