Complete B2B Sales Pipeline: Apollo Lead Gen, Mailgun Outreach & AI Reply Management

Go to Workflow
0 views
Built by Paul Paul
Created on June 05, 2026

Description

✉️ AI-Powered 3-Step B2B Pipeline — Lead Gen → Cold Outreach → AI Drafted Email Management

Automate your outbound workflow from prospecting to AI-generated reply drafts in Gmail — all fully integrated with your database.
Ideal for SDRs, founders, and growth agencies who want speed, personalization, and control without losing human review.


📌 Example: From a verified lead list to a qualified opportunity — fully tracked, classified, and pre-drafted with this automation.

🚀 What This Workflow Does

Step 1 — Lead Generation
Import leads from Apollo.
Enrich and verify emails.
Store results in Supabase/Postgres,

Step 2 — Cold Outreach
Send 3 step personalized sequences via Mailgun/SendGrid.
Track delivery, opens, replies, and bounces directly in your DB.

Step 3 — Email Management (AI Drafts)
Process only incoming Gmail messages from contacts in your DB.
Generate personalized reply drafts, label threads, update lead status, and alert your team via Slack/Telegram.

🔗 Integrated Services
Database:** Supabase/Postgres
Outbound Email:** Mailgun / SendGrid
Inbound Email & Drafts:** Gmail (OAuth2)
AI Models:** OpenAI / Anthropic (JSON mode for classification + drafting)
Alerts:** Slack / Telegram (optional)

💼 What You Get
Detailed setup guide
Fully connected 3-step pipeline in n8n
Ready-to-use database schema
Pre-built AI prompts for intent classification and professional replies

📥 Perfect For
SDR teams doing targeted outbound
Agencies managing multiple client campaigns
Founders building scalable outbound systems
Sales ops needing a no-risk, review-first reply process

💡 Why You’ll Love It
This isn’t just another outreach template — it’s a full sales engine.
From verified leads to AI-drafted replies, every action is logged, tracked, and controlled for maximum conversions without sacrificing oversight.

Nodes Used (12)

AI Agent
@n8n/n8n-nodes-langchain.agent
Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Mailgun
n8n-nodes-base.mailgun
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Postgres
n8n-nodes-base.postgres
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Supabase
n8n-nodes-base.supabase
Telegram
n8n-nodes-base.telegram