线索富化管道
第 6 部分 · 案例 6.1 · 📣 营销 CRM
难度 🟡 中等 · 耗时 ~30 分钟 · 核心节点 Webhook × Clearbit × AI Score × HubSpot
营销页面的 “Get a demo” 表单只问了邮箱。后端这个 workflow 自动用 Clearbit 把邮箱补成完整资料(公司、职位、规模),再让 AI 评分(0-100)+ 评价 → 写入 HubSpot。销售看到的 lead 都是富化过的。
🔍 工作流连线图
Section titled “🔍 工作流连线图” ▦ workflow lead-enrichment.workflow.json Lv.2
📋 关键节点
Section titled “📋 关键节点” ⚙ key-config.txt
Lead Webhook (Webhook):
Path: /new-lead
HTTP Method: POST
Body: { email, ... }
Enrich via Clearbit (HTTP):
URL: =https://person.clearbit.com/v2/people/find?email={{ $json.body.email }}
Auth: Header Auth (Clearbit API key)
AI Lead Scoring:
System: 根据 Clearbit 数据评分 0-100,给一句话评价。
考虑: 公司规模、行业、职位级别。
输出 JSON: { score, reason }
Response Format: json_object
Create HubSpot Contact:
Email: ={{ $('Lead Webhook').body.email }}
Company: ={{ $('Clearbit').employment.name }}
LeadScore: ={{ $json.score }}
📥 一键复制 Workflow JSON
Section titled “📥 一键复制 Workflow JSON” 📋 lead-enrichment.workflow.json