Transform your agency's lead generation from manual prospecting to fully automated outreach with this comprehensive n8n workflow. This powerful automation discovers qualified business leads, extracts contact information, and delivers personalized cold emails—all triggered by a single form submission. What this workflow does The automated lead generation process begins when someone submits the Lead Machine Form, then systematically executes these steps: Scrapes comprehensive business data including company names, websites, phone numbers, addresses, and categories using Apify based on your specified business type and location criteria Extracts optimal email addresses from each business website using Google Gemini AI for intelligent contact discovery Stores validated leads directly into Google Sheets for organized lead management Generates compelling cold email content with AI-powered subject lines and body text using OpenAI, customizable for Friendly, Professional, or Simple tones Automatically sends personalized cold emails through Gmail integration Updates spreadsheets with delivery status and timestamps for complete campaign tracking Use cases Digital marketing agencies scaling client acquisition across specific industries and geographic markets Sales teams automating prospecting workflows for consistent lead generation and outreach Service providers targeting local businesses with location-based lead discovery B2B companies requiring systematic cold email campaigns with automated follow-up tracking Technical details This n8n workflow leverages multiple powerful integrations: Form trigger with customizable fields for business type, location, lead quantity, and email style preferences Apify API integration for comprehensive business data scraping Google Gemini AI for intelligent email extraction from websites Google Sheets for lead storage and campaign management OpenAI integration for dynamic cold email content generation Gmail automation for reliable email delivery Built-in conditional logic using if, set, filter, and wait nodes for robust workflow control