Automation library · Lead generation

Generate city business leads with Google Maps

Started by someone submitting a form, and works across Google Sheets. 20 steps, 3 loops or waits: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
0Branches: places the flow splits
3Loops or waits
1Service it connects to

The flow

Starts it 1Logic 13Service 6

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

  1. 1On form submissionForm triggerStarts it
  2. 2Set Initial ParametersSetLogic
  3. 3Geocode Target CityHttp RequestService
  4. 4Generate Dynamic GridSetLogic
  5. 5Split LocationsSplit OutLogic
  6. 6Search Page 1Http RequestService
  7. 7Save Page 1SetLogic
  8. 8Wait for Page 2WaitLogic
  9. 9Search Page 2Http RequestService
  10. 10Save Page 2SetLogic
  11. 11Wait for Page 3WaitLogic
  12. 12Search Page 3Http RequestService
  13. 13Merge All PagesSetLogic
  14. 14Split All ResultsSplit OutLogic
  15. 15Collect All Place IDsAggregateLogic
  16. 16Split PlacesSplit OutLogic
  17. 17Loop Over PlacesSplit In BatchesLogic
  18. 18Append row in sheetGoogle SheetsService
  19. 19Get Place DetailsHttp RequestService
  20. 20Map FieldsSetLogic

How it's built

Starts on
Someone submitting a form
Steps
20, 3 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. 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?

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. 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.