自动化潜在客户生成与WhatsApp推广系统。从Google Maps按行业和地区抓取商业潜在客户,生成个性化推广信息,...
Automated lead generation pipeline: Google Maps → Lead Database → Personalized Pitch → WAHA WhatsApp Delivery.
Use the browser tool to navigate to Google Maps:
text
https://www.google.com/maps/search/{sector}+{location}
Examples:
text
https://www.google.com/maps/search/veteriner+uşak
https://www.google.com/maps/search/kuaför+simav+kütahya
https://www.google.com/maps/search/diş+kliniği+istanbul
https://www.google.com/maps/search/auto+repair+london
Click each listing to extract: name, phone, rating, reviews, website, Instagram, hours.
Save as JSON:
json
[
{
"name": "Business Name",
"phone": "905551234567",
"rating": "4.8",
"reviews": 120,
"website": "example.com",
"instagram": "instagram.com/handle",
"hours": "Open · Closes 8 pm",
"notes": "Key observations"
}
]
Directory structure:
text
leads/
├── {city}/
│ ├── {sector}.json
│ ├── veteriner.json
│ ├── dis_klinigi.json
│ └── kuafor.json
Personalize based on business profile. See references/pitch-templates.md for sector-specific templates.
Key personalization signals:
bash
curl -X POST "http://localhost:3000/api/sendText" \
-H "X-Api-Key: YOUR_WAHA_KEY" \
-H "Content-Type: application/json" \
-d '{
"session": "default",
"chatId": "905551234567@c.us",
"text": "Your personalized message here"
}'
Sending rules:
If you have a WhatsApp bot (like a customer service bot), add all outreach numbers to an ignore list so the bot doesn't reply with irrelevant messages.
File-based ignore list (recommended):
Create data/outreach_ignore_lids.txt:
text
# Outreach targets - bot will NOT auto-reply
# Add both @lid IDs and phone numbers
905551234567
127517595824360
Webhook filter in your bot:
python
# In your WhatsApp webhook handler, before processing:
ignore_file = "data/outreach_ignore_lids.txt"
if os.path.exists(ignore_file):
with open(ignore_file) as f:
ignore_ids = {line.strip() for line in f if line.strip() and not line.startswith('#')}
clean_id = from_id.replace("@lid","").replace("@c.us","")
if clean_id in ignore_ids:
# Don't auto-reply, but notify admin
notify_admin(f"Outreach reply from {from_id}: {message}")
return
Important: WAHA uses @lid format internally which differs from phone numbers. Always add BOTH the lid ID and the phone number to your ignore list.
For automated batch sending, use scripts/batch_send.sh:
bash
scripts/batch_send.sh \
--leads leads/usak/veteriner.json \
--template references/pitch-templates.md \
--sector veteriner \
--waha-url http://localhost:3000 \
--waha-key YOUR_KEY \
--delay 120 \
--ignore-file data/outreach_ignore_lids.txt
See references/pitch-templates.md for full templates. Quick reference:
SectorPain PointOur SolutionSalon/KuaförMissed calls during serviceWhatsApp auto-appointmentVeterinerForgotten vaccine schedulesAuto vaccine remindersDiş KliniğiNo-show appointments (30%+)Appointment remindersEmlakçıLead tracking chaosAuto property matchingOto ServisMissed maintenance cyclesService interval remindersRestoranReservation no-showsWhatsApp reservation + reminderFotoğrafçıClient/shoot trackingCRM + auto follow-up