← Blog

Connecting Claude to Your CRM: What It Takes

Many Claude and CRM setups never become workflows. Someone connects Claude to the CRM, asks it to summarize a contact, and the demo goes well. Nobody decides which field Claude writes to, what triggers the call or what happens when the data is incomplete, so nothing runs on its own. That upstream work is the integration.

We build Claude integrations through our AI integration service, so weigh that. Every fact below about Anthropic, HubSpot and Salesforce was checked against their own documentation in October 2026.

Short answer: There are two ways in. A connector lets you ask Claude questions about your CRM data in a chat, and both HubSpot and Salesforce publish MCP servers for that. A direct Claude API integration runs without anyone asking: a CRM event or a schedule triggers a call, Claude returns a structured result and your code writes it to a defined field. For a workflow that has to run every time, build the second kind. Define one input, one output and the error handling first. Costs are usually small at small-business volumes: on Anthropic’s published prices, scoring 1,000 leads with Claude Sonnet 5.5 costs a few dollars. Send only the fields the task needs, and check which terms govern your data, because it depends on how you access Claude.

What the Vendors Document

As of October 2026, from Anthropic, HubSpot and Salesforce documentation:

TopicWhat the documentation says
Claude Sonnet 5.5 API price$2 per million input tokens, $10 per million output tokens
Claude Haiku 5.5 API price$0.10 per million input tokens, $0.50 per million output tokens, for prompts up to 100,000 tokens
Batch API50% off input and output tokens, for requests that can run asynchronously
Structured outputTools are defined with a JSON schema; strict: true makes Claude’s tool calls match the schema exactly
Model trainingInputs and outputs from Anthropic’s commercial products, including the API, aren’t used to train models by default
Data Processing AddendumAnthropic’s DPA, with Standard Contractual Clauses, is part of its Commercial Terms; if you use Claude through a third-party platform, that platform’s terms govern
HubSpot MCP serverGives MCP-compatible AI tools read and write access to HubSpot CRM data, including contacts, deals and engagements
Salesforce DX MCP server@salesforce/mcp, with toolsets you switch on; the data toolset includes run_soql_query, and some tools aren’t yet generally available

Sources: Anthropic pricing, Claude tool use, Anthropic on model training, Anthropic DPA, HubSpot MCP server, Salesforce DX MCP server.

Why Most Claude + CRM Setups Fail Before They Start

The pattern is familiar: a team connects Claude to HubSpot or Salesforce, demos “summarize this contact” in a meeting, and a few months later nobody uses it. Nobody was wrong about Claude being useful. They skipped the architecture.

Plugin vs. Direct API: The Ownership Question

A connector is the quick route. With an MCP server, an AI tool can read your CRM and, with HubSpot’s server, write to it too (source). It’s good for questions a person asks in the moment. It doesn’t fire on its own when a deal changes stage, and what it can do is set by the vendor’s server and your AI tool’s settings.

If you use Claude inside another company’s product, that company’s terms govern your use of Claude, not Anthropic’s directly (source). Read them for data handling and retention.

A direct Claude API integration is different. You hold the API key. You decide exactly which CRM fields go into each prompt. The logic lives in your codebase, not in a settings panel, and it keeps working the way you built it. For a workflow your team will rely on, that matters more than setup speed.

What “Integration” Actually Requires

Every working Claude and CRM integration has three parts:

  • A defined input: which fields, triggered by which event.
  • A defined output: a structured record update, a drafted email or a score in a custom field.
  • Error handling: what happens when the API call fails, a field is empty or Claude returns something unexpected.

For the output, define a tool with a JSON schema and set strict: true, so Claude’s response always matches the shape your CRM expects (source). Skip any of the three and the integration stays a demo. Our guide to defining AI automation inputs and outputs covers the first two in detail.

The Use Cases Worth Building

Not every CRM task is worth automating. These have an output you can define and check.

Meeting Transcript → CRM Activity Log

