<aside>

Goal:

Automate cold email outreach by pulling leads and templates from Supabase, personalizing each email, and sending them via Gmail.

Problem:

Manual outreach is time-consuming, prone to errors, and lacks personalization when sending to multiple leads at scale.

Solution:

A fully automated n8n workflow that fetches leads, applies random templates, personalizes messages, sends emails, and logs the status back into Supabase.


Step 1: Trigger

Step 2: Get Leads Data

Step 3: Filter by Status

Step 4: Loop Over Items

Step 5: Get Email Templates

Step 6: Random Template Selection

Step 7: Merge Lead with Template

Step 8: Personalize Message

Step 9: Send Email

Step 10: Log Results

Step 11: Add Delay


Tools Used:

Impact:

🧠 Learnings:

</aside>


Screenshot 2025-08-31 150851.png

πŸ“‚ Download & Explore the Workflow:

Cold Email Campaign

View GitHub Repository :

Cold-Email-Campaign-Automation-Supabase-Gmail-n8n/Cold Email Campaign.github.json at main Β· AlvLeoAI/Cold-Email-Campaign-Automation-Supabase-Gmail-n8n