How to connect an AI phone agent to your CRM

Rene 
How to connect an AI phone agent to your CRM

An AI phone agent connects to a CRM through webhooks at three moments: a pre-call webhook that loads the caller’s record before the agent speaks, webhook tools the agent calls during the conversation to look up or create records, and a post-call webhook that sends the transcript and summary when the call ends. On Cartesia none of these is a native CRM connector. You point each one at your CRM’s API, or at a small service of yours that holds the CRM credentials.

Every behavior described here comes from Cartesia’s webhooks and webhook tools docs and the API reference for tools and agents, read on December 3, 2026.

What data flows where?

MomentCartesia featureDirectionWhat it carries
Before the agent answers or dialsPre-call webhookCartesia asks your server, which can ask the CRMThe call’s from and to numbers and direction. Your server replies with dynamic variables, such as the caller’s name and CRM ID
During the callWebhook toolsThe agent sends a request to the CRM’s API or your serviceWhatever the tool defines: a phone number to search, fields for a new lead, a note. The response goes back to the agent
After the callPost-call webhookCartesia sends a call_ended event to your serverStatus, transcript, summary, numbers and the call’s dynamic variables, for your server to write to the CRM

At call start: load the record

A pre-call webhook runs before the agent answers every inbound phone call, and before Cartesia dials an outbound call that has no dynamic variables of its own. Your endpoint gets the calling and called numbers, looks the caller up in the CRM, and replies with values such as customer_name and customer_id. The agent’s opening line and instructions can use them, so it greets a known customer by name.

The reply has a 5-second deadline. If your endpoint misses it, returns an error or leaves a variable in the opening line without a value, the call fails. An inbound caller hears an apology; an outbound number is never dialed. Return fallback values for numbers the CRM doesn’t know.

Mid-call: look up and write records

A webhook tool is an HTTPS request the agent can make when the conversation calls for it, such as “find the contact with this phone number” or “create a lead with this name and company”. The model fills the parameters from the conversation, from fixed values you set, or from dynamic variables such as the customer_id the pre-call webhook returned. The response body becomes the result the agent reads, up to 16 KiB.

A tool can also save fields from the response as dynamic variables with assignments, so a contact ID found early in the call is available to later tools. If the request times out (20 seconds by default, up to 120), can’t connect, or returns a non-2xx status, the agent gets an error result and the call continues. Write the instructions to say what the agent does then, such as taking a message.

After the call: send the summary

A post-call webhook sends one call_ended event for every call the agent handles. It arrives once post-call analysis finishes, at most 30 seconds after the call ends, so it usually carries a summary. Your server verifies it, queues it, returns a 2xx within 10 seconds, and then writes the call to the CRM: a note on the contact, an activity on the deal, or a new ticket.

Which CRMs have Cartesia integration pages?

Each CRM below has an integration page with a worked agent configuration. None is a native connector. The “How it connects” column quotes each page’s own description of the connection.

CRMHow it connects
HubSpotNo native connector. The tools call HubSpot’s public CRM API directly with a service key you store as a secret.
SalesforceNo native connector. You configure webhook tools that call a service of yours, which signs in to Salesforce with your external client app.
Microsoft Dynamics 365No native connector. The tools call a service of yours, which signs in to Microsoft Entra ID as an application user and calls the Dataverse Web API.
Zoho CRMNo native connector. The tools call a service of yours, which holds a Zoho OAuth connection and calls the Zoho CRM API.
PipedriveNo native connector. The tools call the Pipedrive API directly with an API token that you store as a secret header.
GoHighLevelNo native connector. The tools call HighLevel’s API with a private integration token for the location, and call events can start a workflow.
CloseNo native connector. The tools call the Close API directly with an API key, sent as a Basic Authorization header you store as a secret.
AttioNo native connector. The tools call Attio’s REST API directly with an access token from your workspace, stored as a bearer secret.
Follow Up BossNo native connector. The tools call the Follow Up Boss API directly with a user’s API key and your registered system headers, stored as secrets.

The pattern splits in two. CRMs that accept a static API key or token (HubSpot, Pipedrive, Close, Attio, Follow Up Boss, GoHighLevel) can take requests straight from a webhook tool, with the key stored as a secret. CRMs that need an OAuth or directory sign-in (Salesforce, Dynamics 365, Zoho CRM) need a small service of yours in the middle that holds the session and calls the CRM.

For a CRM not on the list, or a team without a developer, Zapier, Make and n8n work the same way: a webhook tool posts to your workflow’s webhook URL, and the workflow’s CRM step does the write. All of our integrations are listed on one page.

How do you set it up?

  1. Decide what the agent needs mid-call. Start with two tools: one that finds the caller by phone number, and one that creates or updates a record. Everything else can wait for the post-call webhook, which keeps the call fast and the tool list short.
  2. Create the webhook tools. In the Playground or with POST /v1/agents/tools, give each tool a name, a description that says when to use it, the method and URL, and its parameters. Store the CRM key as a secret header or bearer token; the API never returns a saved secret. Point the URL at the CRM’s API or at your service. It must be HTTPS, and requests to private network ranges are blocked.
  3. Attach the tools and write the instructions. Add the tools to the agent and say in its instructions when to call each one and what to say if a tool fails. An agent can reference up to 64 tools.
  4. Add a pre-call webhook, if the opening should know the caller. Create the webhook, add its signing secret to your server, attach it as the agent’s pre-call webhook, and reply with dynamic variables within 5 seconds.
  5. Add the post-call webhook. Create a webhook on the Webhooks page or with the API, save its whsec_ signing secret (it’s shown once), and attach it to the agent as its post-call webhook. Several agents can share one webhook.
  6. Verify and deduplicate on your server. Requests carry webhook-id, webhook-timestamp and webhook-signature headers from the Standard Webhooks spec. Verify the signature against the raw body, record each webhook-id you process, and skip repeats, since a retry can deliver the same event twice.
  7. Test with a real call. Expose your server at a public HTTPS URL on port 443, click Preview in the Playground, say a few words, and end the call. The call_ended event arrives within 30 seconds. Pre-call webhooks run only on phone calls, so test that one by calling the agent’s number.

