Lead Generation Agent: AI-Powered Lead Scraping & Cold Emails

Automates lead discovery by scraping business data with Apify, extracting emails via Google Gemini, storing in Google Sheets, generating personalized cold emails with OpenAI, and sending via Gmail.

n8n
Lead Generation Agent: AI-Powered Lead Scraping & Cold Emails

This workflow is designed for digital marketing agencies and sales teams to streamline lead generation. Triggered by a simple form submission specifying business type, location, lead count, and email tone, it scrapes comprehensive business data—including company name, website, phone, address, and category—using Apify. Google Gemini AI then intelligently extracts the best email addresses from each website, ensuring high-quality contacts.

Leads are automatically stored in Google Sheets for easy tracking. OpenAI generates tailored cold email content with customizable tones (Friendly, Professional, Simple), including subject and body personalized to the prospect. Emails are sent directly via Gmail, and the sheet is updated with send status and timestamps for full visibility.

Benefits include massive time savings on manual research, higher response rates from AI-personalized outreach, and scalable lead gen without hiring. Use cases: agencies targeting niches by location, sales teams building pipelines, or solopreneurs automating prospecting. Customize prompts, add filters (e.g., verified emails only), or extend sheets for follow-ups.

$24.99
Last updated November 14, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Media & Entertainment workflows

More from BestWorkflows

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.