How to Build a Lead Scoring Model in Clay: A Step-by-Step Formula Framework
A Clay lead scoring formula with firmographic and technographic weights, the Number column type, thresholds that route, and a recalibration cadence you can keep.
A decision that sinks a lead scoring model in Clay comes before a single row gets scored. It's how many attributes you start with. Pick fifteen on day one, weight them by gut feel, and never open the model again after it ships, and you end up with a number that can't tell you which of its inputs is wrong.
The formula syntax is the easy half. Clay's formula column will happily sum, branch, and nest whatever logic you give it. The harder half is discipline. Keep the attribute set small enough that you can tell what's working, and come back to check it on a schedule.
Here's a step-by-step framework for a model that still works six months from now, real formula syntax included. It separates fit from intent, shows the formula column code, and covers what to do once the model stops matching your closed deals.
Lead scoring vs. account scoring: pick the right unit before you build anything
It's easy to conflate these, and the mix-up breaks models before they start.
Lead scoring evaluates a person. Did this specific contact fill out a form, open three emails in a week, view your pricing page twice? It's mostly behavioral, it decays fast, and it belongs at the contact-record level.
Account scoring evaluates a company. Headcount, funding stage, tech stack, industry. It's mostly firmographic, it barely moves month to month, and it belongs at the company-record level.
That matters in Clay because your table structure has to match the unit you're scoring. Score a person on a company-level table and you double-count every contact from the same account. Score a company on a person-level table and one enthusiastic intern's browsing spikes the whole account's score.
Many teams will want both, joined. A lead score tells you who to call first inside an account. An account score tells you whether the account is worth calling at all. Blending the two into a single number hides which one you're actually looking at: a good account, or just an active one. We've made that argument on its own, in more depth, in a separate piece on scoring buying intent without a black-box model. This piece is the implementation.
For outbound, the account score comes first, and it's cheap enough to test. In a test on 27 October 2026, scoring one company from its domain cost 1.99 BlitzAPI records on average across 200 random domains. That's 398 billed records for 200 companies (398 / 200 = 1.99), two calls a company, and 199 of the 200 came back with a headcount and a size band. The test has a limit worth knowing. It can't tell you how often a domain lands on the right company: a crude name check flagged 8 of the 199 matches, one is clearly wrong, and the other seven are unchecked. It was measured on one plan only, and we haven't tested whether 1.99 holds for very young companies. The full test is written up here, and the account scoring model template covers the company-level table.
Step 1: choose 5 to 7 firmographic, technographic and behavioral attributes
Start smaller than feels responsible.
The reason is mechanical. With fifteen attributes feeding one score, when a segment converts well and still scores low, there's no way to isolate which of the fifteen is wrong. You're debugging a black box you built yourself.
Pick a small, deliberately limited set from the groups below. They're candidates; use five to seven of them.
Firmographic, the fit signals that rarely change:
- Company size band, usually headcount
- Industry or vertical match to your ICP
- Funding stage or revenue band, when it correlates with deal size
Technographic, the stack signals:
- A tool in their stack that indicates budget and sophistication, like the CRM they run
- A recent tool change, which can double as an intent signal
Behavioral, the intent signals that decay fast:
- Pricing or demo page visits in the last week
- Email engagement within a lookback window you set
- A specific high-intent action, like a trial request or a technical asset download
Disqualifying, for any of the groups above:
- A personal email domain (gmail, yahoo) on a form fill, when you sell B2B
- A named competitor's domain
- A geography or company size band you don't serve
Seven attributes total, maybe eight if a negative signal is doing real work. And you will want to add more almost immediately. Don't, not yet. Ship this, watch it against real deals for a month, and add an eighth attribute only once you can point to a specific decision the current seven get wrong. Attribute count is the one lever to stay most conservative with, since every attribute you add multiplies the number of interactions you'd have to check the next time the score misses.
Step 2: enrich the underlying fields before you score anything
A formula is only as good as the field sitting behind it. If {{Employee Count}} is blank on 40% of your rows, no formula logic fixes that. Enrichment has to run and land cleanly before the scoring formula ever touches the row.
Which enrichments feed which score
Headcount and funding stage come from a firmographic enrichment step, usually a waterfall: try one data provider, fall through to a second when the first comes back empty, then a third. Clay is built around exactly this pattern. If you're still deciding which platform to build the waterfall in, we've compared the real tradeoffs between Apollo, ZoomInfo, and Clay elsewhere.
Tech stack detection usually comes from a site scrape or a dedicated lookup enrichment, and it feeds both fit (do they run tools that indicate budget and sophistication) and occasionally intent, since a recent tool change is itself a signal.
Job postings are firmographic-adjacent: open sales or RevOps roles often precede a buying motion, so they get pulled into a hiring-signal enrichment step of their own.
But personal-vs-work email matters at the individual form-fill level. A dedicated email-type enrichment step flags gmail.com, yahoo.com, and similar domains before the row ever reaches your formula column, since that's the fastest disqualifying signal available.
Get the enrichment waterfall right first. The formula in Step 3 assumes these fields are already populated.
Step 3: write the formula column, with real syntax
Here's the actual formula.
Clay's formula column runs standard JavaScript under the hood, plus a familiar spreadsheet function set (IF, SUM, VLOOKUP, and others) through FormulaJS. And you reference other columns by typing / and picking one, which inserts it as {{Column Name}}.
Number-based scoring: firmographic and technographic weights
The simplest pattern sums a set of weighted points.
Number(
(Number({{Employee Count}}) > 200 ? 20 : 0) +
({{Funding Stage}} == "Series B" || {{Funding Stage}} == "Series C" ? 15 : 0) +
({{Tech Stack}}.includes("Salesforce") ? 10 : 0) +
(Number({{Job Postings (GTM)}}) > 0 ? 10 : 0) -
({{Email Type}} == "Personal" ? 15 : 0)
)But every point value above is illustrative, a stand-in for whatever your own weights turn out to be. Wrap numeric fields in Number() before comparing them. Clay's comparison operators page lists >, < and the rest for numeric fields. An enrichment field that comes back blank or as text won't throw an error, and the comparison can quietly evaluate as false or zero, which is the silent-null problem in the warning further down. Put one row with a blank {{Employee Count}} in your table and check what it scores before you trust the column.
Grade-based scoring: compound conditions, ordered largest to smallest
Some teams want a letter grade instead of a point total, useful when routing matters more than ranking. Clay's conditional syntax uses IF / ELSE IF / ELSE, and compound conditions use && for AND, || for OR:
IF ({{Employee Count}} > 1000 && {{Funding Stage}} == "Series C") return "A"
ELSE IF ({{Employee Count}} > 200 && {{Funding Stage}} != "Seed") return "B"
ELSE IF ({{Employee Count}} > 50) return "C"
ELSE return "D"Order matters here, and it's easy to get backwards. Write > comparisons largest to smallest, top to bottom. Put the 1,000-employee condition first, not last. Check > 50 before > 1000 and every enterprise account matches the first branch it hits, never reaching the tier that actually describes it.

