Templates / Generate personalized cold outreach emails with Apify, OpenAI, and Google Sheets

Generate personalized cold outreach emails with Apify, OpenAI, and Google Sheets

Ready for 3.0

by Matthew ✓ · 1,768 views · created 2025-07-17 · 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 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and OpenAI. It also calls api.apify.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Generate Page Numbers (Code): runs custom JavaScript code
  2. Loop over one by one (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Apollo Scraper (HTTP Request): calls api.apify.com (POST)
  4. Client data (Google Sheets): append
  5. Domain scrape (HTTP Request): calls an HTTP API
  6. Website HTML to Markdown (Markdown): converts between Markdown and HTML
  7. Summarising prospect data (OpenAI): uses OpenAI
  8. Creating detailed email (OpenAI): uses OpenAI
  9. Add email data to sheet (Google Sheets): append or update
  10. Increment Page Number (Code): runs custom JavaScript code

Services it uses

Google SheetsOpenAI

HTTP calls to: api.apify.com

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 (7)

From the author

Automated Cold Email Personalization This workflow automates the creation of highly personalized cold outreach emails by extracting lead data, scraping company websites, and leveraging AI to craft unique email components. This is ideal for sales teams,…

Excerpt from Matthew'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.