Most B2B teams overpay 300+ USD/month for Clearbit or Clay just to qualify inbound form submissions.

Here is how to build a self-hosted B2B Lead Triage and AI Enrichment Engine using n8n + Python FastAPI that filters free emails, scrapes prospect company domains live via httpx and BeautifulSoup4, and scores ICP fit (0-100) with gpt-4o-mini in under 3 seconds.

Architecture

  1. Webhook Trigger (n8n): Captures inbound leads from Typeform, Tally, Webflow, or custom forms.
  2. Corporate Domain Filter (Python): Blocks 100+ free email providers (gmail, yahoo, outlook).
  3. Zero-API Live Domain Scraper (httpx + BeautifulSoup4): Extracts company title, meta description, and homepage copy in real time.
  4. LLM ICP Qualification (gpt-4o-mini): Outputs strict JSON (icp_score, priority, recommended_action, draft_reply).
  5. Instant Slack Routing (n8n IF Node): Leads scoring 70+ trigger an instant alert in #sales-alerts.

Grab the Complete Plug-and-Play System

Instead of coding the async scraper timeouts, FastAPI endpoints, and n8n nodes from scratch, grab the full production package (enrichment_service.py + ready-to-import n8n_workflow.json + 5-min setup guide):

Download the B2B Lead Triage and AI Enrichment Engine on Gumroad (LAUNCH29 Auto-Applied: 18 EUR OFF)

Code LAUNCH29 is automatically applied via the link above for the first 5 copies.