Skip to product information

Apify + Gemini Cold Email Drafts to Gmail (n8n Workflow)

Apify + Gemini Cold Email Drafts to Gmail (n8n Workflow)

 (200+Reviews)
Regular price £6.99
Regular price £6.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Apify + Gemini Cold Email Drafts to Gmail (n8n Workflow)

Apify + Gemini Cold Email Drafts to Gmail (n8n Workflow)

Regular price £6.99
Regular price £6.99 Sale price
SAVE Sold out

Turn Apify leads into Gmail cold email drafts with Google Gemini (in n8n)

Get an n8n workflow that automatically pulls lead emails from an Apify dataset, uses Google Gemini to write personalized cold email subject + body, and then creates a ready-to-review draft in Gmail for each lead.

What this workflow does

  • Receives an Apify dataset webhook via a POST webhook that includes a run/dataset details object with resource.defaultDatasetId.
  • Fetches dataset items from the Apify API using your Apify API token and the provided dataset ID.
  • Filters for valid leads, keeping only items that include an emails field.
  • Generates cold email content with Google Gemini by sending lead details (company name, website, and location) to Gemini and requesting structured output (JSON with subject and body).
  • Parses Gemini’s JSON output into usable fields for the email subject and body.
  • Creates a Gmail draft using the generated subject and email body (via your configured Gmail OAuth2 connection).

Use cases

  • Run lead-generation with Apify, then auto-draft outreach emails in Gmail for sales prospecting.
  • For SaaS operators, continuously convert scraped leads into personalized cold email drafts without manual copywriting.
  • For automation engineers, connect Apify → Gemini → Gmail using an n8n workflow that’s easy to trigger on new dataset runs.

Technical details

  • n8n nodes / components: Webhook, HTTP Request, Filter, Set, Gmail, and n8n-nodes-langchain Google Gemini.
  • Integrations: Apify API (dataset items), Google Gemini (email generation in JSON), Gmail OAuth2 (create draft).
  • Setup highlights: add Apify bearer token, configure Gemini credentials and model ID, and connect Gmail with permission to create drafts.
View full details