Automation library · Lead generation

Find and qualify B2B leads with MrScraper and Gemini

Started by someone submitting a form, and works across Google Sheets and Slack. It hands the judgement calls to Gemini. 21 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

21 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 6Logic 9Service 5

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

  1. 1Define ICPForm triggerStarts it
  2. 2Google Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Gemini Keyword ModelLm Chat Google GeminiModel
  5. 5Keyword List ParserOutput Parser StructuredModel
  6. 6Build Search QueryCodeLogic
  7. 7Score Lead & Write IcebreakerChain LlmModel
  8. 8Generate Related KeywordsChain LlmModel
  9. 9Build Lead RecordCodeLogic
  10. 10Expand Search QueriesCodeLogic
  11. 11Qualified Lead?IfLogic
  12. 12Search Google SERPMrscraperService
  13. 13Save Qualified LeadsGoogle SheetsService
  14. 14Save Disqualified LeadsGoogle SheetsService
  15. 15Select Prospect WebsitesCodeLogic
  16. 16Merge Lead BranchesMergeLogic
  17. 17Loop Over CompaniesSplit In BatchesLogic
  18. 18Build SummaryCodeLogic
  19. 19Extract Company ProfileMrscraperService
  20. 20Notify Sales TeamSlackService
  21. 21Normalize Company DataCodeLogic

How it's built

Starts on
Someone submitting a form
Steps
21, with 1 branch, 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 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.