Logotipo de Build Lead Scoring

Build Lead Scoring

Comunidad
TomGranot
build-lead-scoring

Crea un modelo completo de puntuación de leads con puntuaciones independientes de adecuación e interacción mediante la nueva herramienta de puntuación de leads de HubSpot. Sustituye la propiedad obsoleta HubSpot Score.

Add to TypingMind

Descripción general

EditorTomGranot
Repositoriohubspot-admin-skills
Nombre de la habilidadbuild-lead-scoring
Estrellas
79
Forks
18
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por TomGranot en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Build Lead Scoring en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/build-lead-scoring
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills.git /tmp/hubspot-admin-skills
mkdir -p .claude/skills
cp -r /tmp/hubspot-admin-skills/skills/build-lead-scoring .claude/skills/build-lead-scoring
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Build Lead Scoring en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Build Lead Scoring automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Build Lead Scoring no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Build Lead Scoring Model

Create a two-score lead scoring model using HubSpot's new Lead Scoring tool: a Fit score (ICP company fit + persona match) and an Engagement score (behavioral signals with time decay). This enables sales to prioritize by company fit and marketing to prioritize by engagement recency.

Why This Matters

Without scoring, every lead looks equally (un)important. Sales has no ranked list of who to call first, marketing cannot trigger stage progressions based on engagement, and there is no way to differentiate between a senior decision-maker at a target-vertical enterprise and a generic contact who has never opened an email.

Prerequisites

  • Super Admin permissions in HubSpot
  • HubSpot Marketing Hub Professional or Enterprise
  • ICP Tier property created and workflows processed (create-icp-tiers skill must be completed first)
  • Access to Marketing > Lead Scoring (the new tool, NOT the deprecated "HubSpot Score" property)

Critical: Old vs New Lead Scoring

The legacy "HubSpot Score" property was retired on August 31, 2025 — it stopped being editable in July 2025 and stopped updating entirely at the retirement date. Any workflow, list, or report still referencing hubspotscore has been running on frozen data since then; part of this skill's job is to find and repoint those references.

The Lead Scoring tool (Marketing > Lead Scoring) supports:

  • Layered architecture: total score limit → group limits → rules → criteria
  • Engagement decay (points reduce over time automatically)
  • Separate Fit vs Engagement score types, with time frames and thresholds
  • Scoring for contacts, companies, and deals
  • Up to 5 total scores per portal

Scores are API-readable, and configuration now has a beta API. HubSpot's Lead Scoring API (/marketing/lead-scoring/2027-03-beta/scores, scopes marketing.lead_scoring.read and marketing.lead_scoring.write, Marketing or Sales Hub Professional and above) can create a score as a draft, overwrite the draft, publish, deactivate, clone, and delete, for contacts and companies. It is beta and subject to change, a PUT replaces the whole draft, and its reference does not cover decay settings. This skill therefore still builds the model in the UI, where every option is visible, and treats the API as a way to back up or clone a finished score. Each score you create auto-generates CRM properties (the score value and a threshold property). Those properties are readable and filterable through the CRM Search API like any other property, which is what the After stage and the /lifecycle-progression-workflow scripts rely on. Find the internal property names under Settings > Properties after creating each score.

Interview: Gather Requirements

Before executing, collect the following information from the user:

Q1: What job titles/personas are most valuable to you?

  • Examples: CEO, COO, CFO, CTO, CRO, VP of Operations, VP of Marketing, Director of Operations, Director of Marketing, Head of Procurement, Engineering Manager
  • Default: C-suite and VP-level leaders get the highest scores, followed by Director and Manager-level roles

Q2: What engagement actions matter most?

  • Examples: Email opens, email clicks, form submissions, website visits, content downloads, webinar registrations
  • Default: Form submissions (+30), email clicks (+25), website visits (+20), email opens (+15)

Q3: What negative signals should reduce scores?

  • Examples: Unsubscribe, hard bounce, competitor domain, no activity in 6+ months, free email domain (gmail, yahoo)
  • Default: Global unsubscribe (-100), hard bounce (-50), no activity 6+ months (-20), missing company name (-10)

Q4: What score threshold should trigger MQL status?

  • Examples: Fit > 30 AND Engagement > 20, combined score > 50, any threshold that matches your sales handoff criteria
  • Default: Fit Score > 30 AND Engagement Score > 20

