# Qualify leads from Gemini chat to Google Sheets and Slack: n8n workflow

> Started by someone opening a chat with it, and works across Google Sheets and Slack. It puts Gemini behind a retrieval step, so answers are drawn from...

Source: https://millionrounds.com/workflow/qualify-leads-from-gemini-chat-to-google-sheets-and-slack (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)

# Qualify leads from Gemini chat to Google Sheets and Slack

Started by someone opening a chat with it, and works across Google Sheets and Slack. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 18 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fqualify-leads-from-gemini-chat-to-google-sheets-and-slack)

**18 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 3 Model 6 Logic 4 Service 5

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

- 1 **Chat Logic Brain** Lm Chat Google Gemini *Model*
- 2 **Chat Session Memory** Memory Buffer Window *Model*
- 3 **Lead Chat Trigger** Chat trigger *Starts it*
- 4 **Audit Analyst Brain** Lm Chat Google Gemini *Model*
- 5 **Daily Performance Audit Trigger** Schedule trigger *Starts it*
- 6 **Qualify Lead Conversationally** Agent *Model*
- 7 **AI Council: Strategist** Chain Llm *Model*
- 8 **Audit Lead Performance** Agent *Model*
- 9 **Fetch Historical Lead Data** Google Sheets *Service*
- 10 **Extract Lead State** Code *Logic*
- 11 **Send Response to Chat Interface** Respond To Webhook *Starts it*
- 12 **Is High ROI?** If *Logic*
- 13 **Send Optimization Report** Slack *Service*
- 14 **Check if Lead is Qualified** Filter *Logic*
- 15 **Log Lead to Spreadsheet** Google Sheets *Service*
- 16 **Notify Sales of Hot Lead** Slack *Service*
- 17 **Log Strategy to Backup** Google Sheets *Service*
- 18 **Scoring Logic** Code *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 18, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Google Sheets, Slack
- **Model:** Gemini
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

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

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 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%2Fqualify-leads-from-gemini-chat-to-google-sheets-and-slack)
- **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.

[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 lead gen & personalized email agent with Sheets and Apify** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-lead-gen-and-personalized-email-agent-with-sheets-and-api)
- [**AI-powered lead research & personalized email generation** 18 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-lead-research-and-personalized-email-generation)
- [**Automate B2B lead generation & personalized cold emails** 18 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/automate-b2b-lead-generation-and-personalized-cold-emails)
- [**Automated lead capture & AI-personalized audio follow-up** 18 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automated-lead-capture-and-ai-personalized-audio-follow-up)
- [**Create AI personalized video & voice outreach with HeyGen** 18 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/create-ai-personalized-video-and-voice-outreach-with-heygen)
- [**Draft personalized cold emails from Google Sheets with Gemini** 18 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/draft-personalized-cold-emails-from-google-sheets-with-gemin)
