HubSpot calling panel
MonoPbx hosts a small calling panel your HubSpot portal can load as a calling extension, built on HubSpot's own Calling Extensions SDK. It lets an agent click a phone number on any HubSpot record to call it, and tells HubSpot about an incoming call so HubSpot can match and open the right record itself. Calls themselves ring and run on the agent's own MonoPbx device (a desk phone, the MonoPhone app, or an open web console tab): the panel is a signalling adapter, not a softphone, so audio never plays in the HubSpot browser tab.
Record matching for an inbound call uses HubSpot's own built-in caller-ID lookup (you give it the calling number; HubSpot decides which contact it is), the same way Screen pop and the CRM templates lookup your HubSpot integration already uses for the console's own call screen, so set that up first if you have not — it is a different, independent lookup.
What the agent sees
A small calling widget docked at the bottom-right of HubSpot. Clicking a phone number on a Contact or Company record rings the agent's own MonoPbx device; once answered, HubSpot creates (or finds) the call's engagement on that record on its own. Hang up in the panel ends the call for both sides.
Set up in HubSpot
- In HubSpot, go to a Calling settings area (Settings → General → Calling, or the Marketplace's calling-extension setup for your account type) and add a custom calling app.
- Set the extension's URL to
https://<your MonoPbx console host>/cti/hubspot. - Make the extension available to the agents who should see it (per-user calling-tool access, same place you choose any other calling provider in HubSpot).
Connect the panel to MonoPbx
The panel authenticates itself to MonoPbx with a personal API key, not the agent's console sign-in: HubSpot loads it on its own domain, inside an iframe, so it cannot carry a MonoPbx browser session. Each agent (or an administrator, for them) does this once:
- In the MonoPbx console, Admin → Security → API keys → New key, scoped to Control calls and Read contacts. Copy the secret: it is shown once.
- Open the panel (it appears once the calling extension is set up and chosen as the agent's calling provider in HubSpot) and paste the key in.
The key is kept in the panel's own browser storage, scoped to HubSpot's domain; signing in again in another browser, or the first time in a different CRM panel, asks for it again. Revoking the key in Admin → Security → API keys disconnects the panel immediately.
What a human still needs to verify
This panel is built from HubSpot's published Calling Extensions SDK reference and tested against the MonoPbx API it calls, but the two were never driven against each other inside a live HubSpot portal during development (no HubSpot developer account/test portal was available). Before relying on it, someone with a HubSpot developer test account should:
- confirm the calling extension installs and the panel loads without a HubSpot security warning;
- confirm clicking a phone number on a Contact or Company record rings the agent's device, and the resulting call shows up as a logged call on that record;
- confirm an inbound call is offered to the panel (
incomingCall) and HubSpot's own caller-ID match opens the right contact; - confirm Hang up ends the call on both sides, and the finished call's outcome (answered, no answer, busy, failed) shows correctly on the HubSpot engagement.
HubSpot's exact event names and payload fields had small inconsistencies across its own
documentation pages at the time this was built (for example onCreateEngagementFailed vs.
onEngagementCreatedFailed); if the panel silently doesn't log calls to the right engagement, check
those field names first.
See also
Screen pop and CRM templates (the HubSpot lookup the console's own screen pop uses), the Salesforce Open CTI panel (same idea, Salesforce's framework) and OAuth connections.