# Lead generator + email hunter with Gemini and Google Drive: n8n workflow

> Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/lead-generator-email-hunter-with-gemini-and-google-drive (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)

# Lead generator + email hunter with Gemini and Google Drive

Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini. 21 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flead-generator-email-hunter-with-gemini-and-google-drive)

**21 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 11 Service 6

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

- 1 **Webhook** Webhook *Starts it*
- 2 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Merge** Merge *Logic*
- 4 **Wrapping** Code *Logic*
- 5 **Extract query from Webhook** Code *Logic*
- 6 **Basic LLM Chain** Chain Llm *Model*
- 7 **Auditting** Http Request *Service*
- 8 **Limit to one** Set *Logic*
- 9 **Extract Relevant Results** Code *Logic*
- 10 **Formatting** Code *Logic*
- 11 **Create New Sheet** Google Sheets *Service*
- 12 **Formatting for Script** Code *Logic*
- 13 **make sheet public** Google Drive *Service*
- 14 **Email Script** Http Request *Service*
- 15 **SerpAPI Lead Scraper** Http Request *Service*
- 16 **Filtering RAW HTML** Code *Logic*
- 17 **Extract Business Leads** Function *Logic*
- 18 **Save Leads to CRM** Google Sheets *Service*
- 19 **Converting to Single JSON** Code *Logic*
- 20 **Build Sheet link** Code *Logic*
- 21 **Respond to Webhook** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 21
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets
- **Model:** Gemini

## Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

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 21 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%2Flead-generator-email-hunter-with-gemini-and-google-drive)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

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

- [**Enrich Company Data from LinkedIn with Bright Data** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/enrich-company-data-from-linkedin-with-bright-data)
- [**Find and qualify B2B leads with MrScraper and Gemini** 21 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/find-and-qualify-b2b-leads-with-mrscraper-and-gemini)
- [**Generate personalized cold email openers with Claude** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-personalized-cold-email-openers-with-claude)
- [**Qualify and route inbound leads with OpenAI and Google Sheets** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/qualify-and-route-inbound-leads-with-openai-and-google-sheet)
- [**Capture and nurture fraud-proof leads with Gmail** 21 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/capture-and-nurture-fraud-proof-leads-with-gmail)
- [**Unique QRcode coupon assignment** 21 steps · Email, Google Sheets](https://millionrounds.com/workflow/unique-qrcode-coupon-assignment)
