# Automated lead generation & AI research with Apollo: n8n workflow

> Started by someone submitting a form, and works across Google Sheets and Slack. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/automated-lead-generation-and-ai-research-with-apollo (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)

# Automated lead generation & AI research with Apollo

Started by someone submitting a form, and works across Google Sheets and Slack. It hands the judgement calls to Gemini. 31 steps, 2 branches, 1 loop or waits: 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%2Fautomated-lead-generation-and-ai-research-with-apollo)

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

**2** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 6 Logic 10 Service 13

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

- 1 **Google Gemini Chat Model3** Lm Chat Google Gemini *Model*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **Schedule Trigger1** Schedule trigger *Starts it*
- 4 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 5 **Structured Output Parser1** Output Parser Structured *Model*
- 6 **Lead Preference Form** Form trigger *Starts it*
- 7 **Analyse** Chain Llm *Model*
- 8 **Get Prospects** Google Sheets *Service*
- 9 **Analyse1** Chain Llm *Model*
- 10 **Apollo Scraper** Http Request *Service*
- 11 **Organise Response** Code *Logic*
- 12 **Loop Over Items** Split In Batches *Logic*
- 13 **Organise Response1** Code *Logic*
- 14 **Extract Info** Set *Logic*
- 15 **Save Data** Google Sheets *Service*
- 16 **Notify User** Slack *Service*
- 17 **If Linkedin Exists?** If *Logic*
- 18 **Save Data1** Google Sheets *Service*
- 19 **Save Leads** Google Sheets *Service*
- 20 **Linkedin Scraper** Http Request *Service*
- 21 **Linkedin Posts Scraper** Http Request *Service*
- 22 **Combine User Posts** Code *Logic*
- 23 **Company Scraper** Http Request *Service*
- 24 **If Company Data Available?** If *Logic*
- 25 **Company Posts Scraper** Http Request *Service*
- 26 **Research Company - Perplexity** Http Request *Service*
- 27 **Combine Company Posts** Code *Logic*
- 28 **TrustPilot Scraper1** Http Request *Service*
- 29 **TrustPilot Scraper** Http Request *Service*
- 30 **Combine Reviews1** Code *Logic*
- 31 **Combine Reviews** Code *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 31, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets, Slack
- **Model:** Gemini

## 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 submitting a form.

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 31 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 31 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%2Fautomated-lead-generation-and-ai-research-with-apollo)
- **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.

- [**Extract sales leads from Google Jobs, LinkedIn & Indeed** 31 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/extract-sales-leads-from-google-jobs-linkedin-and-indeed)
- [**Search and outreach to top-fit jobs with LinkedIn and RemoteOK** 31 steps · Google Sheets, RSS](https://millionrounds.com/workflow/search-and-outreach-to-top-fit-jobs-with-linkedin-and-remote)
- [**Automated LinkedIn lead enrichment pipeline with Google Sheets** 30 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automated-linkedin-lead-enrichment-pipeline-with-google-shee)
- [**Generate B2B leads from any city & business type with Jina.AI** 30 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/generate-b2b-leads-from-any-city-and-business-type-with-jina)
- [**Lead generation and qualification with OpenAI** 30 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/lead-generation-and-qualification-with-openai)
- [**Lead workflow: Yelp & Trustpilot scraping + OpenAI analysis** 30 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/lead-workflow-yelp-and-trustpilot-scraping-openai-analysis)
