# Generate Dream 100 prospect lists with Perplexity AI: n8n workflow

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

Source: https://millionrounds.com/workflow/generate-dream-100-prospect-lists-with-perplexity-ai (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)

# Generate Dream 100 prospect lists with Perplexity AI

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

Medium Calls a model: OpenRouter Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-dream-100-prospect-lists-with-perplexity-ai)

**20 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 5 Logic 7 Service 6

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

- 1 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 2 **When chat message received** Chat trigger *Starts it*
- 3 **Simple Memory** Memory Buffer Window *Model*
- 4 **When Slack Received** Slack trigger *Starts it*
- 5 **Collect More Info Slack** Slack *Service*
- 6 **All Done Slack** Slack *Service*
- 7 **Research via Perplexity** Perplexity Tool *Service*
- 8 **Insert Data Into Sheet** Google Sheets Tool *Service*
- 9 **AI Agent** Agent *Model*
- 10 **User Chat Message** Set *Logic*
- 11 **Check First Row** Google Sheets *Service*
- 12 **Send correct message** Switch *Logic*
- 13 **First Row Name** Set *Logic*
- 14 **Check Last Row** Google Sheets *Service*
- 15 **Last Row Name** Set *Logic*
- 16 **Is there any data in the sheet?** If *Logic*
- 17 **Collect More Info** Chat *Model*
- 18 **Do we need MORE data in the sheet?** If *Logic*
- 19 **Agent Re-trigger chat message** Set *Logic*
- 20 **All Done!** Chat *Model*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 20, with 3 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Google Sheets, Slack
- **Model:** OpenRouter
- **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 OpenRouter. 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 OpenRouter. 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. 20 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 20 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-dream-100-prospect-lists-with-perplexity-ai)
- **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-powered cold email outreach with OpenAI and Gmail** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-cold-email-outreach-with-openai-and-gmail)
- [**Auto-respond and classify WhatsApp leads with Ollama AI** 20 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/auto-respond-and-classify-whatsapp-leads-with-ollama-ai)
- [**Automated LinkedIn lead generation & AI personalized outreach** 20 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automated-linkedin-lead-generation-and-ai-personalized-outre)
- [**Enrich companies in Google Sheet with OpenAI and Crunchbase** 20 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/enrich-companies-in-google-sheet-with-openai-and-crunchbase)
- [**Google Maps business scraper & lead enricher with Bright Data** 20 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/google-maps-business-scraper-and-lead-enricher-with-bright-d)
- [**Intelligent Lead Response and Engagement Automation** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/intelligent-lead-response-and-engagement-automation)
