Enrich signups before they get in
Signup enrichment with Sortance means looking up the company behind an address during the signup call, but only when one of your rules needs the answer. A rule like “review companies under 50 people” triggers a lookup. A throwaway address caught by an earlier rule never does. Replay estimates what the rule adds per 1,000 signups before you switch it on.
/v1/decide, policies, replay and shadow experiments are live. The enrichment vendors behind them (People Data Labs, then Apollo) have adapters built, but no production contract is confirmed, so a rule that reads enrichment.* evaluates as unknown today and the signup falls through. No enrichment pricing is published.
Why enrich at signup and not later?
Because the decision you care about happens at the form. Enriching a CRM record a day later tells sales who signed up. Enriching inside the signup call decides what happens to them: straight in, the sales flow, or a review queue. Plenty of B2B products already have this rule somewhere, written as an if around a headcount field someone fetched by hand.
The usual mistake is to enrich everybody. Most signups are settled by the address alone: a disposable domain, a role inbox, a consumer mailbox on a work-email-only signup form. Paying a vendor to profile those is money spent on people you were never going to let in. On fake signups it’s worse than wasted, because a made-up address at a real company domain can come back with a real company attached.
How does signup enrichment work in Sortance?
You write the rule, Decide walks your rules in order, and the lookup happens only if the walk reaches a rule that needs it.
{
"id": "r_small_company",
"label": "Review companies under 50 people",
"when": { "field": "enrichment.company.employees", "op": "lt", "value": 50 },
"then": { "action": "review", "tags": ["small_company"] },
"on_unknown": "skip"
}You don’t have to write that JSON. Type the sentence into the policy assistant and it compiles to a rule like this one, from the same closed vocabulary, for you to read before it is saved. Then, at the form:
const d = await fetch("https://api.sortance.com/v1/decide", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SORTANCE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
email,
context: { purpose: "signup", enrich: "auto", max_cost_usd: 0.5 },
}),
}).then((r) => r.json())
// d.decision is allow | allow_with_flow | review | challenge | deny
// d.enrichment is the profile, or null when no rule needed one- Verify. The address goes through the same checks as
/v1/verify, and its answer is embedded unchanged. - Walk the rules. If an earlier rule settles it, for example a disposable address denied by rule one, no profile is bought.
- Enrich, narrowly. Only the fields the rules read, only by domain when the rules read only company fields, and only under what is left of
max_cost_usd. Consumer mailboxes are never looked up. - Decide. First matching rule wins; no match means your default action.
Set max_cost_usd explicitly if a rule reads person fields. Without it, enrichment gets a $0.10 allowance, a person lookup can cost more than that, and it will be skipped with a reason that says so.
What will it cost per 1,000 signups?
Replay answers that before the rule is active. POST /v1/policies/replay runs the candidate policy over your own recent decisions (500 by default, up to 2,000) and returns estimated_cost_delta_usd_per_1k: how much more, or less, enrichment the new version would buy per 1,000 decisions than the one that’s active.
It counts a lookup only where the walk would actually have reached an enrichment rule, and never for a consumer mailbox. Two caveats. The prices it multiplies by are list prices recorded in the worker and not confirmed against every vendor’s current rate card, so treat the number as an order of magnitude. And decisions stored without enrichment replay with enrichment: null, which means a headcount rule shows you its cost before it can show you how many people it would have caught. The response says how many traces that applied to.
Then shadow, then enforce
A shadow experiment runs the new version on every live signup and records what it would have decided while the current version keeps answering. Shadow isn’t free when the new rule reads enrichment: the shadow variant buys the profile it needs. When the decision mix looks right, enforce it on a share of traffic. See experiments.
Rules worth enriching for
| Rule in English | Field it reads | Lookup it buys |
|---|---|---|
| Review companies under 50 people | enrichment.company.employees | Company, by domain |
| Review anyone outside fintech and insurance | enrichment.company.industry | Company, by domain |
| Send VPs and above to the sales flow | enrichment.person.seniority | Person, sends the address |
| No disposable addresses | Verification only | None |
Put the free rules first. Every signup they settle is one you don’t pay to enrich.
What it won’t do
- Deny on missing data. Rules default to
on_unknown: skip. A vendor with no answer means the rule doesn’t match, not that the signup is rejected. - Break the form. An enrichment outage returns a decision anyway, with
degraded: enrichment unavailableinreasons. - Stop bots. Sortance looks at the address. Bots need throwaway inboxes and we close that door, but pair it with Turnstile or hCaptcha. For trial farming specifically, see free trial abuse.
The full picture of the decision call is on Decide. If you want to call enrichment without a policy, that’s the email enrichment API.
Questions people ask
What is signup enrichment?
Signup enrichment looks up the company, and sometimes the person, behind an email address while they are signing up, before the account exists. The point is to make a decision with it: route a 2,000-person company to sales, send a 10-person team to self-serve, or hold an off-target signup for review. With Sortance it happens inside POST /v1/decide.
Does every signup get enriched?
No. With context.enrich set to auto, the default, a profile is bought only if evaluation reaches a rule that reads an enrichment field. Rules run in order, so a disposable address denied by an earlier rule never costs a lookup. Consumer mailboxes like Gmail are never enriched at all. You can force it with always or turn it off with never.
What happens to a signup when enrichment has no answer?
The field is unknown, and rules default to on_unknown: skip, so the rule does not match and evaluation moves on. The signup falls through to later rules or your default action, which is allow unless you changed it. The reasons list says why, for example degraded: enrichment unavailable. Missing data is never turned into a lost signup unless you write a rule that does that.
How do I know what signup enrichment will cost before I turn it on?
Run POST /v1/policies/replay with the candidate policy. It replays your last 500 decisions by default, up to 2,000, and returns estimated_cost_delta_usd_per_1k: the change in enrichment spend per 1,000 decisions against your active version. The estimate uses list prices recorded in the worker that are not confirmed against every vendor's rate card, so read it as an order of magnitude.
Can I enrich signups today?
The plumbing is live: decide, rules, replay and shadow experiments all run. The data is not. Sortance's production contracts with People Data Labs and Apollo are unconfirmed and no vendor key is set, so rules that read company fields currently evaluate as unknown and fall through. You can write and replay the policy now; it starts matching once a vendor is connected.