Automate personalized cold email sequences with GPT-4, Mailgun and Supabase
Needs changesWhat this workflow does
This AI workflow has 84 nodes and runs on Telegram events (plus 4 other triggers). Along the way it connects Mailgun, OpenAI, OpenAI Chat Model and Supabase and 3 more.
How it runs
Trigger: On Telegram events (plus 4 other triggers).
- Voice or Text (Switch): routes items into branches
- Get many rows (Supabase): uses Supabase
- Supabase: uses Supabase
- Supabase: uses Supabase
- Supabase: uses Supabase
- Download File (Telegram): uses Telegram
- Text (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
- Sort: sorts the items
- Evualute when the mail was sent (Code): runs custom JavaScript code
…plus 60 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in create email sequence (v1.9), Scraper agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) create email sequence (v1.9), Scraper agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (24)
- Limit
n8n-nodes-base.limit - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Mailgun
n8n-nodes-base.mailgun - OpenAI
@n8n/n8n-nodes-langchain.openAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - No Operation, do nothing
n8n-nodes-base.noOp - Supabase
n8n-nodes-base.supabase - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Sort
n8n-nodes-base.sort - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Telegram
n8n-nodes-base.telegram - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Postgres
n8n-nodes-base.postgres - Compare Datasets
n8n-nodes-base.compareDatasets - Telegram Trigger
n8n-nodes-base.telegramTrigger - Apify
@apify/n8n-nodes-apify.apify
From the author
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,…