Templates / Send personalized B2B cold outreach emails with Google Gemini and Gmail

Send personalized B2B cold outreach emails with Google Gemini and Gmail

Ready for 3.0

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 238 views · created 2026-05-30 · Lead Nurturing, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on a schedule (every minute). Along the way it connects Google Gemini Chat Model and Gmail.

How it runs

Trigger: On a schedule (every minute).

  1. Set Context (Edit Fields (Set)): sets 7 fields: sender_company_name, sender_company_solution, sender_name…
  2. Get Pending Leads (Data table): get many
  3. Validate Email Format (If): checks a condition and branches into true / false
  4. Fetch Lead Website (HTTP Request): calls an HTTP API
  5. Mark as INVALID_EMAIL (Data table): create or update
  6. Strip HTML Tags (Code): runs custom JavaScript code
  7. AI Outreach Writer (AI Agent): runs an AI agent, with model: Google Gemini Flash; output parser: Parse Email JSON
  8. Send Outreach Email (Gmail): uses Gmail
  9. Mark as SENT (Data table): create or update
  10. Rate Limit Wait (Wait): pauses before continuing

Services it uses

Google Gemini Chat ModelGmail

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.

Nodes used (11)

From the author

Quick overview This workflow runs on a schedule to pull leads from an n8n Data Table, fetches and cleans each lead’s website content, uses Google Gemini to draft a personalized cold outreach email in structured JSON, sends it via Gmail, and updates the lead…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'s description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.