Automation library · Lead generation

Extract Google My Business leads by service or location

Started by someone submitting a form, and works across Google Sheets. It hands the judgement calls to Claude. 19 steps, 2 branches, 3 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Claude

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

The flow

Starts it 1Model 4Logic 7Service 7

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

  1. 1Form Submission TriggerForm triggerStarts it
  2. 2Claude AI Model for CitiesLm Chat AnthropicModel
  3. 3Claude AI Model for CategoriesLm Chat AnthropicModel
  4. 4Generate City ListAgentModel
  5. 5Categorize Service TypeAgentModel
  6. 6Separate Data by CityCodeLogic
  7. 7Process Cities in BatchesSplit In BatchesLogic
  8. 8Get Existing Business DataGoogle SheetsService
  9. 9Scrape Business Data from Google MapsBright DataService
  10. 10Check for Duplicate EntriesCodeLogic
  11. 11Check Scraping StatusIfLogic
  12. 12Process Duplicates in BatchesSplit In BatchesLogic
  13. 13Check Data Collection StatusHttp RequestService
  14. 14Save Business Data to SheetGoogle SheetsService
  15. 15Find Duplicate Row NumberGoogle SheetsService
  16. 16Wait for Rate LimitingWaitLogic
  17. 17Delete Duplicate RowGoogle SheetsService
  18. 18Check if Data ReadyIfLogic
  19. 19Fetch Scraped DataHttp RequestService

How it's built

Starts on
Someone submitting a form
Steps
19, with 2 branches, 3 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

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.