Templates / Clean company names for cold emails with GPT-4 Mini and Google Sheets

Clean company names for cold emails with GPT-4 Mini and Google Sheets

Ready for 3.0

by James Francis ✓ · 1,158 views · created 2025-07-03 · Lead Generation, AI Summarization

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 9 nodes and runs when someone submits an n8n form (“Clean Up Company Names”). Along the way it connects Google Sheets and OpenAI Chat Model.

How it runs

Trigger: When someone submits an n8n form (“Clean Up Company Names”).

  1. Create Destination Sheet (Google Sheets): create
  2. Get Leads (Google Sheets): uses Google Sheets
  3. Clean Company Name (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Merge: merges the data from its input branches
  5. Edit Fields (Edit Fields (Set)): sets 1 field: Clean Company Name
  6. Save Output (Google Sheets): append

Services it uses

Google SheetsOpenAI Chat Model

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

Overview In cold email campaigns, the lead's company name is the 2nd most frequently inserted variable after their first name. They're critical for effective cold email personalization. However, company names are often messy and can contain taglines, legal…

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