You connect a contact center to HubSpot with a calling app built on HubSpot's Calling Extensions SDK, with the calls API, or with both. The SDK lets agents call from a CRM record using your provider and handle incoming calls. The calls API logs each call on the record with its direction, outcome, notes and a recording link.
What are the two HubSpot building blocks?
The Calling Extensions SDK is a JavaScript SDK. With it, a provider's softphone appears as a calling option on HubSpot records. When a user calls through the app, HubSpot creates a call engagement on the record's activity timeline. It then exchanges events with the app, such as dial number, call answered, call ended and finalize engagement, to fill in the details. HubSpot has a separate guide for receiving incoming calls through the SDK.
The calls engagement API is a REST API. A POST request to /crm/v3/objects/calls creates a call record, and associations link it to contacts, companies, deals or tickets. Use the API when agents work in the contact center desktop rather than in HubSpot, or when you log calls in bulk after they happen.
Which call fields matter most?
HubSpot's calls API documents standard properties. Map these first, because HubSpot reports and workflows use them.
| Property | What it holds | Watch out for |
|---|---|---|
| hs_call_direction | INBOUND or OUTBOUND, from the HubSpot user's point of view | Transfers between agents |
| hs_call_disposition | The call outcome | Your disposition list must match HubSpot's outcome values |
| hs_call_duration | Length of the call in milliseconds | Seconds sent by mistake look like very short calls |
| hs_call_recording_url | Link to the recording, played on the record | HubSpot accepts only HTTPS links, and plays .mp3 or .wav files |
| hs_call_status | Status such as COMPLETED, NO_ANSWER or BUSY | Abandoned and failed calls |
How do you set it up?
If your provider already has a HubSpot calling app, install it from the HubSpot marketplace and test it in a test portal first. If you build your own, HubSpot provides demo apps and an npm package (@hubspot/calling-extensions-sdk).
- Store phone numbers in E.164 format. HubSpot warns that a badly formatted number silently stops the caller ID match from working.
- Decide whether the app or HubSpot creates the call engagement, so that each call is logged once.
- Map your dispositions to HubSpot call outcomes before you import any history.
- Decide who may open recording links. Anyone who can see the record may be able to play the call.
- Test outbound, inbound, missed, voicemail and transferred calls, and check the timeline after each one.
What should you check before you choose a provider?
Ask the provider to show a call in a HubSpot account like yours: one record, one call and one log entry. Ask whether its dialer campaigns can use HubSpot lists, and whether outcomes write back to properties that workflows can use. Also ask what happens to logging when HubSpot rate limits or rejects a request. A good integration keeps calls flowing and retries the log later without creating duplicates.
Sources
- HubSpot Developers: Calling extensions SDK
- HubSpot Developers: Receive incoming calls
- HubSpot Developers: Calls engagement API