Automate Personalized Cold Email Sequences with GPT-4, Mailgun and Supabase

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

Description

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

AI-Powered Cold Email Sequence Workflow for n8n

Unlock advanced cold email automation and boost your outbound results with this robust n8n workflow, engineered for scale, personalization, and flexibility. Harness AI-driven email content, dynamic lead handling, and intelligent scheduling—without writing code.

What’s Inside

Intelligent Multi-Step Email Outreach

Automate 3-step cold email sequences for every prospect—all fully personalized and contextually adapted through AI research and copy generation. Each contact receives tailored, timely emails designed to maximize engagement and reply rates.

Automated Personalization at Scale

For every new lead, the workflow:
Researches company and role context** using AI
Identifies key pain points** and crafts custom hooks
Builds multi-language, well-formatted HTML emails** with a consistent, brand-aligned tone

This produces authentic, individualized communication—far more effective than generic mail merges.

Advanced Scheduling & Delivery Logic

Smart scheduling**: Sends distributed across optimal days/hours (configurable for your market)
Throttled delivery**: Drip batching and dynamic waits to preserve deliverability
Automated follow-ups**: Gentle, contextual nudges at precise intervals if there’s no reply

Lead Management & Expansion

Seamless database integration**: Email history, logic, and lead data fully synchronized with your backend (Supabase support included)
Integrated lead generation**: Suite includes a companion workflow for sourcing, deduplicating, and enriching leads using Apollo, GPT-4, and AI—feeds directly into your campaign pipeline

Built for Reliability and Scale

Resilient against errors and duplicate sends
Multi-sender rotation** for reputation management
Easily customizable scheduling, content, languages, and batch size
Tracks all critical data fields, like send history and reply status

Use Cases

B2B Sales Development**
Automated Candidate Outreach (Recruitment)**
Newsletter or Event Drip Campaigns**
Startup Go-to-Market Sequences**
Agency Lead Generation**

Template Highlights

AI-Powered Personalization**: Cold emails crafted by GPT-4 and prompt engineering
Omnichannel Scheduling**: Dynamic batching, throttling, sender rotation
Works Out-of-the-Box**: Connects to Mailgun, OpenAI, Supabase—simply insert credentials and leads
Companion Lead Gen Workflow: Includes Apollo–AI–database pipeline for continuous sourcing that you can acces **for free in my profile.
Flexible & Modular**: Adapt language, schedule, templates, or trigger events as your strategy evolves

Best Practice Features

No PII or sensitive data embedded—safe for corporate teams
Modular zones for sequence creation, delivery, and tracking—clarity and easy expansion
Clearly-named nodes and logical flows, following n8n community standards
Robust error handling for high deliverability and low maintenance

Experience end-to-end intelligent email automation—powered by n8n, trusted integrations, and state-of-the-art AI. Both the cold outreach workflow and the lead generation template are included. Discover, engage, and convert—at scale.

Nodes Used (10)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
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