CRM data decay audit: bounce risk and job changes in a small contact sample

This recipe uses the official LeadMagic and HubSpot MCP servers, and both work in Claude and ChatGPT. Steps that write, send or spend credits wait for your approval.

IntermediateRevOpsAbout 20–30 minutes

Who it's for: RevOps teams who want to know how stale their contact data is, segment by segment, before a big campaign or a data-vendor renewal, without changing any records. LeadMagic can be swapped for ZeroBounce, and HubSpot for Salesforce, Attio or Pipedrive.

You need:

Download data-decay-audit.md

Different tools, or a different job? Build a recipe with LeadMagic and HubSpot and your other tools, and get a prompt your assistant can design from.

Paste these prompts, in order

Use one conversation. Nothing is written, sent or spent until you approve it.

  1. Count my HubSpot contacts by {segment_field} and show me a table. Then pick a random sample of {n_per_segment} contacts per segment from contacts not updated in {months} months: name, email, company, company domain, job title and segment. Don't change any records.

  2. Check my LeadMagic credit balance. Tell me how many email checks and people lookups this sample needs, and wait for my approval.

  3. After I approve it, check each work email in the sample with LeadMagic's validate_work_email. Show me a table per segment with valid, invalid and couldn't-confirm counts and rates.

    Waits for your approval
  4. Only after I approve the lookups, use LeadMagic people search to find each sampled person by name and old company domain. Flag anyone now at a different company, with the new company and title, and mark weak matches 'not sure'. Then check my credit balance again.

    Waits for your approval
  5. Give me a short summary by segment: invalid rate, job-change rate, the combined decay rate, and three example records. Keep it here as text. Don't write anything to HubSpot or LeadMagic.

Rules it follows

These are in the download too. Keep them when you change the prompts.

  • Read only in HubSpot. Don't edit, delete or unsubscribe any contact.
  • Check my LeadMagic credits first, and tell me how many checks the run needs before spending any.
  • Spend credits only after I approve, and only on the sample I approved.
  • Don't create LeadMagic tables or bulk enrichment jobs.
  • Report every rate with its count, and say when a segment is too small to compare.

Where does this go wrong?

And what to check each time.

The sample isn't random

Sorting by created date or name skews the result. Ask for a random pick in each segment, and check that the sample's created dates spread across the segment instead of bunching up.

Segments too small to compare

At 20 contacts a segment, one bounce moves the rate by 5 points. Show counts next to every rate, and don't rank segments that differ by only one or two contacts.

A name match finds the wrong person

A people search by name can return someone else with the same name. Match on name plus the old company domain, and mark anything weaker as 'not sure' instead of a job change.

A promotion counted as a job change

A new title at the same company isn't decay. Compare the old and new company domain, and count only people whose company changed.

Which MCP servers does it use?

Every server is confirmed in: ClaudeChatGPT

LeadMagic

Prospecting & Lead Data

Works in
Claude, ChatGPT, Claude Code, Cursor, Copilot
Access
Read + write
Credits
Some tools use credits
Up · authDocs · 2026-10-16. Endpoint · 2026-11-30.

HubSpot

CRM & Marketing

Works in
Claude, ChatGPT
Access
Read + write
Credits
Not confirmed
Up · authDocs · 2026-11-20. Endpoint · 2026-11-30.

How do I set it up?

Every server in this recipe is confirmed for Claude and ChatGPT. Connect each one, then paste the prompts below into one conversation.

Developer setup

HubSpot

HubSpot's remote server docs do not name Claude Code or Cursor. They say any MCP client that supports OAuth with PKCE can connect to https://mcp.hubspot.com after you create an MCP connector. That does not confirm those two apps, so this listing marks both as not confirmed.

Source: developers.hubspot.com, checked 2026-11-02

The local Developer MCP server is a different product. Its setup page names Claude Code and Cursor, and you install it with the HubSpot CLI (hs mcp setup). It runs on your computer and is for building apps and CMS content. It is not the CRM server at the URL above.

Source: developers.hubspot.com, checked 2026-11-02Source: developers.hubspot.com, checked 2026-11-02Source: developers.hubspot.com, checked 2026-11-02

For a remote client, create the connector under Development, then MCP Connectors. Copy the client ID, client secret, and redirect URL. The redirect URL in the client has to match the connector. PKCE is required. If OAuth fails, check PKCE and that redirect URL before you change anything else.

Source: developers.hubspot.com, checked 2026-11-02

Any client that accepts a remote MCP URL can use the config below. That does not confirm Claude Code or Cursor.

Source: developers.hubspot.com, checked 2026-11-02
{
  "mcpServers": {
    "hubspot": {
      "url": "https://mcp.hubspot.com"
    }
  }
}
  • LeadMagic: Sign in with OAuth in your client (run /mcp in Claude Code). Do it once interactively, and the client stores and refreshes the token.

Put this in .mcp.json (Claude Code, project root) or ~/.cursor/mcp.json (Cursor). Swap the example keys for your own, and don't commit real ones. Remove the // comment lines if your client requires strict JSON.

{
  "mcpServers": {
    "leadmagic": {
      "url": "https://mcp.leadmagic.io/mcp"
    }
  }
}

How long does it take, and what does it cost?

Estimate About 20–30 minutes, most of it picking the sample and reading the results.

Assumptions: One run over a sample of 60 contacts, 20 in each of three segments.

  • LeadMagic: A free credit balance check before and after, one work email check per sampled contact, and one people search per contact you approve for the job-change check. Both kinds of call spend credits and run only after you approve. Some tools use credits. Most tools use credits (e.g. find_work_email 1, validate_work_email 0.25, detect_job_change 3, find_mobile_number 5 if found, account_intel ~2-58, enrich_contact ~1-20); check_credit_balance, preview_cost and get_account_analytics are free. MCP uses the same credits as the REST API with no extra cost. Source: leadmagic.io, checked 2026-10-16
  • HubSpot: Reads only: a contact count per segment and a search that pulls the sample's name, email, company, title and segment. Credit use not confirmed by HubSpot. Everyday work through HubSpot connectors for Claude, ChatGPT, Gemini, and Microsoft Copilot, plus the MCP server and Agent CLI, comes included with a HubSpot seat and is not an extra charge. For power users, HubSpot Credits can expand the capacity included with the seat. Third-party agents on HubSpot's existing APIs count toward the plan's included API capacity and do not consume credits. Usage in HubSpot's governed agent environment, including purpose-built agentic APIs, is paid for with HubSpot Credits. How much everyday capacity a seat includes is Not confirmed. All functionality in Claude is subject to HubSpot's API usage limits and guidelines. Source: hubspot.com, checked 2026-11-20

Exact credit costs depend on your plan with each vendor. Check the tool pages before a large run.

Can I run it on a schedule? (optional)

  • Run it quarterly, or before a big campaign or a data-vendor renewal, and compare the rates with the last run.
  • Keep the same segments, filter and sample size each time so the rates are comparable.
  • If you schedule it, stop after the sample and the credit check. Approve the credit spend yourself each time.

Gotchas

  • Most LeadMagic tools use credits. check_credit_balance is free, and validate_work_email costs 0.25 credits per email.
  • LeadMagic can also create Tables and submit bulk enrichment jobs, which spend credits. This recipe uses neither, so say no if it offers.
  • On Claude Team or Enterprise, an Owner adds LeadMagic as a custom connector in Organization settings first. In ChatGPT, an admin may need to enable developer mode, and ChatGPT may expose only some of the tools.
  • HubSpot's setup needs an admin: non-admin users need a Super Admin to approve the connector before they can connect.
  • ZeroBounce instead? It has validate_email and validate_batch, but its listing doesn't confirm Claude or ChatGPT support or its credit costs. It uses an API key, and on Claude Team or Enterprise only an Owner or Primary Owner can add its hosted connector.
  • Using Salesforce instead? Count and sample contacts with a SOQL query. Salesforce needs Enterprise Edition or above and an admin-created External Client App, and Salesforce says Hosted MCP is for customers with Flex Credits, and you may be billed. That metering is not active yet.

Further reading

Hand-picked articles, videos and podcasts about LeadMagic and HubSpot. They're editorial picks, not sources for the facts on this page. All resources

Download

Get the prompts, guardrails and expected output as one Markdown file. Paste it into a Claude Project or ChatGPT project's instructions, or save it as CLAUDE.md for Claude Code.

Download data-decay-audit.md

Vendor sites: HubSpot. If we join an affiliate program, these links will be labeled as affiliate links.