Skip to main content

Generate cold email icebreakers and subject lines with Google Sheets and OpenAI

Workflow preview

Workflow preview
100%
Generate cold email icebreakers and subject lines with Google Sheets and OpenAI preview
Open on n8n.io

1. Workflow Overview

Email List Personalization Icebreaker & Subject Line Generator Reads an enriched lead list from Google Sheets, generates a personalized icebreaker + subject line for each lead using OpenAI, and wri...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.wait, n8n-nodes-base.googlesheets, n8n-nodes-base.filter, n8n-nodes-base.limit, n8n-nodes-base.splitinbatches, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.manualtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Devon Toh.

Original n8n.io source

1.1 Workflow description

Title
Generate cold email icebreakers and subject lines with Google Sheets and OpenAI
Workflow name
Generate cold email icebreakers and subject lines with Google Sheets and OpenAI

Email List Personalization - Icebreaker & Subject Line Generator

Reads an enriched lead list from Google Sheets, generates a personalized icebreaker + subject line for each lead using OpenAI, and writes results back to the same sheet -- ready for your email sequencer.


Who is this for?

SDRs, founders, and agency owners running cold outbound who want personalized first lines without spending 2-3 minutes per lead on manual research. Sits between your Apollo / Sales Nav export and Instantly / Smartlead / Lemlist.

What problem does this solve?

Generic cold emails get ignored. Writing unique icebreakers for 200+ leads/day is not realistic by hand. This workflow does it at ~$0.002/lead with GPT-4.1-mini -- spartan, human-sounding copy that references real prospect details.

How it works

  1. Read Lead Sheets from Google Sheets (enriched with LinkedIn data)
  2. Filter Empty Rows rows where icebreakers or subjectLine is empty (safe to re-run)
  3. Limit To 200 Leads batch to 200 leads per run
  4. Process One-By-One with an IF safety check before each API call
  5. Genrates Icebreaker a JSON response with few-shot examples locking the tone:
  • icebreaker -- spartan one-liner referencing their company/role/industry
  • subjectLine -- personalized with name + relevant hook
  • shortenedCompanyName -- strips "Agency", "Inc.", "LLC" for natural copy
  • verdict -- true for real people, false for company pages (filter before sending)
  1. Write Result To Sheet to the same row via row_number match key
  2. Rate Limit Delay between calls to avoid throttling

Setup

  1. Google Sheets -- Connect OAuth2 in both sheet nodes. Point to your lead spreadsheet.
  2. OpenAI -- Connect API key. Default: GPT-4.1-mini. Swap to GPT-4o for premium campaigns.
  3. Sheet columns needed: first_name, last_name, email, job_title, company, linkedin_industry, location, summary, linkedin_description, linkedin_specialities, linkedin_company_employee_count, linkedin_founded_year, icebreakers, subjectLine, row_number
  4. Customize the prompt -- Swap the few-shot examples in the OpenAI node to match your voice and offer.
  5. Test first -- Set Limit to 5, run manually, review output, then scale.

Customization tips

  • Trigger -- Replace Manual Trigger with Schedule or Google Drive Trigger for automation
  • Batch size -- Adjust the Limit node to match your daily send volume
  • Model -- GPT-4.1-mini ($0.002/lead) vs GPT-4o ($0.01/lead)

Built by Devon Toh

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Rate Limit Delay

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 2 - Write Results to Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Filter Empty Rows

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 4 - Limit to 200 Leads

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 5 - Read Lead Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Process One by One

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 7 - Needs Icebreaker?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Generate Icebreaker

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 9 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 10 - Main Description

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Section - Load

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Section - Generate

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Section - Save

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Warning

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate cold email icebreakers and subject lines with Google Sheets and OpenAI
Complexity intermediate
Nodes 14
Categories Lead Generation, AI Summarization
Author Devon Toh
Published 20 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14199/14199.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate cold email icebreakers and subject lines with Google Sheets and OpenAI do?

Email List Personalization Icebreaker & Subject Line Generator Reads an enriched lead list from Google Sheets, generates a personalized icebreaker + subject line for each lead using OpenAI, and wri...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.