Skip to content

About

Google Maps and Reviews workflows, n8n templates, and a Compass migration kit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Google Maps Workflows

Find local businesses, build B2B lead lists with checked emails, track competitors and popular times, and monitor reviews and owner replies. This MIT-licensed kit includes switch guides from other Google Maps Actors, Apify quickstarts in Python and Node.js, n8n imports, MCP configs for AI agents, and offline input converters.

Choose an Actor

Actor and input schema Use it for Key inputs
Google Maps Scraper General place search with optional website contacts, reviews, and photos searchStringsArray, locationQuery, startUrls, scrapeContacts
Google Maps Extractor Place data without website contact enrichment searchStringsArray, locationQuery, maxCrawledPlacesPerSearch
Google Maps Business Leads Keep businesses with a website, phone, or public email onlyWithWebsite, onlyWithPhone, onlyWithEmail
Google Maps Email Extractor Find website emails and optionally check syntax and mail servers scrapeContacts, verifyEmails
Google Maps No-Website Leads Find businesses without a listed website searchStringsArray, locations, onlyWithPhone
Google Maps Place Details Scraper Look up known places and request extra place details placeIds, startUrls, maxReviews, maxImages
Google Maps Instagram Leads Find businesses with an Instagram profile searchStringsArray, locationQuery, onlyWithInstagram
Google Maps Photos Scraper Export place photos and videos startUrls, maxPhotosPerPlace, photoCategories
Google Reviews Scraper Read Google reviews by publication date startUrls, reviewsStartDate, reviewsSort, personalData
Google Maps Reviews Scraper Read reviews and owner replies with reply dates; date filters count posting or editing startUrls, reviewsStartDate, reviewsEndDate
Google Maps Reviews by Keyword Search reviews for a specific phrase or topic keywords, keywordsWholeWords, maxReviewsScanned
Google Maps Negative Reviews Read reviews within a rating range reviewsMinStars, reviewsMaxStars, reviewsStartDate

Google Maps Scraper includes website contacts in its per-place price. Google Maps Email Extractor includes syntax and mail-server checks when you enable them. See the Places pricing comparison and Reviews pricing comparison.

The Google Maps, Google Maps Crawler, Google Places API, Maps Scraper, and Contact Details Scraper listings also use the general Maps input fields. Check the pricing of the listing you call.

Switch from another Google Maps Actor

Each guide shows the Actor ID change in Python, Node.js, cURL, and n8n, the input fields that carry over, and published prices checked December 4, 2026.

Switching from Guide
compass/crawler-google-places Change one line; contacts, filters, and reviews included
compass/Google-Maps-Reviews-Scraper Change one line; owner reply dates, 12x to 15x lower cost
lukaskrivka/google-maps-with-contact-details Change one line; contacts included
scraperlink/google-maps-scraper Change the Actor ID and convert the input; popular times and reviews included
kaix/google-maps-places-scraper Change the Actor ID and convert the input; reviews in the same row

The migration index lists the offline converters for saved inputs.

Run a small query

Create an Apify API token and set it in your environment as APIFY_TOKEN. In Bash, you can paste it without printing it or saving it in shell history:

read -rs APIFY_TOKEN
export APIFY_TOKEN

From the repository root, run either quickstart. No package install is required for Python 3.10+ or Node.js 20+.

python3 examples/maps_quickstart.py places
node examples/maps-quickstart.mjs reviews

Both quickstarts accept places or reviews. Edit places-input.json or reviews-input.json for your query. A request starts a billable run, caps Actor event charges at $0.10, and prints up to 100 dataset rows as JSON Lines. For longer runs, start the Actor asynchronously, wait for success, then read and paginate its default dataset.

Import an n8n workflow

  1. Choose Import from File in a recent n8n release and select a template below. Every template is inactive on import.
  2. Create an n8n Bearer Auth credential for Apify and select it on Start Actor, Get Run Status, and Read Dataset. Edit the sample input in Start Actor. Each run caps Actor event charges at $0.10.
  3. Configure the destination. Use a test sheet, webhook, or Slack channel for the first execution. A manual test can start a billable Actor run and write to enabled destinations.
  4. Activate when ready. Schedules use UTC.
