Library / Web Scraping & Research
Web Scraping & Research
Map local pack rankings across a geo grid with Bright Data, OpenAI and Slack
Scrapes Google local pack results from a grid of geo-targeted points around a business, stores them in a Data Table, and sends a ranking map by Slack and Gmail on a schedule.
What it does
## Map where you show up in the local pack, street by street A local business does not have one ranking. It has a different one every few streets, because Google answers with whatever is near the person asking. This checks a grid of points around you and draws the result. ### How it works Build The Grid turns a centre point and a spacing into a square of coordinates, and builds a uule for each one - the parameter that tells Google to answer as if the searcher were standing there. Verified live: three coordinates returned three completely different local packs, and repeating each point gave the same place back. Loop Over The Grid walks the points one at a time, because every point is one SERP request and a burst earns a rate limit that arrives as HTTP 200. Read The Local Pack finds your business in each pack and records the position, or records that you were not in it. Find Who Beats You then tallies the competitors sitting above you, across all the points where they did. Draw The Map lays the ranks out in the shape of the ground, GPT-5.6 writes the two sentences a client will actually read, and the week is stored in a Data Table so next week can be compared to it. ### Setup 1. Bright Data: a SERP zone as one Header Auth credential. Free tier is 5,000 credits a month, no card. 2. An OpenAI credential, a Slack credential and a Gmail credential. 3. A Data Table called local_grid with columns watch_key, business, keyword, run_on, coverage_pct, avg_rank and in_pack. 4. In Settings: your business name as Google spells it, the search term, and the centre latitude and longitude. Start at grid_size 3.
The steps
- Map Every Monday
- Settings
- Build The Grid
- Loop Over The Grid
- Search From That Point
- Read The Local Pack
- Score The Map
- Read Last Week
- Compare With Last Week
- Remember This Map
- Find Who Beats You
- Draw The Map
- Explain The Map
- Local Search Analyst
17 steps in total.
Similar automations
Content Writing & GenerationGenerate GEO and SEO Content from Google Sheets with Gemini15 stepsReports, Analytics & DashboardsRun month-end close checks and send a management pack with AI commentary20 stepsE-commerce & PaymentsDetect Amazon MAP price breaches with Bright Data and alert on Telegram20 stepsMonitoring, Ops & IncidentsTrack Amazon keyword rankings and share of shelf with Bright Data and Slack20 steps