What fields does the end-of-call webhook send?

Cartesia documents these fields in the data object of every call_ended event. A field with no value is null, never missing.

FieldWhat to do with it in the CRM
id, agent_id, agent_name, agent_version_idStore the call ID on the activity, so you can fetch the call again with Get Call
statuscompleted or failed. Log failed outbound calls as no-answer attempts
start_time, end_timeActivity timestamps and call length
end_reasonFor example client_hangup or dial_no_answer
error_messageThe cause on a failed call
transcriptTurns with role, text and timestamps. Attach it to the contact or ticket
telephony_paramsfrom, to, direction and call_sid. Match the contact by phone number
telephony_account_typetwilio, cartesia or sip_trunk
dynamic_variablesWhatever the call ran with, such as the customer_id from the pre-call webhook. The cleanest key for finding the CRM record
analysis.summaryA short summary of the call, for the note body
zdr_enabledTrue on zero data retention calls, where this event is the only copy of the transcript

The new webhooks send no per-turn or call-start events. If your CRM sync depends on those, Cartesia’s legacy webhooks still send them; see the migration notes.

What are the limits?

  • No native connectors. Every CRM connection is a webhook tool you configure or a service you run. Nothing syncs on its own.
  • The pre-call webhook can fail a call. It has 5 seconds, isn’t retried, and a slow CRM lookup behind it ends the call. Keep that endpoint fast, or skip it and look the caller up with a tool instead.
  • Delivery retries are short. Cartesia makes up to 3 attempts at a post-call event, 0.5 and then 2 seconds apart, and doesn’t follow redirects. A server that’s down for a minute misses the event; recover it with List Calls and Get Call.
  • Not every tool request is retried. GET, PUT and DELETE requests are retried once on a network error or a 408, 429 or 5xx. POST and PATCH are never retried, so a failed “create lead” during the call needs a fallback in your instructions or a catch-up from the post-call event.
  • Responses are capped. A tool result over 16 KiB is cut off, and a post-call event can be up to 5 MB on a long call, so raise your server’s body limit.
  • The summary is not guaranteed. If analysis fails or runs past 30 seconds, analysis is null. Write the transcript to the CRM either way.
  • Zero data retention changes recovery. On ZDR calls the transcript and dynamic variables are only in the call_ended event; Get Call never returns them.

What does it cost?

Cartesia bills the call by the minute, not the CRM requests. Read on Cartesia’s pricing page on December 3, 2026:

PartPrice
Managed Agents call minutes$0.03 per minute
Telephony on a Cartesia number$0.014 per minute, none if you bring Twilio or a SIP trunk
LLM usageBilled separately, depends on the model

1,000 calls a month at 3 minutes each is 3,000 minutes: $90 of agent time and $42 on a Cartesia number, or $132 before LLM usage. The Free plan includes $1 of agent calls a month for testing. Your CRM and any automation tool bill separately.

Where to start

Pick the call where a CRM record matters most. For inbound sales, that’s the AI SDR agent, which qualifies callers and books meetings. For leads from web forms, it’s AI lead follow-up calls, where the agent calls new leads and logs the result. For a front desk, it’s the AI receptionist, where a lookup by phone number lets the agent greet regulars by name. Each page has a sample call you can try before you build.

FAQs

How do I connect an AI phone agent to my CRM with webhooks?

Use two kinds of webhook. Webhook tools let the agent call your CRM's API, or a small service of yours, during the call to look up the caller or create a record. A post-call webhook sends each finished call's status, transcript and summary to your server, which writes them to the CRM. On Cartesia, both are set up in the Playground or the API, and neither needs a CRM-specific connector.

Do I need a developer to connect a voice agent to a CRM?

Usually. A webhook tool can call a CRM's API directly when the CRM accepts an API key or token, but someone has to read the CRM's API docs and write the request. The post-call webhook needs a server that verifies signatures. Without a developer, point a webhook tool at a Zapier, Make or n8n workflow and build the CRM step there.

Can the agent update a deal or ticket during the call?

Yes, if you give it a webhook tool that does it. The tool sends a GET, POST, PUT, PATCH or DELETE request to an HTTPS endpoint you name, and the response comes back to the agent as text. What the request changes is up to your CRM's API and the tool you write.

What data is in the post-call webhook?

Cartesia sends one call_ended event per call, with the call ID, agent, status, start and end times, end reason, the transcript, the from and to numbers, the dynamic variables used on the call and a summary when one is ready. It arrives at most 30 seconds after the call ends.

Does Cartesia have a native HubSpot or Salesforce integration?

No. Cartesia has no native CRM connector. Its integration pages for HubSpot, Salesforce and other CRMs show how to connect each one through webhook tools you configure, either straight to the CRM's API or through a service of yours that holds the CRM credentials.

How much does a CRM-connected phone agent cost?

Cartesia bills the call, not the CRM requests. Managed Agents cost $0.03 a minute, a Cartesia phone number adds $0.014 a minute, and LLM usage is billed separately. 1,000 three-minute calls is 3,000 minutes, or $132 before LLM usage. Your CRM plan and any automation tool are billed by those vendors.