Operations · Techjockey · Shipped · 5 min read
Automated lead distribution: from a manual queue to minutes
How do you route every marketplace lead to the right vendors within minutes, and keep it fair to vendors who pay for leads?
The Lead Distribution Algorithm (v2.0, then v3.0) replaced hand-picking vendors from a queue with a rules engine. It waits until each lead is complete, matches it to the best-fit vendors by category, and paces vendors fairly against what their plan promised. Lead assignment dropped from about 7 hours to about 3 minutes, the lead qualification rate doubled in HR, CRM and accounting categories, and every routing decision is logged in the CRM.
At a glance
- Lead assignment time, manual queue → automated
- 7 hrs → 3 min
- Lead qualification rate, HR, CRM and accounting categories
- 15% → 30%
- First connect rate
- +38%
- Algorithm versions shipped
- v2.0 → v3.0
- Role
- Product Manager · User pod lead
- Context
- Shipped at Techjockey
- Format
- Internal system · rules engine
- Key concepts
- Rules engine · Category matching · Credit-based plans · Fair pacing · Chatbot · CRM activity logs
The problem
Techjockey is a software marketplace: buyers leave their details on a product page, and vendors on paid plans buy credits to receive those leads. When a lead landed on a product without a paid plan, it waited in a queue until someone picked vendors for it by hand: too slow for buyers, whose intent cooled while they waited, and with no consistent way to be fair to the vendors who had paid.
How I made the call
Six stages, from the manual queue to the result. The schematics are illustrative; the only numbers on them are real results.
How a lead flows through ALDS
ALDS (the automated lead distribution system, shipped as Lead Distribution Algorithm v2.0 and then v3.0) runs as soon as a lead is complete. A person only gets involved when a category is outside its scope.
Lead captured
The buyer leaves their details on a product page or through the chatbot.
Already spoken for?
A lead on a product with a paid plan already belongs to that vendor. Every other lead goes to ALDS.
Wait until it's complete
The chatbot collects details one at a time, so routing waits until the lead is whole. A short, deliberate pause beats routing a half-filled lead.
In scope?
If ALDS doesn't cover the lead's category, a person routes it, as before.
Match, closest first
The engine looks for the best-fit vendors by category, starting with the closest match and widening only while it still needs vendors.
Check and pace
Vendors who don't qualify drop out: the buyer doesn't meet their criteria, they have reached today's cap, or they already had this lead. The rest are paced against what their plan promised.
Share with a few, and log it
The lead goes to only a few vendors, then into the usual sales workflow. Every decision along the way is logged in the CRM.
What each rule protects
Each rule gives something up, a little speed, reach or volume, to protect a buyer or a vendor.
Fair pacing
Fairness- Each vendor is paced against what their plan promised by now, not served in turn. Vendors behind their plan catch up; vendors ahead of it ease off.
- Impact
- Nobody who paid is starved, and no single vendor soaks up the flow. Trade-off: a vendor who is ahead of plan may wait for leads they would have liked.
Daily cap per vendor
Guardrail- Each vendor has a ceiling on how many leads they receive in a day.
- Impact
- A large balance can't be burnt in a day, and smaller vendors still get their share. Trade-off: some volume for the biggest buyers of credits.
No repeats
Lead quality- The same lead isn't sent to the same vendor twice.
- Impact
- Vendors don't pay twice for one buyer, and buyers aren't chased twice by the same company. Trade-off: reach.
Complete before routing
Data integrity- Routing waits until every detail of the lead is saved. Chatbot leads arrive a detail at a time, so routing on arrival would send half a lead.
- Impact
- No half-filled lead reaches a vendor. Trade-off: assignment takes minutes, not zero.
Vendor acceptance criteria
Fit- When a vendor has set qualifying questions, a lead must meet them before it can be sent to that vendor.
- Impact
- Vendors say which buyers they want, without anyone screening leads by hand.
A few vendors, then a fallback
Coverage- Each lead goes to only a few vendors. If no close match exists, the engine widens the match; categories outside its scope go to a person.
- Impact
- Every in-scope lead is put to work without a crowd calling the buyer. Trade-off: reach.
What I took away
Speed and fairness needed different fixes. Speed came from automating the queue, with one deliberate exception: a short wait so no lead is routed half-filled. Fairness came from one principle, pacing each vendor against what their plan promised. Writing every rule down, and logging every decision, is what turned distribution from someone's judgement into a system sales and vendors can question and trust.
Want to talk through this?