Workflow Actor Schedule Destination
B2B lead pipeline Google Maps Email Extractor Mondays 09:00 Google Sheets, then HubSpot (optional)
Review and owner reply monitor Google Maps Reviews Scraper Every 3 hours Slack, with an optional email copy
Competitor and popular times tracker Google Maps Scraper Mondays 07:00 Google Sheets and a Slack digest
No-website lead finder Google Maps Scraper Mondays 08:00 Google Sheets
Local leads to Sheets and CRM Google Maps Email Extractor Daily 09:00 Google Sheets, then a webhook (optional)
Low-star review alerts Google Reviews Scraper Every 15 minutes Slack

The Google Sheets nodes update rows by the first column below and write values as raw text. Create the named tab and paste the tab-separated headers into cell A1; a missing column stops the node instead of dropping data.

B2B lead pipeline

Searches a business type in an area, reads each website, and keeps places with at least one email that was found on the website and passed the syntax and mail-server check. It prefers an address on the business's own domain. Edit searchStringsArray, locationQuery, and maxCrawledPlacesPerSearch in Start Actor.

Select a Google Sheets credential and spreadsheet ID in Upsert Leads in Google Sheets, on a tab named B2B Leads:

place_id	business_name	category	email	email_check	other_emails	phone	website	rating	reviews	address	city	state	postal_code	country	linkedin	facebook	instagram	unclaimed_profile	search	maps_url

To create or update HubSpot contacts, create a HubSpot private app with the crm.objects.contacts.write scope, store its token in a second n8n Bearer Auth credential, select it on Upsert Contacts in HubSpot, and enable that node. It sends up to 100 contacts per run to HubSpot's batch upsert and matches existing contacts by email, so weekly runs update instead of duplicating. A passing check means the address is well formed and its domain accepts mail; it does not prove that a person reads the mailbox.

Review and owner reply monitor

Reads the newest reviews of your locations from the past 14 days and posts one Slack message when something changed:

  • a new review of 2 stars or lower, with whether the owner has replied,
  • a low-star review still without an owner reply 48 hours after it was posted,
  • an owner reply to a review it alerted on, with the hours from review to reply when Google provides responseFromOwnerDate.

Set your Google Maps links in Start Actor. Select a Slack OAuth2 credential and channel ID in Send Review Alerts to Slack. To also email the digest, select an SMTP credential, set the addresses in Email a Copy, and enable it. Change MAX_STARS and REPLY_HOURS at the top of Track Reviews and Owner Replies. The workflow remembers what it reported for 30 days, but only after Slack confirms the post in an active workflow; manual tests don't save that history. Run one execution at a time.

Competitor and popular times tracker

Takes a weekly snapshot of the top places for a search in each of your markets: rank, rating, review count, the busiest hour of the week from Google's popular times, live busyness, and open or closed status. From the second run on, it adds the reviews gained and the rating change since the last snapshot. Edit searchStringsArray and locations in Start Actor; each search term runs in each location.

Select a Google Sheets credential and spreadsheet ID in Upsert Snapshot in Google Sheets, on a tab named Competitors, and a Slack channel in Send Snapshot to Slack:

snapshot_key	snapshot_date	market	rank	place_id	business_name	category	rating	rating_change	reviews	new_reviews	price_level	busiest_day	busiest_hour	busiest_percent	live_busyness	live_text	status	maps_url

Busiest hours are in each place's local time. Live busyness is empty when Google shows no live data.

No-website lead finder

Finds businesses with no website listed on Google Maps, keeps those with a phone number, and ranks them for outreach by web design and local SEO agencies. A lead scores higher with 10 or more reviews, a rating of 4 or more, an unclaimed Google profile, or fewer than 10 photos, and the pitch column says which apply. Each place is delivered once every 60 days. Edit the trades and area in Start Actor.