Plan

  1. Review any existing scoring models in the portal
  2. Create the Fit Score (company fit + persona match)
  3. Create or update the Engagement Score (behavioral signals with decay)
  4. Allow 4-6 hours for HubSpot to recalculate all contacts
  5. Verify scoring distribution and accuracy (after state)

Before

  1. Navigate to Marketing > Lead Scoring
  2. Note any existing scores (you have a limit of 5 total)
  3. Review existing score criteria — decide whether to update or replace
  4. Check that ICP Tier property is fully populated on companies (run create-icp-tiers after state check)
  5. Search for leftover references to the retired hubspotscore property in workflows, lists, and reports — these have been frozen since August 2025 and must be repointed to the new score properties

Execute

Create the Fit Score

  1. Go to Marketing > Lead Scoring
  2. Click Create score
  3. Select Fit as the score type
  4. Select Contact as the scored object
  5. Name it descriptively (e.g., "Lead Fit Score")
Score Group 1: ICP Company Tier

Use Associated company property > ICP Tier:

These are starting points -- calibrate based on your actual conversion data after 30 days.

CriteriaConditionPoints (suggested range)
Primary ICP CompanyICP Tier is "Tier 1 - Primary ICP"+25 to +35
Secondary ICP CompanyICP Tier is "Tier 2 - Secondary ICP"+15 to +25
Tertiary ICP CompanyICP Tier is "Tier 3 - Tertiary ICP"+5 to +15
Not ICP CompanyICP Tier is "Not ICP"-10 to -20
Score Group 2: Persona / Job Title

Use Contact property > Job title > contains any of:

These are starting points -- adjust titles and weights to match your buyer personas.

CriteriaExample Title ValuesPoints (suggested range)
C-Suite ExecutivesCEO, COO, CFO, CTO, CRO, CMO, Chief Revenue Officer+20 to +30
VP-Level LeadersVP of Operations, VP of Marketing, VP of Sales, VP of Finance+20 to +30
Director-LevelDirector of Operations, Director of Marketing, Head of Procurement, Director of Finance+15 to +25
Manager-LevelEngineering Manager, Operations Manager, Marketing Manager, Procurement Manager+10 to +20
Other Relevant TitlesAnalyst, Coordinator, Specialist (if relevant to your sales process)+5 to +10

Customize these titles based on your buyer personas. The point values should reflect how likely each persona is to be a decision-maker or champion for your product. The ranges above are starting points -- review after 30 days and adjust based on which titles actually convert.

Score Group 3: Negative Fit Signals
CriteriaConditionPoints
Missing Company NameCompany name is unknown-10
Hard BouncedHard bounce reason is known-50
Globally UnsubscribedUnsubscribed from all email = True-100
  1. Set the overall score maximum (recommended: 100)
  2. Save and turn ON

Create the Engagement Score

  1. Click Create score (or edit existing engagement score)
  2. Select Engagement as the score type
  3. Select Contact as the scored object
  4. Name it descriptively (e.g., "Lead Engagement Score")
Positive Engagement Criteria
CriteriaConditionPointsDecay
Opened Marketing EmailLast marketing email open date within last 30 days+15Monthly
Clicked Marketing EmailLast marketing email click date within last 30 days+25Monthly
Visited WebsiteNumber of Sessions > 0+20Quarterly
Submitted a FormNumber of Form Submissions > 0+30Quarterly
Negative Engagement Criteria
CriteriaConditionPoints
No Email Activity 6+ MonthsLast marketing email open date > 180 days ago-20
  1. Set the overall score maximum (recommended: 100)
  2. Save and turn ON

Example Combined Scoring Framework

For reference, here is how the two scores work together to prioritize contacts:

Contact ProfileFit ScoreEngagement ScorePriority
CEO at Tier 1 company, clicked email this week~60~55Highest
Director of Operations at Tier 2 company, form submission~40~50High
Unknown title at Tier 3 company, email open only~10~15Medium
No title, Not ICP, no activity in 6 months~-25~-20Lowest

For Lifecycle Progression

If you want to automatically progress contacts through lifecycle stages based on scoring:

  • Define a combined threshold (e.g., Fit Score > 30 AND Engagement Score > 20 = MQL; typically the combined threshold falls in the 40-60 range, but calibrate based on your pipeline)
  • Build this as a separate workflow — /lifecycle-progression-workflow creates it via the v4 Automation API; set its LEAD_SCORE_PROPERTY config to your new score property's internal name
  • This is a separate task from building the scoring model

