Builds a local-business lead database from Google Maps using Apify actors, with contact enrichment, AI-powered name discovery, and phone/email backfill via Scalelist.
Ships in apify-google-maps-leads. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build a lead CSV from Google Maps in one pipeline:
compass/crawler-google-places run with four add-ons pre-configured (leads enrichment, website contacts, Instagram + Facebook profiles, optional reviews).apify/ai-web-scraper on the business website to extract owner/decision-maker names. Scalelist can't work without a name.scalelist/phone-finder for leads with a missing phone, scalelist/email-finder for leads with a missing email.run_metadata.json sidecar.apify login (OAuth, if using the Apify CLI)APIFY_TOKEN env varEither the Apify CLI (recommended for portability) or the Apify MCP connector works. Commands below use the CLI; the MCP path is a drop-in via the call-actor and get-dataset-items tools.
Track progress with this checklist:
Task Progress:
- [ ] Step 1: Interview — audience, geography, scoring choice
- [ ] Step 2: Build the Google Maps input
- [ ] Step 3: Run compass/crawler-google-places
- [ ] Step 4: Filter + score (if scoring enabled)
- [ ] Step 5: Discover missing names via apify/ai-web-scraper
- [ ] Step 6: Backfill missing phones and emails via scalelist Actors
- [ ] Step 7: Deduplicate and render the CSV
Ask three questions as one block — don't drip them one by one.
"dentists", "vegan restaurants", "boutique hotels", "dog groomers, pet stores" (comma-splittable → array)."Berlin, Germany", "Austin, TX"). If the user gives a country only, warn that Maps runs perform best on city-scoped searches.maxReviews) and filter by review volume + star rating post-run. If no, we skip reviews to cut cost.Follow-ups only if the user asks for more control:
maxCrawledPlacesPerSearch — default 50. Bigger runs = bigger cost.maximumLeadsEnrichmentRecords — default 3 per place (people to enrich per business). Never 0 — that disables leads enrichment, which is the point.leadsEnrichmentDepartments — default [] (any). Enum values are listed in references/actor-inputs.md.placeMinimumStars) — cheaper than post-filtering when scoring is off.≥ 10 reviews AND ≥ 4.0 rating.Cost warning threshold. Compute expected_leads = maxCrawledPlacesPerSearch × maximumLeadsEnrichmentRecords. If it exceeds 200, restate the number back to the user and confirm before running. Leads enrichment is the dominant cost line; a slip here is what surprises people.
Set every field below on every run. Full field reference in references/actor-inputs.md.
| Field | Value |
|---|---|
searchStringsArray | audience as array (e.g. ["dentists"]) |
locationQuery | geography free text |
maxCrawledPlacesPerSearch | user override or default 50 |
language | "en" unless user specifies |
scrapePlaceDetailPage | true — needed for phone + hours + address |
skipClosedPlaces | true — permanent/temporary closures are dead leads |
scrapeContacts | true — Add-on: Company contacts enrichment (from website) ($) |
scrapeSocialMediaProfiles | {"instagrams": true, "facebooks": true, "youtubes": false, "tiktoks": false, "twitters": false} — Instagram + Facebook profile enrichment |
maximumLeadsEnrichmentRecords | user override or default 3 — Add-on: Business leads enrichment ($) |
leadsEnrichmentDepartments | user override or [] |
verifyLeadsEnrichmentEmails | true — always, never false |
maxReviews | 10 if scoring is on, 0 otherwise |
reviewsSort | "newest" if scoring is on |
scrapeSocialMediaProfiles auto-enables scrapeContacts. Both are billed on top of the base scrape — see the Actor's pricing tab.
apify actors call "compass/crawler-google-places" \
--input '<JSON_FROM_STEP_2>' \
--user-agent apify-awesome-skills/apify-google-maps-leads \
--json 2>/dev/null
Capture id (runId) and defaultDatasetId. Pull the dataset:
apify datasets get-items <DATASET_ID> --format json \
--user-agent apify-awesome-skills/apify-google-maps-leads 2>/dev/null > places.json
Leads enrichment adds 30–90 s per place — expect long runs. If a run times out, the dataset already holds partial results; pull by datasetId.
Applied to the raw places.json in order. Full logic in references/scoring-and-backfill.md.
leadsEnrichment[].companyWebsite hostname doesn't match the place.website hostname. Same failure mode as apify-verified-email-finder — a global-fallback lead attributed to unrelated places by substring. Count drops in run_metadata.json.place.reviewsCount >= 10 AND place.totalScore >= 4.0.Lead Score column: round(place.totalScore * log10(place.reviewsCount + 1), 2). Higher = better local reputation.Lead Score is blank.Scalelist needs a person name (or LinkedIn URL) to look anything up. When a place has zero enriched leads — or leads with blank firstName / lastName — but has a working website, run apify/ai-web-scraper on that website to extract owner/decision-maker names.
When to run this step per place (all conditions must hold):
place.website is non-empty (nothing to scrape otherwise)leadsEnrichment[] is empty, or every lead has a blank firstNamePayload — same input pattern as the Apify AI Web Scraper "list of writers" example, retargeted from blog authors to local-business decision-makers:
{
"startUrls": [{"url": "<place.website>"}],
"extractionMode": "agentic",
"prompt": "Find the owner, founder, or key decision-makers of this business. For each person, include their full name and job title. Prioritize pages like /about, /team, /contact, or the site footer.",
"maxPagesToVisit": 20,
"maxCrawlDepth": 3
}
Defaults trimmed vs. the blog example (which uses maxPagesToVisit: 100 / maxCrawlDepth: 5) — small-business sites are typically shallow, and this is one call per website.
apify actors call "apify/ai-web-scraper" \
--input '{"startUrls":[{"url":"<place.website>"}],"extractionMode":"agentic","prompt":"...","maxPagesToVisit":20,"maxCrawlDepth":3}' \
--user-agent apify-awesome-skills/apify-google-maps-leads \
--json 2>/dev/null
One place per call — the Actor's crawl fans out from startUrls, so batching multiple business sites in one startUrls array would mix results. Run one call per place website. Parallelize across places if you have many.
Merge results back onto the place:
url, data, markdown. data holds the extracted people — expect { "people": [{ "name": "...", "jobTitle": "..." }] } or an array of such objects (LLM output shape varies).name on the last space into firstName / lastName.place.leadsEnrichment[] with firstName, lastName, jobTitle, companyWebsite = place.website, and mark Backfill Source = "ai-web-scraper".Skip conditions:
place.website returns a redirect to a social profile (Facebook page, Instagram) — the AI scraper handles JS sites but Meta login walls will burn budget for nothing.For every lead surviving Step 5, check what's missing.
Phone backfill. Collect leads with a non-blank name and a blank phone. Group into batches of 100. Payload for scalelist/phone-finder:
{
"leads": [
{"first_name": "...", "last_name": "...", "company_domain": "...", "linkedin_profile_url": "..."}
]
}
linkedin_profile_url alone is sufficient; otherwise supply first_name + last_name + company_domain (preferred) or company_name.
apify actors call "scalelist/phone-finder" \
--input '{"leads":[...]}' \
--user-agent apify-awesome-skills/apify-google-maps-leads \
--json 2>/dev/null
Email backfill. Collect leads with a non-blank name and a blank email. Payload for scalelist/email-finder:
{
"leads": [
{"first_name": "...", "last_name": "...", "company_domain": "...", "company_name": "..."}
]
}
first_name + last_name are required; company_domain beats company_name for match rate.
apify actors call "scalelist/email-finder" \
--input '{"leads":[...]}' \
--user-agent apify-awesome-skills/apify-google-maps-leads \
--json 2>/dev/null
Both Actors are pay-per-event: you're only charged for successful matches. Merge the returned phones/emails back onto the original leads by lowercased first_name + last_name + company_domain.
Skip conditions. Don't call scalelist if the lead has no first+last name AND no LinkedIn URL — nothing to look up. Don't call it if the user says "skip backfill" up front (surface this as an offer if the initial maximumLeadsEnrichmentRecords was high, since the cost stacks).
Full column schema in references/output-format.md. Twenty columns including Lead Score, Instagram Followers, Facebook Followers, Backfill Source.
email where present; otherwise by lowercased first_name + last_name + place_id.Lead Score descending when scoring is on; otherwise by Business alphabetically.run_metadata.json sidecar next to the CSV with runId, datasetId, and stats (placesScraped, rawLeads, spuriousDropped, phonesBackfilled, emailsBackfilled, keptRows).See examples/example-dentists-berlin.md — full inputs + sample CSV rows for a "dentists in Berlin, Germany, scoring on" run.
verifyLeadsEnrichmentEmails: true and skipClosedPlaces: true on every run.Source Query, Business, and Place ID. run_metadata.json carries the Apify runId + datasetId.expected_leads > 200, restate and confirm before running Step 3.Lead Score column but leave it blank — don't invent one.Run TIMED-OUT — Lower maxCrawledPlacesPerSearch or maximumLeadsEnrichmentRecords. Enrichment is the slow part.place.website was populated. If names are also missing, Step 5 (ai-web-scraper) should have populated them — check its output.apify/ai-web-scraper returned zero people — Site is a single-page landing (no /about /team /contact), a JS-app that renders after the crawl budget, or a redirect to Facebook/Instagram. No fix; accept the miss and let scalelist skip that place.Actor not found: scalelist/phone-finder — The Actor is on the Apify Store but not pre-approved on your account. Open it once in the console to accept the terms.maxReviews > 10 combined with high maxCrawledPlacesPerSearch, or forgetting to disable YouTube/TikTok/X social enrichment (they cost the same as IG/FB).For error recovery patterns shared across Apify skills, see references/gotchas.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
google-maps, lead-generation, apify, b2b-leads, web-scraping
/apify-google-maps-leads:apify-google-maps-leadsfrom apify-google-maps-leads
npx claudepluginhub apify/awesome-skills --plugin apify-google-maps-leads2 plugins in one repository ship this exact skill · first indexed Aug 12, 2026
Other plugins' skills for the same job