# Automate lead response with Google Sheets and OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-lead-response-with-google-sheets-and-openai (Millionrounds; every figure on the page links to its filing or article)

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

# Automate lead response with Google Sheets and OpenAI

Started by a change in a Google Sheet, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI. 6 steps, 1 loop or waits: small enough to read in one sitting and change without fear.

Small Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-lead-response-with-google-sheets-and-openai)

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

**0** Branches: places the flow splits

**1** Loop or waits

**3** Services it connects to

## The flow

Starts it 1 Model 1 Logic 1 Service 3

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

- 1 **Google Sheets Trigger** Google Sheets trigger *Starts it*
- 2 **Wait** Wait *Logic*
- 3 **Create Email & Tag** Open Ai *Model*
- 4 **Send Email** Gmail *Service*
- 5 **Update Status** Google Sheets *Service*
- 6 **Notify Team** Slack *Service*

## How it's built

- **Starts on:** A change in a Google Sheet
- **Steps:** 6, 1 loop or waits
- **Size:** Small: readable in one sitting
- **Connects to:** Gmail, Google Sheets, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Slack accounts, and a key for OpenAI. 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 OpenAI. 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%2Fautomate-lead-response-with-google-sheets-and-openai)
- **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)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**AI-powered lead email classification & auto-reply with OpenAI** 6 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-powered-lead-email-classification-and-auto-reply-with-ope)
- [**Automate lead capture with Unipile and Google Sheets CRM** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-lead-capture-with-unipile-and-google-sheets-crm)
- [**Business card reader with OpenAI and Google Sheets** 6 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/business-card-reader-with-openai-and-google-sheets)
- [**Collect leads with Google Sheets** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/collect-leads-with-google-sheets)
- [**Conversational lead capture with Gemini and Google Sheets** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/conversational-lead-capture-with-gemini-and-google-sheets)
- [**Enrich B2B leads from website URLs with OpenAI** 6 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/enrich-b2b-leads-from-website-urls-with-openai)
