When to use
- "Build a lead scoring model", "our lead scoring is broken", "what should count as an MQL", "sales says marketing leads are bad", "which inbound leads should sales call first", "set up lead scoring in HubSpot", "too many MQLs, too few meetings".
- A new sales team, a change in target market, MQL acceptance falling, or a scoring model nobody has checked in a year.
- Not for cleaning the CRM fields the model reads: use
crm-data-hygienefirst. - Not for adding missing company and contact data: use
lead-enrichment. - Not for choosing target accounts before they become leads: use
abm-target-list. - Not for defining the ideal customer from research: use
icp-and-personas(the model tests it against deals).
What you need
Required:
- History: leads created over the last 12–24 months, with fit fields (company size, industry, country, job title or seniority, business or personal email) and behaviour with dates (form submissions by form, demo or contact requests, pricing and comparison page visits, trial signups, webinar attendance, email clicks, product usage for product-led motions).
- Outcomes: which leads became opportunities, and which opportunities were won or lost, with dates.
- A sales counterpart: the person who will sign the MQL definition and what sales can handle (meetings or calls a week).
Ask for, or assume and state:
- What the score decides: route to sales now, SDR call order, or nurture. Default: route to sales.
- The outcome to predict: opportunity created within 90 days of becoming a lead (default), or a win within the sales cycle.
- Sales cycle length: sets the decay window and the back-test horizon.
- The ideal customer profile: from Brand Kit or
icp-and-personas; the history will confirm or correct it.
Data and tools
- In Slate: HubSpot sync reads contacts with lifecycle stage, created date, original and latest source, and first and last page seen; companies with domain; deals with stage, amount, close date, won or lost and stage history; and activity (calls, emails, meetings, notes). It doesn't include job title, company size, industry, country, form submission history, page views beyond the first and last page, email clicks, product usage or HubSpot's own scores: export those from the CRM and product analytics, or fill fit fields with
lead-enrichment. It reads only. Sheets scores the exported list row by row; an AI column can sort free-text job titles into seniority and function. Brand Kit gives the ideal customer profile and audiences to test. Artifacts keep the model spec sales signs. - With the Slate MCP server: CRM data isn't available through MCP; use the Slate app or an export.
import_csv_to_sheetloads the export,get_sheet_rowsreads it,manage_sheet_columnsadds score and band columns,execute_sheetruns an AI column (for job titles; pilot withselectionMode: "first_rows"first),get_brand_contextgives the profile,create_artifactsaves the spec. - Without Slate: CRM exports of contacts (with form submissions and page views where the CRM keeps them) and deals, product usage from product analytics, and a spreadsheet or code for the counts. HubSpot, Salesforce and most marketing automation tools can then hold the model.
Procedure
- Agree the decision with sales before any maths. What the score triggers, the outcome it predicts, and what sales calls a good lead today. Write down three recent leads sales loved and three they rejected, with why.
- Check the data is enough. Count won deals and opportunities in the history. Under about 40 wins (or 100 opportunities), weights from data are noise: build a rules-based model from the sales interviews, label it "unvalidated", and plan the back-test once enough deals exist. List fields that are missing or mostly empty; fix them through
crm-data-hygieneorlead-enrichment, or leave them out. - Split the history in time. Build from the older part (for example the first 12 months) and keep the most recent months whose outcomes are known as the test set. Score each lead with only what was known at the moment it would have been scored: activity after that moment, and fields filled in later by sales, don't count. Method in
references/backtest-and-decay.md. - Fit score (0–100). For each fit attribute, compare the share of won deals with each value against the share of all leads with it (lift). Give points to values with clear lift, nothing to neutral values, and negative points or a disqualifier to values that never buy (students, competitors, countries you don't serve, personal emails for B2B). Keep 4–6 attributes. Turn the score into grades A to D.
- Behaviour score (0–100, capped). Weight actions by intent: high (pricing or comparison pages, trial signup, a product limit reached), medium (webinar attended, case study read, several visits in a week), low (one blog visit, a newsletter click). Cap repeats per action. Leave email opens out: privacy features open emails automatically. Negative points for job-seeker visits, unsubscribes and hard bounces.
- Hand-raisers skip the queue. Demo, contact-sales and "talk to us" requests go to sales at once unless fit is D. Waiting for points on a hand-raiser loses deals.
- Decay behaviour. Points fade with age, matched to the sales cycle; default: full value for 30 days, half to 90 days, then zero. Fit doesn't decay but is rescored when its fields change. A lead recycled by sales starts its behaviour score again.
- Combine in a grid. Fit grade (A–D) by behaviour band (high, medium, low). MQL = A or B fit with high behaviour, or A fit with medium behaviour, or any hand-raiser not graded D. C fit goes to nurture whatever the behaviour; D never routes.
- Back-test on the test set. Report: share of won deals that would have been MQLs (capture), opportunity rate of MQLs against non-MQLs (lift), MQLs per month against sales capacity, and the won deals the model missed, one by one. Targets to agree with sales: capture of at least 70% of wins, MQL opportunity rate at least twice the non-MQL rate, volume within capacity. Adjust once on the build set, retest; don't tune on the test set until it passes.
- Sign the definition with sales. Show the grid, the back-test, the missed wins, and 20 recent leads scored with their reasons. Agree the follow-up time for MQLs, the rejection reasons sales must pick from, and the recycle rule. Record names, date and model version.
- Hand the spec to the CRM admin and run it in shadow for 2–4 weeks: score without routing, and compare with what sales does with the same leads.
- Monitor monthly: MQL volume, sales acceptance rate, rejection reasons, won deals that never became MQLs, and the score distribution. Recalibrate when acceptance falls below what was agreed or the market changes, at least twice a year.
Output
The model spec (an artifact sales signs) plus the back-test sheet.
## Lead scoring model v<n>: <company>, <date>
Decides: <route to sales / call order>. Predicts: <opportunity within 90 days>.
Built on <n> leads (<period>), tested on <n> leads (<period>). Data: <HubSpot sync + export of …>. Missing: <fields>.
### Fit (0–100) → grade
| Attribute | Value | Points | Lift in history |
Grades: A ≥ <x>, B <x>–<y>, C <y>–<z>, D < <z> or disqualified (<rules>).
### Behaviour (0–100, capped) and decay
| Action | Points | Cap | Decay |
Bands: high ≥ <x>, medium <x>–<y>, low < <y>.
### Grid and MQL definition
| Fit \ Behaviour | High | Medium | Low |
| A | MQL | MQL | Nurture |
Hand-raisers: to sales at once unless D.
### Back-test (test period)
Capture of won deals: <%>. MQL opportunity rate <%> vs non-MQL <%>. MQLs a month: <n> (capacity <n>).
Won deals missed: <list with why>.
### Agreement
Follow-up within <hours>. Rejection reasons: <list>. Recycle: <rule>. Signed: <marketing>, <sales>, <date>.
Quality checks
- Fit and behaviour are scored separately and combined only in the grid.
- Every point value traces to lift in the build set, or is labelled as a sales judgement.
- The back-test used only information known when each lead would have been scored, on leads not used to set the points.
- Missed wins are listed, not just the capture rate.
- MQL volume fits sales capacity.
- Email opens carry no points; hand-raisers aren't held back by points.
- The definition is signed by a named sales owner, with a version and date.
Common mistakes
- Points by opinion. "VPs are worth 20" without checking won deals; the history often disagrees.
- One blended score. A fit-D lead with lots of clicks reaches sales and confirms their view that marketing leads are bad.
- Testing on today's data. A lead scored with activity from after it became a customer always looks predictable.
- No decay. Scores only go up, so everyone becomes an MQL eventually.
- Scoring opens. Automatic opens make inactive contacts look engaged.
- Making demo requests wait. The highest-intent action in the funnel shouldn't need a threshold.
- Launching without sales. A definition sales didn't agree to gets ignored within a month.