After

Allow 4-6 hours for HubSpot to fully recalculate all contact scores. The new Lead Scoring tool processes asynchronously, and large databases take time.

Verification

  1. Go to Contacts > Contacts
  2. Click Edit columns and add both score properties to visible columns
  3. Sort by Fit Score descending

Check the top 20 contacts:

  • Job titles should be target personas (CEO, VP of Operations, Director of Marketing, etc.)
  • Associated companies should be Tier 1 or Tier 2
  • If a non-relevant contact appears at the top, review the scoring criteria for issues

Check the bottom contacts:

  • Sort ascending (lowest scores first)
  • Bottom contacts should be unsubscribed, bounced, or at Not ICP companies
  • If relevant contacts appear at the bottom, review negative signal weights

Check score distribution:

  • Filter Fit Score > 50: High-priority fit (should be your best prospects)
  • Filter Fit Score 20-50: Medium fit
  • Filter Fit Score 1-19: Low fit
  • Filter Fit Score <= 0: Disqualified (should be unsubscribed, bounced, or bad data)

Sanity check:

  • Pick 3 contacts at random
  • Manually calculate their expected scores based on your criteria
  • Compare to actual scores
  • Investigate any discrepancies

Score distribution via API (the score properties are searchable like any property — replace the property name with your score's internal name from Settings > Properties):

python
resp = requests.post(f"{BASE}/crm/v3/objects/contacts/search", headers=HEADERS, json={
    "filterGroups": [{"filters": [
        {"propertyName": "your_fit_score_property", "operator": "GTE", "value": "50"},
    ]}],
    "limit": 1,
})
print(f"Contacts with Fit Score >= 50: {resp.json()['total']}")

Rollback

  • Scores can be turned off or deleted in Marketing > Lead Scoring. Deleting a score removes its generated properties — check that no workflows or lists reference them first (especially /lifecycle-progression-workflow and any "MQL Ready" lists).
  • The retired legacy hubspotscore property cannot be revived; there is nothing to roll back to.

Key Technical Learnings

  • The legacy "HubSpot Score" property is gone (retired August 2025). Anything still referencing hubspotscore runs on frozen data. Repoint it to the new score properties.
  • Score properties are API-readable; configuration has a beta API. Use the Search API to verify distributions and drive automation off score properties. Build and tune rules in the UI, and use GET /marketing/lead-scoring/2027-03-beta/scores/{scoreId} to snapshot a published configuration before changing it. A draft must be published before it evaluates any records.
  • Two separate scores are better than one. Fit and Engagement serve different purposes: Fit tells you WHO to talk to (company and persona match), Engagement tells you WHEN to talk to them (behavioral recency). Combining into one number obscures both signals.
  • Score decay is a major improvement. Enable it on engagement criteria so scores naturally decrease over time. Without decay, a contact who clicked one email two years ago looks the same as one who clicked yesterday.
  • Allow 4-6 hours for recalculation. Do not panic if scores show 0 immediately after creation. The new tool processes asynchronously across the entire database.
  • Limit of 5 scores per portal. Plan carefully. You may want to reserve slots for future scores (e.g., product-specific engagement scores).
  • Tune the model after 30 days. Review whether top-scored contacts are actually converting. Adjust point values based on real conversion data. Lead scoring is iterative, not one-and-done.
  • Negative signals are as important as positive ones. Hard bounces and global unsubscribes should carry heavy negative weight to push these contacts to the bottom regardless of other factors.
  • ICP Tier is the highest-leverage scoring input. It captures firmographic fit in a single property. Without it, the Fit score has no company-level signal and relies entirely on persona matching.

Preguntas frecuentes

¿Qué hace la habilidad de IA Build Lead Scoring?

Crea un modelo completo de puntuación de leads con puntuaciones independientes de adecuación e interacción mediante la nueva herramienta de puntuación de leads de HubSpot. Sustituye la propiedad obsoleta HubSpot Score.

¿Por qué usar Build Lead Scoring en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Build Lead Scoring está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Build Lead Scoring en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/TomGranot/hubspot-admin-skills/tree/main/skills/build-lead-scoring. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Build Lead Scoring?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Build Lead Scoring?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Build Lead Scoring con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Build Lead Scoring?

Sí. TomGranot la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