The steps below will establish the initial connection between Contact Center AI Platform (CCAI Platform) and HubSpot by locating and providing the relevant domain information to the CCAI Platform portal.
Prerequisites
The Admin must locate the following two parameters in order to set up Hubspot integration:
HubSpot Domain ID
API Key
Supported features
SmartActions
CSAT over IVR v1
Custom Callback number
API DAP (Basic Auth)
Flexible inbound call
Chat transcription attachment
Force use provided ticket ID
Steps to configure HubSpot
Log in to HubSpot using an account with Administrator credentials.
In the URL address locate the customer's Hubspot URL and write down the Domain ID number.
Go to Settings > Integrations > API Key.
In the Active API Key field, click the Copy link.
Log in to the CCAI Platform portal using an account with Admin permissions assigned.
Go to Settings > Developer Settings > CRM
Under Agent Platform, select HubSpot.
In the HubSpot Domain ID field, enter the Domain ID from Step 2 above.
Paste the Active API key from HubSpot into the API Key field.
Use the CRM Record Type field to indicate which Hubspot object (Service > Tickets or Sales > Deals) will store CCAI Platform session data and for CRM record lookup.
NOTE: If the Deals object is selected, then the Deals object must be used for record lookup.
Select the Attach call data directly to the Call object option to enable pushing call data directly to the Call object.
This data includes call data points such as status, length of call, call started/finished, call recording, and associations to tickets, deals or users.
If Sales > Deals was selected as the CRM Record Type, the Pipeline and Stage dropdowns will display and are used when creating a new deal. Use these fields to indicate the status of the deal (CRM record).
Use the Phone Number Format dropdown to select the format used for phone number lookups and how the phone number is formatted in the HubSpot record.
::: tip Select Automatic as the format type unless your phone numbers are stored in a specific format in the CRM. :::
The available format options are:
Automatic: Create: +1 222 333 4444, Search: *222*333*4444
E.164: +12223334444
US Local: 2223334444
US Local Standard: (111) 222-3333
National: (111) 222-3333
International: +1 222 333 4444
Select the Attach session metadata files to CRM records option to include the session metadata file as part of the record in HubSpot.
The session metadata file includes detailed information about a session and is sent approximately 15 minutes after the session is ended as a JSON file. For more information, please see the Session Metadata File
Use the Custom fields for records section to automatically create custom fields for CRM records via API and push session data to those fields.
IMPORTANT: Creating fields in the CRM is a one-way process and cannot be undone from the CCAI Platform portal.
Click Save.
Data passed to the CRM
Once HubSpot has been integrated, the Admin Portal can pass call data to the CRM automatically.
This data is attached to the Call object in HubSpot by default and includes:
the call duration
a copy of the call recording (in .wav format)
The Call object also includes a description of the call at the top of the screen to describe what has been done, such as IVR call Completed.
You can select the outcome of the call such as Connected, No answer, or Left voicemail, using the Select an outcome dropdown at the top of the window.
The Call information is associated with the Contact record in HubSpot as well as either the Ticket or Deal object, depending on the configuration in the Admin Portal.
To see where else this information has been shared, click Associations.