A sales call ends and your recording tool produces a transcript. A webhook sends it to the Claude API, which extracts action items, next steps and deal signals and returns them in the schema of your CRM’s activity record. Your code writes the record.

The input is the transcript text. The output is a JSON object matching your CRM fields. Define both before you build. If the transcript is fragmented or the audio was poor, the extraction gets worse: the output can only be as good as the input.

Lead Qualification Scoring from Behavioral and Firmographic Data

When a new lead enters the CRM, from a form, an import or an inbound email, a Claude API call reads their firmographic fields (industry, company size, job title) and recent activity (pages visited, emails opened). Claude returns a qualification score and a one-sentence reason, written to a custom field.

This works when the fields are filled in consistently. If job titles are missing and company sizes are inconsistent, the scores will be unreliable and your sales team will stop trusting them. Fix the data before you score it.

Churn Risk Flagging with Weekly Account Scoring

Once a week, a scheduled job pulls each active account’s usage, last login, support ticket count and renewal date, and sends them to Claude with a prompt that returns a risk level (low, medium or high) and the two signals behind it.

The value is the ranked list on Monday morning, not the score. It breaks when the underlying data is stale. If logins don’t update or support tickets aren’t logged in the CRM, the score reflects your data gaps, not your churn risk.

Pipeline Summary Reports in Plain English

A Claude API call over your current deals, with stage, amount, close date and last activity, produces a plain-English pipeline summary: where the quarter stands, which deals have gone quiet and what needs attention.

It replaces the time someone spends assembling the report, not the judgment of reading it. And the summary is only as accurate as the deal data your reps enter.

Follow-Up Email Drafts Triggered by Deal Stage Changes

When a deal moves to “Proposal sent”, a webhook fires a Claude API call with the contact, company, deal amount and notes from the last meeting. Claude returns a follow-up draft, saved as a draft in your email system and linked to the CRM record.

The rep reviews and sends it. Draft quality depends on your system prompt and your notes. Sparse notes produce generic drafts that reps ignore. Keep the send step with a person; our post on human review checkpoints covers where that step belongs.

Inbound Lead Research and Context Enrichment Before First Call

When an inbound lead books a call, Claude pulls together what you already have: prior emails, form answers, CRM history and anything from enrichment sources you’re licensed to use. It writes a short briefing to the contact record before the rep joins.

If you have little on the lead, the briefing will be thin, and reps will stop reading thin briefings. Only use sources whose terms allow this kind of use.

Contract and Proposal Draft Generation from Opportunity Fields

When a deal reaches the contract stage, Claude receives the opportunity fields, such as service type, value, term and requirements from the notes, and produces a first-draft proposal or contract outline in a document linked to the CRM record.

It’s a first draft for a person to edit and approve, not a finished contract. How useful it is depends on how well the opportunity fields and notes are kept.

What Each Use Case Actually Takes to Build

MCP vs. Direct Claude API: The SMB Tradeoff

The Model Context Protocol is an open-source standard for connecting AI applications to external systems such as databases and tools (source). HubSpot’s remote MCP server gives MCP-compatible AI tools read and write access to CRM records (source). Salesforce’s DX MCP server is configured by toolset, and its data toolset includes a tool that runs SOQL queries against an org (source).

MCP fits when you want Claude to explore your CRM, deciding which records to look up as it goes. For one or two fixed workflows, a direct API call with a well-structured prompt is simpler to build, easier to debug and cheaper to run, because you control exactly what data goes in. Use MCP for open-ended questions. Use direct calls when you know the input and the output.

Estimating API Costs at Your Volume

