# Generate personalized marketing emails from Google Sheets: n8n workflow

> Started by a change in a Google Sheet, and works across Gmail and Google Sheets. It hands the judgement calls to a local model.

Source: https://millionrounds.com/workflow/generate-personalized-marketing-emails-from-google-sheets (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Generate personalized marketing emails from Google Sheets

Started by a change in a Google Sheet, and works across Gmail and Google Sheets. It hands the judgement calls to a local model. 6 steps: small enough to read in one sitting and change without fear.

Small Calls a model: a local model

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-personalized-marketing-emails-from-google-sheets)

**6 steps** Small: readable in one sitting

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 1 Service 2

The steps in the order they run, from what starts it.

- 1 **Llama 3.2 - Promo Content Model** Lm Chat Ollama *Model*
- 2 **Track Offer Sheet Updates (Sheet 1)** Google Sheets trigger *Starts it*
- 3 **Generate Marketing Content with AI** Agent *Model*
- 4 **Fetch Client List (Sheet 2)** Google Sheets *Service*
- 5 **Format Personalized Email** Code *Logic*
- 6 **Send Marketing Email to Client** Gmail *Service*

## How it's built

- **Starts on:** A change in a Google Sheet
- **Steps:** 6
- **Size:** Small: readable in one sitting
- **Connects to:** Gmail, Google Sheets
- **Model:** a local model

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for a local model. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a change in a Google Sheet.

Does it use AI?

Yes. It calls a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Not long. At 6 steps it can be read in one sitting and changed without fear.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 6 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-personalized-marketing-emails-from-google-sheets)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**AI chatbot with Google Sheets** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-chatbot-with-google-sheets)
- [**AI powered web scraping with Jina and Google Sheets** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-web-scraping-with-jina-and-google-sheets)
- [**AI-powered degree audit system with Google Sheets and OpenAI** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-degree-audit-system-with-google-sheets-and-openai)
- [**Analyze real estate investment potential: Zillow properties** 6 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/analyze-real-estate-investment-potential-zillow-properties)
- [**Auto-Update job application status from Gmail to Google Sheets** 6 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/auto-update-job-application-status-from-gmail-to-google-shee)
- [**Automatic mail pusher by harish_r with OpenAI and Gmail** 6 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automatic-mail-pusher-by-harish-r-with-openai-and-gmail)
