Automation library · Lead generation

Generate and enrich Google Maps leads with Apify and Hunter

Started by a clock, and works across Gmail and Google Sheets. 19 steps, 2 branches, 2 loops or waits: a working afternoon to understand properly.

Medium

19 stepsMedium: a working afternoon
2Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Logic 11Service 7

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

  1. 1Schedule Trigger1Schedule triggerStarts it
  2. 2Google Maps ScraperHttp RequestService
  3. 3Format & Validate DataCodeLogic
  4. 4Format Error Data1CodeLogic
  5. 5Check Existing Leads1Google SheetsService
  6. 6Error Notification1GmailService
  7. 7Deduplicate Leads1CodeLogic
  8. 8Has New Leads?1IfLogic
  9. 9Batch for AI Processing1Split In BatchesLogic
  10. 10No New Leads Notification1GmailService
  11. 11HTTP Request1Http RequestService
  12. 12Merge & Validate ResultsCodeLogic
  13. 13High Confidence Leads?1IfLogic
  14. 14Build Email Report1CodeLogic
  15. 15Prepare Sheet Data1CodeLogic
  16. 16Send Email Report1GmailService
  17. 17Save to Google SheetsGoogle SheetsService
  18. 18Merge1MergeLogic
  19. 19Wait1WaitLogic

How it's built

Starts on
A clock
Steps
19, with 2 branches, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 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 19 steps before you point it at anything that matters.