Skip to content
AT
All case studies
Professional Services 2023 3 months

HubSpot Lead Routing & Enrichment Engine

Rules-driven lead scoring, enrichment and territory routing on top of HubSpot, replacing a manual triage that ran once a day.

Client
B2B services company
My role
Full-stack engineer
Team
Solo
median first response
14h → 10min
leads auto-routed
100%
manual triage steps
0

The challenge

Inbound leads sat in a shared inbox until someone triaged them by hand — typically the next morning, sometimes Monday. Response time was the company's main competitive weakness, and territory assignment rules lived in one operations manager's head.

The solution

A Laravel service consumes HubSpot webhooks, enriches each lead against company data, scores it against configurable rules and assigns an owner by territory and round-robin load balancing — writing the result straight back to HubSpot.

The routing rules are editable in an admin UI, so operations changes territories without engineering. Everything runs through queued jobs with retry, and an audit view shows exactly why any given lead went to any given rep — which turned out to matter more than the routing itself when reps disputed assignments.

The outcome

Median first response fell from roughly 14 hours to under 10 minutes, and territory rules became documented configuration instead of tribal knowledge.

Technical highlights

  • Webhook-driven, queue-backed processing with retries
  • Admin-editable scoring and territory rules
  • Per-lead routing audit trail

Stack

PHP Laravel REST APIs Vue 3 MySQL HubSpot

More work

Read the Partner Portal for an Enterprise SaaS Vendor case study
B2B SaaS / 2025

Partner Portal for an Enterprise SaaS Vendor

A multi-tenant portal where 600+ resellers register deals, track commission and pull co-marketing assets — with every deal mirrored into Salesforce in...

PHP Laravel REST APIs Vue 3 MySQL +2
Read case study
Read the Multi-Touch Attribution Dashboard case study
Manufacturing / 2025

Multi-Touch Attribution Dashboard

Campaign reporting across Marketo, Salesforce and web analytics — 40M+ touchpoints rendered as funnel, cohort and attribution views that load in under...

PHP Laravel Vue 3 MySQL Salesforce +1
Read case study

Facing a similar problem?

Tell me where it hurts — integrations dropping records, a dashboard nobody trusts, or a legacy portal you cannot safely touch.

Start a conversation