Casting the result so it's sortable and filterable
A formula column defaults to whatever type its output looks like, and text output doesn't sort numerically. Click the column header, hover the data type, and set it to Number. Clay's own documentation names this exact use case: the Number type is built for cases like lead scores and revenue measurements. But skip this step and a score of "100" sorts before "20," because the column is comparing characters, not values.
When Clay's Score Row is enough
Clay ships a native option too. Its own guide to building a lead scoring model (dated 2 May 2026, read November 2026) describes Score Row, under Add Enrichment, as handling firmographic scoring across up to 15 criteria. You set each factor, a comparison type, keywords and the points to assign, and Clay returns a number plus its reasoning.
If your model is firmographic and fits that form, start there. The formulas above are for when you want every weight and branch readable in one cell. One caveat: Clay's guide doesn't give Score Row's credit cost, and this page doesn't cover running it. We haven't run Score Row ourselves, so price it on a small test table first.
Step 4: set thresholds that route, not just rank
A sorted list is not a system.
If your score just orders leads top to bottom and nobody looks past row 20, the model isn't doing its job. Thresholds turn a ranking into a routing decision: this band goes to a rep today, this one goes to nurture, this one gets suppressed.
There's no universal number here. A round rule like "70+ triggers outreach" is somebody's default, and it wasn't set against your pipeline. The right threshold is the score at which your sales team can actually work the volume you're sending them. Too low, and reps drown in leads that never convert and stop trusting the score. Or too high, and you're sitting on leads that would have closed.
| Score band | What it typically signals | Routing action |
|---|---|---|
| Top band | Fits your ICP and shows recent behavior | Route to a rep the same day |
| Middle band | Fits on paper with no recent behavior, or the reverse | Nurture sequence or a lighter-touch queue |
| Bottom band | Fails fit criteria or tripped a disqualifying signal | Suppress, or route to marketing only |
Start by picking a band size your reps can actually clear in a day, then back into the score cutoffs that produce roughly that volume from your current pipeline. That's the reverse of how teams often start. They pick a round number, 50 or 70, because it feels definitive, then discover it sends three leads a week or three hundred. Size the routing action to your team's real capacity first. The score cutoff then follows from that decision.
Step 5: calibrate against real outcomes, on a cadence
Calibration decides whether your model is still worth trusting six months out, because it's the only step that checks the score against deals that actually closed.
Pull your closed-won deals against the score each lead or account had when it entered the pipeline. Not the score today, the score at the moment it became an opportunity. Then look for the mismatch: a segment that closes well but scored in your middle or bottom band, or a segment that scores high consistently but almost never converts.
When you find a segment that converts well and scores low, one of two things is true. Either an attribute you're weighting too heavily doesn't actually predict this segment, or you're missing an attribute entirely, something this group has in common that your current five to seven don't capture. Both are worth adjusting the formula for. And neither is worth guessing at.
Do this on a cadence, not once. A monthly pull suits a high-velocity motion; a quarterly pull suits a longer sales cycle. Either way, put the first check on the calendar the same week you ship the model, because "we'll revisit this later" is how a scoring model quietly turns into background noise nobody trusts.
A calibration pass should end in one of two changes: reweighting an existing attribute that turned out stronger or weaker than the first guess, or adding or dropping an attribute once the data shows something the original seven missed. What you're not doing is rebuilding the model from scratch every quarter. The formula from Step 3 keeps its shape. You adjust weights and thresholds against evidence.
We haven't published a measured before-and-after from a scoring model of ours, so treat every weight here as a starting point. The closed-won pull above is the test. Run it on your own pipeline before you trust anyone's weights, ours included.
Common failure modes to check before you trust the score
Three ways a Clay scoring model quietly stops being trustworthy, and none of them show up as an error.
Stale data driving stale scores is the second. An intent signal from six weeks ago isn't intent, it's history. If behavioral fields don't refresh on a schedule, the intent half of your score is really measuring last quarter, and nobody thinks to check the enrichment run date before trusting the number.
But the third is quieter: a score nobody routes off of. If sales stopped checking the score column two months ago and no one noticed, the model became a vanity metric the day that happened, not the day someone finally audits it. A score that doesn't drive a routing decision isn't a scoring model. It's a column.
So check all three before you call a scoring model finished. A formula that compiles cleanly and a formula that's actually trustworthy are different claims, and the gap between them is exactly these three failure modes.
When to build this yourself vs. bring in a GTM engineering partner
Many operators can build a version one of this themselves. Nothing in Step 1 through Step 4 requires more than a Clay seat and an afternoon. If that's where you are, build it.
Step 5 is where teams tend to stall. Calibration means someone checking the model against closed-won data on a cadence, month after month, and that's a discipline problem more than a technical one. It competes with every other fire in a growing GTM org, and it's usually the first thing to slip.
That's roughly where what GTM engineering actually looks like in practice diverges from a one-off Clay build: the ongoing operating discipline, not the initial formula. Some teams solve it by putting recalibration on one person's calendar and holding them to it. Others bring in a partner specifically to own that cadence. And neither is the right answer independent of how much time your team can actually give the ongoing maintenance. For the broader build-vs-buy question on GTM systems generally, we've written about that tradeoff separately.
Recap
Five to seven attributes, not fifteen. Split fit from intent before writing a single formula. Enrich the fields before scoring them. Write the formula with real syntax, cast the output as a number, order comparisons largest to smallest. Set thresholds your sales team can actually work, then calibrate against closed-won on a cadence you actually keep.
And once the model is routing leads correctly, the next system worth getting right is what happens after a lead scores high: the email infrastructure it needs to land anywhere.
Frequently asked questions
Should you score leads or accounts for outbound?
For outbound, score accounts first, then score contacts inside the accounts that pass. Account scoring evaluates a company on headcount, funding and tech stack. Lead scoring evaluates a person on behavior that decays within days. In Clay the two need separate table structures, and our account scoring model template covers the company one. Our score-every-account test on 27 October 2026 put a company score at 1.99 records on average across 200 domains.
What does a real Clay formula for lead scoring look like?
A number-based version sums weighted points inside Number(), wrapping numeric fields before comparing them, for example Number((Number({{Employee Count}}) > 200 ? 20 : 0) + ...). A grade-based version uses Clay's IF / ELSE IF / ELSE syntax with && for compound conditions, ordered largest to smallest: IF ({{Employee Count}} > 1000 && {{Funding Stage}} == "Series C") return "A".
How many attributes should a lead scoring model use?
Five to seven, drawn from firmographic and technographic fit, behavioral intent, and one or two disqualifying signals. A dozen inputs feeding one score give you no way to isolate which attribute is wrong when a segment converts well but scores low, which is why the limit exists. Add an attribute only once you can name a decision the current set gets wrong.
How often should you recalibrate a lead scoring model?
On a fixed cadence, not once at launch. A monthly pull suits high-velocity motions; quarterly suits longer sales cycles. Pull closed-won deals against the score each one had when it entered the pipeline, then check for segments that converted well but scored low. Put the first check on the calendar the same week the model ships.
Why does a Clay lead score column need to be set to Number type?
A formula column defaults to whatever type its output looks like, and text output sorts alphabetically, not numerically. Clay's own documentation names the Number type as built for cases like lead scores and revenue figures specifically. Skip this step and a score of "100" sorts before "20," because the column compares characters instead of values.
Supporting
- Clay, Conditional statements, read November 2026
- Clay, Logical operators, read November 2026
- Clay, Comparison operators, read November 2026
- Clay, Formula column overview, read November 2026
- Clay, Table columns overview, read November 2026
- Clay, How to Build a Lead Scoring Model (2026), dated 2 May 2026, read November 2026
- Lead Line Partners, Score every account, contact a beachhead, the 27 October 2026 company-scoring test
First-Party Signals From ABM Pages and What to Chain Them With
We put PostHog on the account pages we build for outbound. How we keep scanner visits out of the count, and which other first-party signals a real visit could be chained with.
What You Should Be Able to Open When You Hire an ABM Agency
An ABM agency writes to your buyers under your name. Seven things you should be able to open while the work can still change, from the account list to the bill.
Fractional SDR or an Agency: What You Own at Month Six
Six months in, a fractional SDR or an agency either hands you the domains, mailboxes and sequences or keeps them. Holding the tools yourself costs $157.58 a month at published plans.