Automated B2B Lead Scoring Pipeline with GPT-4o-mini, FastAPI, and n8n
Описание и применение
Автоматизированный пайплайн оценки B2B‑лидов с GPT‑4o‑mini, FastAPI и n8n, который обрабатывает входящие формы за 3 секунды, фильтрует бесплатные почтовые сервисы, сканирует сайты компаний и направляет высоко‑интентные лиды в 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