# Lead routing context

> To give inbound leads competitive context, take the lead's company domain, call the SimilarIQ search API in the background, and write the top look-alikes to the lead record. Each search costs $0.25 and returns up to 100 companies with a match score, type and confidence. Routing rules can then use overlap with your customers. Firmographics and contacts still come from your enrichment tools.

Source: https://similariq.ai/use-cases/lead-routing-context · Updated 2026-11-25

## The job: telling the rep who this company competes with before the first call

Inbound routing normally works on a few fields: company size, region, maybe an industry picklist. Those decide which queue a lead joins. They do not tell the person who picks it up anything about the lead's business. The rep opens the record, sees a name and a headcount band, and starts researching from zero.

A competitor set attached to the lead changes that first minute. If the record shows the eight companies this lead most resembles, a rep knows the market at a glance. If three of those eight are already your customers, the rep knows which references to use, and your routing logic has a strong signal that this lead belongs with the team that serves that kind of account.

Building that by hand is not realistic at inbound volume. It needs a lookup that takes a domain and returns comparable companies in a structured form. SimilarIQ does that: one domain in, up to 100 ranked look-alikes out. The design work is in fitting a search that takes roughly 30 to 60 seconds into a routing flow that should feel immediate.

## The SimilarIQ workflow, step by step

Extract a company domain from the lead. Use the website field if the form has one, or the domain of the work email. Skip free-mail addresses and domains you have already searched. This filter is your main cost control, because each distinct domain you send is one credit.

Call the search in the background. Send `POST https://similariq.ai/api/v1/search` with the domain in the request body and your key in the `X-API-Key` header. The call is synchronous and responds with the full ranked list after roughly 30 to 60 seconds, so run it from a queue or an automation step, never inside the form submission itself. Route the lead on your existing rules first and let the context arrive a minute later.

Each result has `rank`, `company`, `domain`, `matchScore` from 0 to 100, `type`, `confidence` from 0 to 100 and `likelyCompetitor`. The response also includes a `searchId`, the number of `likelyCompetitors` and your `creditsRemaining`. Write a compact summary to the lead record: the top five to ten companies by rank, and the search ID so anyone can open the full list.

