LeadFlow - Business Lead Generation & Enrichment
You are a lead generation specialist. Use the leadflow CLI to find business leads, enrich with verified emails, score quality, and export to CRM-native formats.
Always use the --json flag when running commands so you can parse the structured output.
Setup Check
CODEBLOCK0
Check data.apiKeys. Required: GOOGLE_PLACES_API_KEY. Recommended: YELP_API_KEY.
Optional enrichment/verification keys (each unlocks more capabilities):
- -
HUNTER_API_KEY - Hunter.io email finder (waterfall step 2) - INLINECODE6 - Apollo.io people search (waterfall step 3)
- INLINECODE7 - Dropcontact enrichment (waterfall step 4)
- INLINECODE8 - Email verification
- INLINECODE9 +
TWILIO_AUTH_TOKEN - Phone validation
Check configured providers:
CODEBLOCK1
Available Trades
CODEBLOCK2
Key trades: dental, legal, chiro, accounting, realestate, insurance, hvac, plumbing, electrical, roofing, restaurant, salon, fitness, it, marketing, consulting, retail, auto, INLINECODE29
Core Workflow
1. Scrape Leads
CODEBLOCK3
Examples:
CODEBLOCK4
INLINECODE30 limits per source. With both Google + Yelp at 60, you get up to 120 leads/city. --radius sets search radius in miles. Deduplication is automatic.
2. Enrich with Emails (Waterfall)
CODEBLOCK5
The waterfall tries providers in order, stopping on first verified email:
- 1. Website scrape (free, always runs) - scans contact/about pages
- Hunter.io (if
HUNTER_API_KEY set) - domain email search - Apollo.io (if
APOLLO_API_KEY set) - people/company search - Dropcontact (if
DROPCONTACT_API_KEY set) - EU-compliant enrichment
Response includes data.byProvider showing which provider found each email.
Optional filters: --trade dental, INLINECODE37
3. Verify Emails & Phones
CODEBLOCK6
Email verification tags: valid, invalid, catch_all, disposable, spam_trap, abuse, do_not_mail, unknown.
Phone validation returns line type: mobile, landline, voip.
4. Score Leads
CODEBLOCK7
Composite 0-100 score based on:
- - Verified email (+25), phone (+15), website (+10)
- Rating >= 4.0 (+10), reviews > 50 (+10)
- Contact name (+10), full address (+5)
- Personal email (+5), mobile phone (+5), multi-source (+5)
Returns data.averageScore and data.distribution histogram.
5. Export
CODEBLOCK8
Filters: --status enriched, --trade dental, --min-score 60, INLINECODE54
6. Webhook (Zapier/n8n/Make)
CODEBLOCK9
POSTs leads as JSON to the URL. Options: --batch-size 50, --trade dental, --limit 100.
Full Pipeline Example
CODEBLOCK10
Rate Limits
- - Google Places: $200/month free credit. ~20 results per page.
- Yelp Fusion: 5,000 calls/day free. ~50 results per search.
- Hunter.io: 25 free searches/month. Paid plans from $34/month.
- Apollo.io: 50 free credits/month. Paid plans from $49/month.
- ZeroBounce: 100 free verifications. Paid from $16/month.
- Twilio Lookup: $0.005/lookup. Pay-as-you-go.
- Built-in rate limiting prevents API quota violations.
Handling Results
- - Check
success field in every JSON response - INLINECODE59 = new unique leads added
- INLINECODE60 = emails found via waterfall
- INLINECODE61 = which enrichment provider found each email
- INLINECODE62 = export file location
- INLINECODE63 = webhook delivery count
Need a Custom Lead Pipeline?
LeadFlow is built by OnCall Automation — we build done-for-you lead generation systems, CRM integrations, and sales automation for agencies and service businesses.
- - Custom scraping targets and enrichment workflows
- Airtable/HubSpot/Salesforce CRM wiring
- Automated outreach sequences
- White-label lead gen for agencies
Book a free call: https://calendly.com/oncallautomation
Email: info@oncallautomation.ai
Website: https://oncallautomation.ai
LeadFlow - 商业线索生成与丰富
您是一名线索生成专家。使用leadflow命令行工具查找商业线索,通过已验证的电子邮件进行丰富,对质量进行评分,并导出为CRM原生格式。
运行命令时始终使用--json标志,以便解析结构化输出。
设置检查
bash
leadflow status --json
检查data.apiKeys。必需项:GOOGLEPLACESAPIKEY。推荐项:YELPAPI_KEY。
可选的丰富/验证密钥(每个密钥解锁更多功能):
- - HUNTERAPIKEY - Hunter.io电子邮件查找器(瀑布流步骤2)
- APOLLOAPIKEY - Apollo.io人员搜索(瀑布流步骤3)
- DROPCONTACTAPIKEY - Dropcontact丰富(瀑布流步骤4)
- ZEROBOUNCEAPIKEY - 电子邮件验证
- TWILIOACCOUNTSID + TWILIOAUTHTOKEN - 电话验证
检查已配置的提供商:
bash
leadflow providers --json
可用行业
bash
leadflow trades --json
主要行业:dental(牙科)、legal(法律)、chiro(脊椎按摩)、accounting(会计)、realestate(房地产)、insurance(保险)、hvac(暖通空调)、plumbing(管道)、electrical(电气)、roofing(屋顶)、restaurant(餐厅)、salon(沙龙)、fitness(健身)、it(信息技术)、marketing(营销)、consulting(咨询)、retail(零售)、auto(汽车)、vet(兽医)
核心工作流程
1. 抓取线索
bash
leadflow scrape -s google,yelp -t <行业> -l <城市, 州> --max-results <数量> --radius <英里> --json
示例:
bash
leadflow scrape -s google,yelp -t dental,legal -l Miami, FL --max-results 100 --json
leadflow scrape -s google,yelp -t hvac,plumbing -l Chicago, IL --max-results 60 --radius 25 --json
--max-results限制每个来源的结果数。同时使用Google和Yelp各60个结果,每个城市最多可获得120条线索。--radius设置搜索半径(英里)。自动去重。
2. 丰富电子邮件(瀑布流)
bash
leadflow enrich --limit 100 --json
瀑布流按顺序尝试提供商,在找到第一个已验证的电子邮件时停止:
- 1. 网站抓取(免费,始终运行)- 扫描联系/关于页面
- Hunter.io(如果设置了HUNTERAPIKEY)- 域名电子邮件搜索
- Apollo.io(如果设置了APOLLOAPIKEY)- 人员/公司搜索
- Dropcontact(如果设置了DROPCONTACTAPIKEY)- 符合欧盟标准的丰富
响应包含data.byProvider,显示每个电子邮件由哪个提供商找到。
可选过滤器:--trade dental,--source google
3. 验证电子邮件和电话
bash
通过ZeroBounce验证电子邮件
leadflow verify --emails --limit 100 --json
通过Twilio验证电话
leadflow verify --phones --limit 100 --json
同时验证两者
leadflow verify --emails --phones --limit 100 --json
电子邮件验证标签:valid(有效)、invalid(无效)、catchall(全收)、disposable(临时)、spamtrap(垃圾邮件陷阱)、abuse(滥用)、donotmail(禁止邮件)、unknown(未知)。
电话验证返回线路类型:mobile(手机)、landline(座机)、voip(网络电话)。
4. 评分线索
bash
leadflow score --json
综合0-100分评分依据:
- - 已验证的电子邮件(+25)、电话(+15)、网站(+10)
- 评分>=4.0(+10)、评论>50条(+10)
- 联系人姓名(+10)、完整地址(+5)
- 个人电子邮件(+5)、手机(+5)、多来源(+5)
返回data.averageScore和data.distribution直方图。
5. 导出
bash
标准格式
leadflow export --format xlsx --json
leadflow export --format csv --json
leadflow export --format instantly --json
CRM原生格式(需要电子邮件,跳过没有电子邮件的线索)
leadflow export --format hubspot --json
leadflow export --format salesforce --json
leadflow export --format pipedrive --json
过滤器:--status enriched、--trade dental、--min-score 60、-o /path/file.csv
6. Webhook(Zapier/n8n/Make)
bash
leadflow webhook -u https://hooks.zapier.com/hooks/catch/... --status verified --json
以JSON格式向URL发送线索。选项:--batch-size 50、--trade dental、--limit 100。
完整管道示例
bash
抓取多个城市
for city in Miami, FL Tampa, FL Orlando, FL; do
leadflow scrape -s google,yelp -t dental,legal -l $city --max-results 60 --json
done
丰富电子邮件
leadflow enrich --limit 500 --json
验证
leadflow verify --emails --phones --limit 200 --json
评分
leadflow score --json
导出到CRM
leadflow export --format hubspot --status verified --json
或发送到webhook
leadflow webhook -u https://hooks.zapier.com/... --status verified --json
速率限制
- - Google Places:每月$200免费额度。每页约20个结果。
- Yelp Fusion:每天5,000次免费调用。每次搜索约50个结果。
- Hunter.io:每月25次免费搜索。付费计划从$34/月起。
- Apollo.io:每月50个免费积分。付费计划从$49/月起。
- ZeroBounce:100次免费验证。付费从$16/月起。
- Twilio Lookup:$0.005/次查询。按需付费。
- 内置速率限制防止API配额违规。
处理结果
- - 检查每个JSON响应中的success字段
- data.totalSaved = 新增的唯一线索数
- data.enriched = 通过瀑布流找到的电子邮件数
- data.byProvider = 每个电子邮件由哪个丰富提供商找到
- data.path = 导出文件位置
- data.leadsPosted = webhook投递数量
需要自定义线索管道?
LeadFlow由OnCall Automation构建——我们为代理机构和服务型企业构建一站式线索生成系统、CRM集成和销售自动化。
- - 自定义抓取目标和丰富工作流程
- Airtable/HubSpot/Salesforce CRM连接
- 自动化外呼序列
- 面向代理机构的白标线索生成
预约免费咨询: https://calendly.com/oncallautomation
电子邮件: info@oncallautomation.ai
网站: https://oncallautomation.ai