Templates / Generate personalized promotion emails with GPT-5 and Gmail context analysis

Generate personalized promotion emails with GPT-5 and Gmail context analysis

Ready for 3.0

by Václav Čikl ✓ · 131 views · created 2025-09-23 · Lead Nurturing, AI Chatbot

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 19 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Gmail, OpenAI Chat Model and Google Sheets.

How it runs

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

  1. Contacts (Read/Write Files from Disk): reads a file from disk
  2. AutomatizationHelper (Google Sheets): uses Google Sheets
  3. Extract from File: extracts data from a file
  4. MatchingByLanguage (Merge): merges the data from its input branches
  5. Filter: keeps only the items that match a condition
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. PreviousMessagesByContact (Gmail): uses Gmail
  8. If: checks a condition and branches into true / false
  9. ConvertToText (Code): runs custom JavaScript code
  10. Default (Code): runs custom JavaScript code

…plus 4 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle Sheets

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

From the author

Description: This sophisticated workflow automates personalized email campaigns for musicians and band managers. The system processes contact databases, analyzes previous Gmail conversation history, and uses AI to generate contextually appropriate emails…

Excerpt from Václav Čikl'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.