Lead routing is the set of rules that decides who handles an incoming enquiry. The decision should produce an owner, a reason and a next action. When a rule cannot be applied, the enquiry needs a visible review queue with someone responsible for it.
Start with the routing policy worksheet and example test cases. They cover ordinary assignments, existing owners, missing data and duplicates. For a runnable example, use the offline lead routing kit.
◢Write the policy before drawing the automation
A routing rule contains four decisions: what qualifies, which rule takes precedence, who receives the work and what happens if that owner cannot take it. “Send to sales” leaves the last two unresolved.
Imagine a fictional company with one founder handling small sales enquiries, an account team handling larger ones, and separate support and billing queues. Its worksheet might use this order:
| Priority | Condition | Destination | Why this rule comes first |
|---|---|---|---|
| 1 | Invalid record or repeated event ID | Human review | Avoid an unsupported assignment or duplicate action |
| 2 | Declared support request | Support queue | A customer problem should not enter a sales rotation |
| 3 | Declared billing request | Billing queue | Invoice questions have a separate owner |
| 4 | Sales enquiry with a confirmed active account owner | Existing owner | Preserve an established sales relationship |
| 5 | New sales enquiry; 1–99 employees | Founder sales | Example allocation for this company |
| 6 | New sales enquiry; 100 or more employees | Account team | Example boundary, including exactly 100 |
| 7 | Missing, conflicting or unsupported information | Human review | Keep uncertainty visible |
The employee threshold is a fictional business choice. It is not a recommendation that a 99-person company should always be sold to differently from a 100-person company.
The downloadable worksheet adds an existing-owner rule to help you plan a production policy. The runnable kit uses a narrower policy: validation and duplicate review, request type, then employee count for sales. It does not look up account ownership or staff availability. Keep that distinction in mind when comparing its output with your own rules.
◢Choose a routing method that fits the work
| Method | Useful when | Main question to resolve |
|---|---|---|
| One accountable owner | A founder handles all new sales enquiries | Who covers absence? |
| Existing account ownership | Someone already manages the relationship | Which record is authoritative? |
| Territory or expertise | Language, service region or product knowledge changes who can help | What happens when several rules match? |
| Round robin | Eligible colleagues can handle equivalent enquiries | Does equal assignment mean fair workload? |
| Capacity-aware assignment | Work varies substantially in size or urgency | Is the workload information current enough to trust? |
For a two-person team, one owner plus a named backup may be easier to operate than a rotation with several exceptions. Add complexity when an actual assignment problem requires it.
Product behaviour matters here. HubSpot documents that its rotation counts assignments for that particular workflow action, rather than every record a person already owns. Its rotation action can also overwrite an existing owner, and requires eligible paid subscriptions and seats. Check those settings before assuming “even rotation” means balanced workload or protected account ownership.
Those are HubSpot-specific details. Other tools can use different counters, ownership defaults and availability rules.
◢Follow one enquiry through the decision
Here is a fictional example. Cedar Studio submits a sales enquiry with ID lead-cedar-01, a non-empty message and an employee count of 18. There is no known account owner.
- Validate the fields required by the policy.
- Check whether this event has already been processed.
- Read the declared request type: sales.
- Check for an existing owner if your system supports that step.
- Apply the small-sales rule and record Founder sales as the destination.
- Store the decision and create the agreed next task.
Now change one input at a time. At exactly 100 employees, the sample boundary selects Account team. With employee count missing, the record goes to review. If the request is billing, company size should not matter. If the same event arrives again after a network retry, it should not create a second task.
This last case needs durable memory in a live integration. The local kit checks duplicate IDs inside one batch. It does not remember what happened yesterday or prevent a later run from repeating an external action.
◢The review queue is part of the workflow
“Other” is not an owner. Give unresolved enquiries a person, an agreed review interval and enough context to make a decision. Preserve the original submission separately from the routing result.
Useful review reasons include a missing employee count, unsupported request type, conflicting account matches or an unavailable destination. Keep those reasons distinct. Otherwise a dashboard with 40 “errors” cannot tell you whether to repair a form, fix an integration or ask a customer a question.
Be explicit about conflicting signals. A form can say “sales” while its message asks about an invoice. A simple rules engine cannot establish what the person intended. If the mismatch is detected, ask a person to resolve it instead of inventing confidence.
For genuine sales uncertainty, send the owner to the qualification checklist. Routing should not quietly declare the prospect qualified just because an owner was found.
◢Test the awkward cases before enabling assignments
Use the test-case CSV as an acceptance checklist. It includes expected destinations so a reviewer can see what the policy means. Replace the owner names with your own before using it.
Test at least these situations:
- A complete new enquiry, plus the exact boundary between two rules.
- A support message from a company that also has a sales owner.
- An employee count entered as text where the receiving system expects a number.
- The same event delivered twice, both together and in separate runs.
- A CRM timeout after the assignment may already have succeeded.
- An owner who has left the team or is unavailable.
- A later change to a field that originally determined the owner.
For the timeout case, query or reconcile the earlier outcome before retrying an action that might duplicate work. For changed fields, decide whether reassignment is allowed and whether the existing owner must approve it. These are policy decisions as well as integration decisions.
The Test Lab write-up explains the limited comparison behind the local kit. Its fictional examples do not establish live accuracy, a response-time improvement or a conversion lift.
◢Measure whether enquiries reach a person
A completed automation run is only one part of the outcome. Track records without an owner, unresolved review age, duplicate actions and manual reassignments. Keep receipt, assignment and first human action as separate timestamps.
An instant automated acknowledgement does not mean a salesperson has responded. Likewise, a record assigned to someone who cannot access it has not reached a useful destination.
Review the cases people reassign. If most changes come from one ambiguous form field, fixing that field may remove more work than replacing the routing tool. Use enrichment only where an extra fact changes the assignment, and add follow-up automation after the ownership and stop rules are clear.
The inbound lead capture recipe connects these decisions into a proposed workflow. Product documentation checked on November 20, 2026; the policy and CSV cases are fictional examples, not production integration tests.