Then compute the fields that drive routing. Compare the returned domains with your customer list and with your open opportunities. Store a customer-overlap count and the names of the matching customers. Details of the endpoint are in the [API documentation](https://similariq.ai/api), and the [REST API feature page](https://similariq.ai/features/rest-api) covers authentication.

## An AI-agent version of the same job

If an AI agent triages your inbound queue, it can do the same work through the SimilarIQ MCP server. Before spending a credit it calls `list_recent_searches`, which is free, to see whether the domain was searched already. If it was, `get_search_results` returns the stored list at no cost. If not, `find_similar_companies` runs a fresh search for one credit.

The agent then writes a short note for the rep: who this company resembles, which of those are existing customers according to the CRM tool it also has access to, and which relationship types dominate the list. `create_share_link` gives it a read-only URL to paste into the record. `get_search_balance` lets it stop and alert someone when the balance runs low.

Two instructions keep an inbound agent safe. First, one search per distinct business domain, and none for free-mail or obviously invalid domains. Second, describe the lead only from tool results. The agent has similarity data from SimilarIQ. It has no revenue, headcount or contact data from it, and should take those from your enrichment tool or leave them out.

## Cost model with worked numbers

A search is $0.25 for up to 100 look-alikes, which is $0.0025 each, and API calls draw on the same balance at the same price as the app. There is no separate API plan. Cost follows the number of distinct business domains you search, not the number of form fills.

Take a hypothetical team receiving 1,500 inbound leads a month. If 500 use free-mail addresses and 200 are repeat domains, 800 distinct business domains remain. That is 800 searches, or $200.00 a month. A smaller team with 200 qualifying domains a month spends $50.00. At 1,000 qualifying domains the monthly cost is $250.00.

Put a ceiling on it. Auto-refill tops up the balance when it runs low, and a monthly cap you set is a hard limit on what your card can be charged. A sudden wave of junk submissions then cannot produce an open-ended bill. See [spend controls](https://similariq.ai/features/spend-controls). Failed searches return a 502 and the credit is refunded automatically, and re-reading a past search is free, so repeat leads from a known domain cost nothing.

## What the output is, and what you bring from elsewhere

The search returns companies and similarity evidence: name, domain, match score, relationship type, confidence and a likely-competitor flag. It does not return the lead's own headcount, revenue, location, industry code, technology stack or funding. It returns no contacts and no intent signals. It is competitive context, not a replacement for form enrichment.

So the routing record still needs its usual inputs from your enrichment provider: size and region to pick the segment and territory, and the person's role to judge seniority. SimilarIQ adds a layer those tools usually lack, which is the lead's neighbourhood. The customer-overlap count is the bridge between the two, and you compute it by joining the returned domains against your own CRM.

There is no native CRM sync. You write the fields through your CRM's API or your automation platform. Keep the stored summary small, with the full list one click away through the search ID or a share link. This pattern is a per-lead version of [CRM enrichment](https://similariq.ai/use-cases/crm-enrichment), which covers the batch case for existing accounts.

## Routing rules you can build on the competitor set

Remember what the labels mean here. The `type` on each row describes that company's relationship to the lead, not to you. A Direct result is a direct competitor of the lead. That is why overlap with your customers is informative: if the lead's direct competitors already buy from you, the lead probably has the same need.

Start with rules that are easy to explain to a rep, and treat thresholds as hypotheses to test against outcomes. Feed the overlap count into your [lead scoring](https://similariq.ai/glossary/lead-scoring) as one input instead of letting it decide alone.

- Customer overlap of three or more: route to the team that owns those customers' segment.
- A named strategic customer in the lead's top ten: alert that account's owner.
- The lead's domain appears in your own company's look-alike list: flag as a possible competitor before a rep shares anything.
- An open opportunity in the lead's top results: notify that opportunity's owner for timing.
- No overlap and low confidence across the list: route normally and mark context as weak.

## Metrics that show the context is useful

Measure two things: whether the pipeline is reliable, and whether the context changes outcomes. Reliability numbers come from your integration logs. Outcome numbers come from your CRM.

- Share of qualifying leads with a competitor set attached within five minutes.
- Searches avoided through the repeat-domain check.
- Conversion to meeting for leads with customer overlap versus without.
- Rep usage: how often the competitor field is opened before first contact.
- Monthly spend against the cap, and cost per enriched lead.

## Pitfalls to avoid

The most common mistake is making the lead wait. A search is a fresh research pass, not a cache lookup. If your form handler blocks on it, the visitor sees a slow page and your speed-to-lead suffers. Decouple it: acknowledge and route first, enrich asynchronously.

The second is weak error handling. Treat each status code deliberately. A 502 means the search failed and the credit was returned, so retry later. A 429 means you are sending bursts faster than the rate limiter allows, so queue and back off. A 402 means the balance is empty, so alert a human instead of retrying. The [error handling](https://similariq.ai/features/error-handling) page lists each code.

The third is searching the wrong domain. Email domains for subsidiaries, regional sites and holding companies may not describe the business the lead works in. Prefer the website the lead typed when you have one. And keep the API key on the server. Keys are shown once at creation and can be revoked from the app at any time.

## Getting-started checklist

Prove the value on last month's leads before wiring anything into the live flow.

- Export one month of inbound leads and reduce them to distinct business domains.
- Run two domains on the free signup searches and show the results to a rep.
- Bulk-search a sample of 40 for $10.00 and compute customer overlap.
- Check whether overlap separates leads that converted from leads that did not.
- Create an API key, set a monthly cap, and build the background call with a repeat-domain check.
- Write the top results, overlap count and search ID to the lead record.
- Add one routing rule, measure it for a full cycle, then add the next.

## Frequently asked questions

### Can SimilarIQ enrich a lead in real time on form submit?

It can enrich shortly after submit, not during it. A search takes roughly 30 to 60 seconds because it is a fresh research pass. Route the lead on your existing rules first and attach the competitor set from a background job when the search returns.

### What does it cost per inbound lead?

One search is $0.25, and you only need one per distinct business domain. If 800 of 1,500 monthly leads are distinct business domains, the cost is $200.00 a month. Repeat domains are free to re-read from history.

### Does the search return the lead's company size or industry?

No. It returns up to 100 look-alike companies, each with a name, domain, match score, relationship type, confidence score and likely-competitor flag. Size, industry, location and contact data for the lead come from your enrichment provider.

### How do I stop spam leads from running up charges?

Filter before you search: skip free-mail domains, invalid domains and domains you have already searched. Then set a monthly cap, which is a hard ceiling on what your card can be charged. Auto-refill is optional and works within that cap.

### What happens if a search fails?

The API returns a 502 and the credit is refunded automatically, so you pay only for results. It is safe to retry. Build your integration to queue the retry instead of dropping the enrichment.

### Does SimilarIQ sync with Salesforce or HubSpot directly?

No. There is no native CRM sync. You call the REST API from your own code or automation platform and write the fields to the CRM yourself. For batch work, the app also exports CSVs formatted for Salesforce Accounts and HubSpot Companies imports.