You can work out the cost from Anthropic’s published prices (source). The token counts below are our own example assumptions; measure your real prompts before you budget.

  • Lead scoring, 1,000 leads on Claude Sonnet 5.5: about 1,000 input tokens and 150 output tokens per lead. That’s 1 million input tokens ($2) and 150,000 output tokens ($1.50), about $3.50 in total.
  • Weekly churn scoring, 500 accounts: about 1,500 input tokens and 100 output tokens each. That’s 750,000 input tokens ($1.50) and 50,000 output tokens ($0.50), about $2 a run.
  • Run it as a batch: jobs that don’t need an instant answer, like the weekly churn run, can use the Batch API at 50% off.

Costs climb when you run Claude across your whole database without a reason, send the full contact record into every prompt or call the API on every CRM event without filtering. Define your triggers tightly.

What SMBs Should Actually Build First

One Use Case, One Output, Defined Before You Start

Start with one specific problem. Not “let’s AI-power our CRM”, but “score every new lead and write the score and a one-line reason to a custom field”.

That specificity makes it buildable. The output definition comes first, not the integration. If you can’t name the exact field Claude writes to and the format of the value, you’re not ready to build.

EU and US Privacy Considerations

Sending CRM data to the Claude API means contact names, emails, company details and activity data leave your systems. A few facts help. Anthropic says it doesn’t use inputs or outputs from its commercial products, including the API, to train models by default (source). Its Data Processing Addendum, with Standard Contractual Clauses, is part of its Commercial Terms, so accepting the terms accepts the DPA (source).

Your own obligations remain. Under GDPR, personal data must be limited to what is necessary for the purpose, the data minimisation principle in Article 5(1)(c) (source). In practice: send Claude only the fields it needs to produce the defined output, not the whole contact record. That reduces your privacy exposure and your token costs.

If you process EU personal data, document the legal basis and the data flow before you go live, and get legal advice for your own case.

Frequently Asked Questions

Can I integrate Claude with HubSpot or Salesforce without coding?

For asking questions, mostly yes. HubSpot and Salesforce both publish MCP servers that let MCP-compatible AI tools read CRM data, and HubSpot’s can write too. For a workflow that runs on its own, triggered by a CRM event and writing a defined field every time, you need code or a workflow tool calling the Claude API.

What does it cost to run Claude API calls against a CRM with 5,000 contacts?

It depends on prompt size, the model and how often it runs. As an example, at 1,000 input and 150 output tokens per contact on Claude Sonnet 5.5, one pass over 5,000 contacts is 5 million input tokens ($10) and 750,000 output tokens ($7.50), about $17.50. The Batch API halves that, and Claude Haiku 5.5 costs a twentieth of Sonnet 5.5 per token for prompts up to 100,000 tokens. Check Anthropic’s pricing page for current prices.

Who owns the integration, us or a third party?

If it’s built on the Claude API with your own API key, you own the code, the logic, the keys and the outputs. If you use Claude through a CRM vendor’s feature or another platform, that platform’s terms apply, and it controls what you can change and whether the feature continues.

Is CRM data sent to Claude secure and GDPR-compliant?

Anthropic says API inputs and outputs aren’t used for model training by default, and its DPA with Standard Contractual Clauses is part of its Commercial Terms. Compliance is still your job: send only the fields you need, document the legal basis for processing and the data flow, and get legal advice for your case.

How long does it take to build a working Claude + CRM workflow?

It depends mostly on your data and how well the output is defined, so we don’t quote a standard timeline. The stages are the same each time: define the input and output, test the prompt on real records, build the integration with error handling and logging, then run it alongside the manual process until the results hold up. A connector demo takes minutes. A workflow you can rely on takes the stages above.

Do I need an internal developer to maintain this?

Not day to day, if it was built with clear error handling and logging. Someone needs to update it when your CRM fields change, when you change the prompt or when an upstream data format shifts. Logged failures tell you when that’s needed, instead of a workflow that quietly stops working.

Get a CRM Integration That Actually Runs

Have a CRM task that takes your team hours every week, like lead qualification, pipeline reporting or follow-up drafting? We'll scope whether a direct Claude API integration can handle it, and tell you what it takes before any money moves. Start a conversation, or see how we build this through AI integration.