Communitygithub.com

Google Maps 리드 생성

Google Maps에서 B2B 리드를 스크래핑하고, 웹사이트 심층 분석 및 연락처 추출을 통해 품질 높은 리드를 생성합니다.

Google Maps 리드 생성란 무엇인가요?

이 스킬은 Google Maps에서 지역 업체 목록을 스크래핑한 후, 각 업체의 웹사이트를 방문하여 연락처 정보를 추출하고 Claude 3.5 Haiku로 구조화된 데이터를 생성하는 B2B 리드 생성 파이프라인입니다. Apify의 Google Places 크롤러, 웹 스크래핑, DuckDuckGo 검색을 활용하여 36개 필드(비즈니스 기본 정보, 추출된 연락처, 소셜 미디어, 소유자 정보, 팀 연락처 등)로 구성된 상세 리드 시트를 Google Sheets에 저장합니다. 로컬 환경에서 Python 스크립트를 실행하며, CLI 인자를 통해 검색어, 최대 결과 수, 병렬 작업자 수 등을 제어할 수 있습니다. 리드당 약 $0.012-0.022의 저렴한 비용으로 100개 리드 기준 약 $1.50-2.50에 대량 리드 수집이 가능합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/gmaps-leads

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Google Maps 리드 생성은(는) 무엇을 하나요?

목표

Google Maps에서 고품질 B2B 리드를 생성하고, 웹사이트 스크래핑과 Claude를 사용한 구조화된 연락처 데이터 추출로 심층 연락처 강화를 수행합니다.

입력

매개변수필수설명
--search예검색어 (예: "서울 강남구 치과의사")
--limit아니오최대 결과 수 (기본값: 10)
--sheet-url아니오추가할 기존 시트 URL
--workers아니오병렬 작업자 수 (기본값: 3)

스크립트

  • ./scripts/gmaps_lead_pipeline.py - 주요 오케스트레이션
  • ./scripts/gmaps_parallel_pipeline.py - 병렬 처리 버전
  • ./scripts/scrape_google_maps.py - Google Maps 스크래퍼
  • ./scripts/extract_website_contacts.py - 웹사이트 연락처 추출기
  • ./scripts/update_sheet.py - Google Sheets 동기화

프로세스

기본 사용법

# 10개 리드로 새 시트 생성
python3 ./scripts/gmaps_lead_pipeline.py --search "서울 강남구 치과의사" --limit 10

# 기존 시트에 추가 (데이터베이스 구축 권장)
python3 ./scripts/gmaps_lead_pipeline.py --search "부산 해운대구 미용실" --limit 25 \
  --sheet-url "https://docs.google.com/spreadsheets/d/..."

# 대량 처리
python3 ./scripts/gmaps_lead_pipeline.py --search "경기 성남시 지붕공사 업체" \
  --limit 50 --workers 5

파이프라인 단계

  1. Google Maps 스크래핑 - Apify compass/crawler-google-places가 업체 목록 반환
  2. 웹사이트 스크래핑 - 메인 페이지 + 최대 5개의 연락처 페이지 가져오기
  3. 웹 검색 강화 - DuckDuckGo 검색으로 소유자 연락처 정보 획득
  4. Claude 추출 - Claude 3.5 Haiku가 구조화된 연락처 추출
  5. Google Sheet 동기화 - 새 리드 추가, lead_id 기준 중복 제거

출력 스키마 (36개 필드)

비즈니스 기본 정보: business_name, category, address, city, state, zip_code, phone, website, rating, review_count

추출된 연락처: emails, additional_phones, business_hours

소셜 미디어: facebook, twitter, linkedin, instagram, youtube, tiktok

소유자 정보: owner_name, owner_title, owner_email, owner_phone, owner_linkedin

팀 연락처: 팀 구성원 JSON 배열

메타데이터: lead_id, scraped_at, search_query, pages_scraped, enrichment_status

비용

구성 요소리드당
Apify Google Maps~$0.01-0.02
Claude Haiku~$0.002
DuckDuckGo/HTTP무료
합계~$0.012-0.022

100개 리드 기준: 총 ~$1.50-2.50

문제 해결

  • "업체를 찾을 수 없습니다" : 검색어에 위치 포함
  • 403 Forbidden : 약 10-15%의 사이트가 스크래퍼 차단 (정상 처리됨)
  • 인증 문제 : token.json 삭제 후 재인증
  • 중복 : lead_id (이름|주소의 MD5)로 중복 제거

환경 변수

APIFY_API_TOKEN=your_token
ANTHROPIC_API_KEY=your_key

스키마

입력

이름타입필수설명
searchstring예검색어 (예: '서울 강남구 치과의사')
limitinteger아니오최대 결과 수 (기본값: 10)
sheet_urlstring아니오추가할 기존 시트 URL
workersinteger아니오병렬 작업자 수 (기본값: 3)

출력

이름타입설명
sheet_urlstring36개 필드 리드 데이터가 포함된 Google Sheet URL
lead_countinteger스크래핑된 리드 수

자격 증명

이름출처
APIFY_API_TOKEN.env
ANTHROPIC_API_KEY.env

함께 사용 가능한 스킬

이 스킬과 체인으로 연결하기 좋은 스킬: classify-leads, casualize-names, instantly-campaigns, onboarding-kickoff

비용

리드당 $0.012-0.022

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Manage emails across multiple Gmail accounts with unified tooling. Use when user asks to check email, read inbox, label emails, archive messages, or manage Gmail across accounts.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

Run Claude orchestrator locally with Cloudflare tunneling. Use when user asks to run locally, start local server, or test webhooks locally.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

관련 스킬