Automated B2B Lead Scoring Pipeline with GPT-4o-mini, FastAPI, and n8n
说明与用途
使用 GPT‑4o‑mini、FastAPI 和 n8n 的自动化 B2B 线索评分管道,能够在 3 秒内处理入站表单,过滤免费邮箱,抓取公司网站,评分 ICP 适配度,并将高意向线索路由到 Slack。
问题
Manual verification of inbound B2B leads delays conversion and wastes time.
结果
Lead triage completed in under 3 seconds, high‑intent leads routed to Slack, personalized replies generated automatically.
工作流
- Receive inbound form email via n8n
- Send email data to FastAPI microservice
- FastAPI filters free email providers
- FastAPI scrapes prospect domain title and meta description with httpx
- FastAPI calls gpt-4o-mini to score ICP fit (0‑100) and draft reply
- FastAPI returns structured JSON
- n8n IF node routes leads with icp_score >= 70 to Slack #sales-alerts
- n8n sends personalized reply to lead
证据
Speed‑to‑lead is the biggest multiplier in B2B sales. Waiting hours to manually check if an inbound form email is a real company kills conversion rates.
By combining n8n with a Python FastAPI microservice and gpt-4o-mini, you can filter free email providers, scrape the company website live, score ICP fit (0-100), and draft a personalized reply in under 3 seconds.
Enforcing JSON mode in FastAPI allows your downstream n8n IF node to route high‑intent leads (icp_score >= 70) straight to Slack #sales-alerts.
- 记录日期: 2026-10-13T21:41:09.292Z