Personalized cold email generator with Supabase, Smartlead & Google Gemini AI
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs on a schedule (every day). Along the way it connects Google Gemini Chat Model and Supabase.
How it runs
Trigger: On a schedule (every day).
- Get many rows (Supabase): get many
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Aggregate: combines items into one
- smatlead-create-campaign (HTTP Request): calls an HTTP API (POST)
- Basic LLM Chain: sends a prompt to an LLM, with model: Google Gemini Chat Model
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Update a row (Supabase): update
- smartlead-add-leads-to-campaign (HTTP Request): calls an HTTP API (POST)
- Aggregate: combines items into one
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Gemini + Supabase templates (66)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - If
n8n-nodes-base.if - Aggregate
n8n-nodes-base.aggregate - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Supabase
n8n-nodes-base.supabase
From the author
n8n Workflow: AI-Personalized Email Outreach (Smartlead) 🔄 Purpose This workflow automates cold email campaigns by: - Fetching leads - Generating hyper-personalized email content using AI - Sending emails via Smartlead API - Logging campaign activity into…