Select a Google Sheets credential and spreadsheet ID in Upsert Leads in Google Sheets, on a tab named No Website:

place_id	business_name	category	phone	rating	reviews	photos	unclaimed_profile	pitch	lead_score	address	city	state	search	maps_url	found_on

Local leads to Google Sheets and HubSpot or Clay

Import Google Maps Local Leads to Sheets and CRM. It runs daily at 09:00 UTC. It keeps emails with passing syntax and MX checks and requires the same phone number on Maps and the website after removing formatting. These checks do not establish mailbox deliverability, phone ownership, or reachability. Rows without both checks are skipped.

Select a Google Sheets credential and replace the spreadsheet ID in Upsert Leads in Google Sheets. Create a tab named Leads; paste these headers into A1:

place_id	business_name	email	email_check	phone	phone_check	website	maps_url	address

The workflow deduplicates each run by place_id and uses that key to update the sheet. To also send each row to HubSpot or Clay, enable Send to HubSpot or Clay Webhook, replace the placeholder with your HTTPS receiver, and configure the authentication it expects. Use an incoming HubSpot workflow webhook where available, a Clay webhook source, or a receiver that calls your CRM API. Upsert by place_id at the receiver; scheduled searches can send the same place again.

Low-star Google Reviews to Slack

Import Google Reviews Reputation Alerts to Slack. Set the Maps URL in Start Actor. Connect your Slack OAuth2 credential and channel ID on Send Review Alerts to Slack. Give the Slack app permission to post there.

Every 15 minutes the workflow looks back 24 hours and sends one linked digest if it finds unseen 1- or 2-star reviews. The first run can alert on earlier reviews in that window. It remembers delivered review IDs after Slack confirms the post in an active workflow; manual tests don't persist that history. Run one execution at a time. Increase the lookback or result limits if you expect downtime or bursts; the starter is a bounded alert feed with up to 20 alerts per poll.

Connect an AI assistant with MCP

Start with the four-tool MCP guide: ready-to-copy configs for Claude Desktop, Cursor, and Claude Code with places, reviews, emails, and photos, agent rules, empty-result handling, and prompt examples.

For every specialist Actor in one server, merge the entry from mcp/server.json into a client that supports remote HTTP MCP and Apify OAuth. For Claude Code, put the entry in .mcp.json and connect it with /mcp. A long tool list makes it harder for an agent to pick the right Actor, so prefer the four-tool config unless you need a specialist.

The Claude skill gives the assistant a routing guide for this suite. Copy the skill folder into your project's .claude/skills/ if you use it outside this repository.

Keep review citations in LangChain

Point the loader at a Google Reviews Scraper JSON Lines export, such as the output of the reviews quickstart:

python3 -m pip install 'langchain-core>=1,<2'
python3 examples/langchain_reviews.py reviews.jsonl

The loader turns review text into LangChain documents and stores the Google Maps review URL in metadata["source"]. It skips rows without review text or a usable source link. Keep this metadata when you index and retrieve documents so answers can cite the original reviews.

Verify locally

python3 -m unittest discover -s tests
node --test tests/*.test.mjs
node scripts/build-workflows.mjs --check

These checks run without credentials and never start an Actor. They validate the examples, switch guides, MCP prompts, and converter outputs against the checked-in schema contracts, run each n8n template's code on sample rows with every field the Actors write, check that templates read only fields the Actors write, and check every Markdown link. Set MAPS_SNAPSHOT_SCHEMA, REVIEWS_SNAPSHOT_SCHEMA, and EMAIL_SNAPSHOT_SCHEMA to paths to current Actor input schema files to compare the contracts directly.

Code in this repository is MIT licensed. Review your source and destination terms before collecting or using business contact or review data.

About

Google Maps and Reviews workflows, n8n templates, and a Compass migration kit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages