CRM hygiene sweep: send each rep their own fix-it list in Slack

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

IntermediateSales leadersRevOpsAbout 10–15 minutes

Who it's for: Sales leaders and RevOps who want stale deals cleaned up before forecast calls, without editing anyone's records for them.

You need:

Different tools, or a different job? Build a recipe with HubSpot and Slack 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. Find all open HubSpot deals and flag any with a close date in the past, no next step, no associated contacts, or no activity in 21 days. Group them by deal owner and show me a table. Don't change any records.

  2. Look up each deal owner in Slack by their email address. List anyone you can't match exactly, and skip them.

  3. For each matched owner, draft one short direct message listing only their flagged deals, one line per deal with what's missing. Show me all the drafts.

  4. Send each direct message only after I approve it. Then give me a one-line summary I can post in #revops: how many deals were checked and how many need fixes, with no deal names.

    Waits for your approval

Rules it follows

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

  • Read only in HubSpot. Don't edit, reassign or close any deal.
  • Only include open deals.
  • Match deal owners to Slack users by email, and skip anyone without an exact match.
  • Show me every draft and send only the ones I approve.
  • Put deal details in direct messages only. Any channel post gets counts only.

Where does this go wrong?

And what to check each time.

Message goes to the wrong person

The deal owner's HubSpot email may not match a Slack user (different domain, nickname, contractor account). Match on email first, list any owner without an exact match, and skip them instead of guessing.

Closed deals flagged as stale

A past close date is normal on won or lost deals. Make sure the sweep only reads open deals, and check the deal count against a HubSpot view once.

Rules that don't fit your process

'No next step' only works if your team uses that field. If a rule flags most deals, drop it or swap in a field your reps actually fill in.

Deal details in the wrong place

Amounts and customer names belong in direct messages, not a public channel. If you post a summary, keep it to counts.

Which MCP servers does it use?

Every server is confirmed in: Claude

HubSpot

CRM & Marketing

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

Slack

Team Messaging

Works in
Claude, Claude Code, Cursor
Access
Read + write
Credits
Not confirmed
Up · authDocs · 2026-10-16. Endpoint · 2026-11-30.

How do I set it up?

Every server in this recipe is confirmed for Claude. 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"
    }
  }
}
  • Slack: 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": {
    "slack": {
      "url": "https://mcp.slack.com/mcp"
    }
  }
}

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

Estimate About 10–15 minutes, most of it reviewing the drafts.

Assumptions: One weekly sweep over about 40 open deals and 4 deal owners.

  • HubSpot: Reads only: open deals, their owners and associated contacts. 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
  • Slack: A user lookup per owner, plus one direct message per owner after you approve it. Credit use not confirmed by Slack.

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 weekly, a day before forecast or pipeline review, so reps have time to fix things.
  • In a scheduled run, stop at the drafts: send them to yourself or save them as a canvas, and approve before anything reaches the reps.
  • Both HubSpot and Slack use OAuth, and Slack needs a workspace admin to approve the integration first. Test one manual run before you schedule it.

Gotchas

  • HubSpot's connector follows the connected user's HubSpot permissions, so it only returns deals that user can view. Connect with an account that can see the whole pipeline, or the sweep will miss deals.
  • Slack's MCP server needs a workspace admin to approve it before anyone can connect.
  • Messages are sent through the Slack account you connected, so reps may see them as coming from you. Send yourself a test message first so you know how they'll look.

Further reading

Hand-picked articles, videos and podcasts about HubSpot and Slack. 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 crm-hygiene-sweep-slack.md

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