Win/loss themes for the quarter

This recipe uses the official HubSpot and Gong MCP servers, and both work in Claude and ChatGPT. Every step only reads data.

IntermediateSales leadersRevOpsAbout 20–30 minutes

Who it's for: Sales leaders and RevOps who want to know why deals were won or lost last quarter, with counts and examples, before a QBR or planning session. HubSpot can be swapped for Salesforce, Attio or Pipedrive, and Gong for Fireflies or Granola.

You need:

Download win-loss-themes.md

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

Paste these prompts, in order

Use one conversation. Every step only reads data.

  1. Find all HubSpot deals closed won or closed lost between {quarter_start} and {quarter_end}. Show me a table with deal name, company, amount, owner, won or lost, and the lost reason if one is filled in. Give me the totals. Don't change any records.

  2. Suggest which deals to analyze in Gong: every lost deal over {min_amount}, plus up to {n_won} won deals from different owners. Show me the list and how many Gong calls that means, and wait for me to confirm it.

  3. For each deal I confirm, use Gong ask_deal once to ask why it was won or lost, which competitors came up, and the main objections. If Gong can't find the deal, use ask_account on the company and say so. Give me one line per deal.

  4. Group the reasons into themes, separately for won and lost. For each theme show the deal count, the number analyzed, the total amount, and two or three examples with the Gong answer or HubSpot field behind them. List deals with no Gong data, and every deal where the HubSpot lost reason and Gong disagree.

  5. Write a five-line summary I can paste into my QBR deck. Keep it here as text. Don't write anything to HubSpot.

Rules it follows

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

  • Read only in HubSpot and Gong. Don't edit any deal, field or note.
  • Only include deals closed won or closed lost in the quarter I name.
  • Show me the deal list and wait for me to confirm it before any Gong call.
  • Give every theme a count, the number of deals analyzed, and at least two examples with their source.
  • Call Gong evidence a summary, not a quote.

Where does this go wrong?

And what to check each time.

Precise-looking numbers from a small sample

Five deals in a theme reads like a trend, but it may be five of 22. Show the number analyzed next to every count, and skip percentages when a group has fewer than 10 deals.

Themes copied from the CRM lost reason

Reps often pick 'Price' by default. Compare each deal's lost reason in HubSpot with what Gong says, and list every disagreement instead of picking one.

The wrong set of deals

Close dates get edited after the fact, and some deals sit in other pipelines. Check the won and lost totals against a HubSpot report for the same quarter once before you trust the themes.

Deals with no call data folded into a theme

Gong's MCP server leaves out private calls, and some deals were never recorded. List deals with no Gong answer on their own, and keep them out of the theme counts.

Which MCP servers does it use?

Every server is confirmed in: ClaudeChatGPT

HubSpot

CRM & Marketing

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

Gong

Conversation Intelligence

Works in
Claude, ChatGPT
Access
Read only
Credits
Every call uses credits
Up · authDocs · 2026-11-02. 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"
    }
  }
}

Gong

Gong's help pages checked for this listing do not name Claude Code or Cursor. Both stay not confirmed. Any remote client still needs three things: the facts below, an integration that a Gong tech admin creates, and OAuth.

Source: help.gong.io, checked 2026-11-02
Server URL
https://mcp.gong.io/mcp
Sign-in
OAuth 2.0 (admin-registered integration: automatic registration or manual client ID/secret; scopes mcp:read / mcp:write)
Transport
Remote HTTP (JSON-RPC)

Manual sign-in can send scopes mcp:read, mcp:write, or both. If the scope field is empty, Gong grants the scopes on the integration. The documented tools still do not create, update, or delete data.

Source: help.gong.io, checked 2026-11-02Source: help.gong.io, checked 2026-11-02

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

Estimate About 20–30 minutes, most of it confirming the deal list and reading the themes.

Assumptions: One quarter with about 45 closed deals, of which you confirm about 20 for Gong analysis.

  • HubSpot: Reads only: closed deals for the quarter, with owners, amounts and associated companies. 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
  • Gong: One ask_deal call per confirmed deal, plus an ask_account call for any deal Gong can't match. Each call uses Gong credits. Every call uses credits. All three tools (ask_account, ask_deal, generate_brief) consume Gong credits based on the volume of calls and emails analyzed; briefs cost more per open-ended section. Same consumption as the equivalent API requests. Source: help.gong.io, checked 2026-10-16

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 once a quarter, a week or two after quarter close, so late stage updates have landed in HubSpot.
  • Every Gong call uses credits based on how many calls and emails it analyzes. In a scheduled run, stop after the deal list and wait for you to confirm which deals to send to Gong.
  • A Gong tech admin has to set up the MCP integration, and non-admin HubSpot users need a Super Admin to approve the connector. Do one manual run first.

Gotchas

  • Gong charges credits per call, based on how many calls and emails it analyzes. Twenty deals means at least twenty calls, so confirm the list before you start.
  • Gong's MCP server is read-only and doesn't return raw transcripts. To quote a customer, open the call in Gong yourself.
  • HubSpot admins can limit what the connector can access. If the deal count looks low, check the connected account's access before you read anything into the themes.

Further reading

Hand-picked articles, videos and podcasts about HubSpot and Gong. 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 win-loss-themes.md

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