This workflow automatically enriches inbound leads, evaluates their business fit, updates HubSpot, and alerts the team only when a lead meets qualification criteria. It eliminates manual research and scoring while keeping CRM data clean and complete.
| Step | Component | Purpose |
|---|---|---|
| 1 | Form Trigger | Captures a new lead’s Name + Email |
| 2 | AI Lead Enricher Agent | Uses Azure OpenAI + Bright Data MCP to search the public web and fill missing contact + company details |
| 3 | Structured Output Parser | Ensures AI returns clean JSON in a strict schema |
| 4 | Lead Scoring Agent | Calculates a numeric Fit Score (0–100) based on ICP match |
| 5 | IF Logic | Routes the lead based on Fit Score threshold (> 70 = qualified) |
| 6 | HubSpot Actions | Updates/creates Contact & Company with enriched properties |
| 7 | Slack Notification | Sends high-quality leads to the team instantly |
The enrichment agent populates the following fields only if validated with high confidence:
If reliable data is not found → field stays "" (no hallucination, no guessing).
The Fit Score (0–100) evaluates how aligned the lead is with a:
B2B automation / AI / RevOps agency targeting SaaS and tech companies
Score increases for:
| Fit Score | CRM Update | Slack Notification |
|---|---|---|
> (qualified) |
Contact + Company updated | YES — sales alert sent |
≤ 70 (not qualified) |
Contact + Company updated | No notification |
This ensures:
✔ 0 manual research
✔ 0 manual lead scoring
✔ Real-time alerts for high-value leads
✔ Eliminates poor data quality in HubSpot
✔ Works instantly on every form submission
This workflow can run fully autonomously or be extended with: