Local Lead Gen — Automated Business Prospecting & Outreach
Find local businesses with bad websites, score them, and auto-email personalized pitches.
Pipeline Overview
- 1. Scan — Search businesses by niche + city via Brave Search API
- Score — Check each site: SSL, mobile-friendly, speed, design age, broken elements (0-100)
- Filter — Flag sites scoring <40 as outreach candidates
- Enrich — Extract emails from contact pages using DeepCrawl or direct scraping
- Email — Send personalized cold emails via Resend (or any SMTP provider)
- Track — Log all leads to Google Sheets or CSV with status tracking
Requirements
- - Brave Search API key — for business discovery (free tier available)
- Resend API key (or SMTP credentials) — for sending cold emails
- DeepCrawl API key (optional) — for better contact page parsing
- Google Sheets OAuth (optional) — for lead tracking
Quick Start
CODEBLOCK0
Configuration
Edit scripts/config.json to customize:
- - Target niches and cities
- Score thresholds for outreach
- Email templates and sender info
- Suppression list (unsubscribed emails)
Scripts
- -
scripts/bad-website-hunter.js — Main pipeline: scan → score → enrich → email - INLINECODE2 — Pipeline configuration
Email Templates
The default cold email template pitches web design/development services. Customize in config.json:
CODEBLOCK1
Scaling
- - Small towns (pop 5-30K) yield the highest percentage of bad sites
- Best niches: restaurants, auto repair, salons, contractors, law offices
- Send 10-25 emails per day per domain to avoid spam flags
- Rotate sending domains if scaling past 50/day
- Add drip sequences (follow-up emails at day 3 and day 7)
References
- - See
references/scoring-criteria.md for website scoring methodology - See
references/email-best-practices.md for cold email deliverability tips
本地潜在客户生成 — 自动化商业勘探与拓展
寻找拥有劣质网站的本地企业,对其进行评分,并自动发送个性化推销邮件。
流程概览
- 1. 扫描 — 通过Brave Search API按行业+城市搜索企业
- 评分 — 检查每个网站:SSL、移动端友好度、加载速度、设计年代、损坏元素(0-100分)
- 筛选 — 将评分低于40的网站标记为拓展候选对象
- 丰富 — 使用DeepCrawl或直接抓取从联系页面提取邮箱
- 邮件 — 通过Resend(或任何SMTP服务商)发送个性化冷邮件
- 追踪 — 将所有潜在客户记录到Google Sheets或CSV中,并附带状态追踪
要求
- - Brave Search API密钥 — 用于企业发现(提供免费套餐)
- Resend API密钥(或SMTP凭证) — 用于发送冷邮件
- DeepCrawl API密钥(可选) — 用于更好的联系页面解析
- Google Sheets OAuth(可选) — 用于潜在客户追踪
快速开始
bash
设置环境变量
export BRAVE
APIKEY=your_key
export RESEND
APIKEY=your_key
运行扫描器
node scripts/bad-website-hunter.js --niche restaurants --city Austin TX --limit 20
配置
编辑scripts/config.json以自定义:
- - 目标行业和城市
- 拓展评分阈值
- 邮件模板和发件人信息
- 屏蔽列表(已退订邮箱)
脚本
- - scripts/bad-website-hunter.js — 主流程:扫描→评分→丰富→邮件
- scripts/config.json — 流程配置
邮件模板
默认冷邮件模板推销网页设计/开发服务。在config.json中自定义:
主题:关于{business_name}网站的一个小问题
您好{first_name},
我查看了{businessname}的网站,发现了一些可能让您流失客户的问题:{issuesfound}。
我帮助{city}的本地企业现代化其线上形象。您是否愿意简短聊聊升级方案?
此致,
{sender_name}
规模化
- - 小城镇(人口5-30K)拥有最高比例的劣质网站
- 最佳行业:餐厅、汽车维修、美容沙龙、承包商、律师事务所
- 每个域名每天发送10-25封邮件以避免垃圾邮件标记
- 如果每天超过50封,轮换发送域名
- 添加滴灌序列(第3天和第7天发送跟进邮件)
参考
- - 参见references/scoring-criteria.md了解网站评分方法
- 参见references/email-best-practices.md了解冷邮件送达率技巧