You can configure your HubSpot integration so the HubSpot call adapter warns agents when they're about to call a Do Not Call phone number for a company or contact. You can configure whether a number triggers the Do Not Call warning based on the phone number type: phone or mobile phone. As a result, one phone number associated with a contact or company can trigger a Do Not Call warning, while another phone number on the same record won't.
Do Not Call is for manual and click-to-call HubSpot outbound calls. It doesn't work for campaign calls.
Before you begin
Before you begin, do the following:
Integrate HubSpot with your Contact Center AI Platform (CCAI Platform) instance. For more information, see HubSpot.
Configure HubSpot account lookup for the contact or company lookup objects that you want CCAI Platform to check for Do Not Call information.
In HubSpot, configure one or more contact or company properties as opted out of sales or marketing calls.
Configure Do Not Call for HubSpot
To configure Do Not Call for HubSpot, follow these steps:
In the CCAI Platform portal, click Settings > Developer Settings. If you don't see the Settings menu, click Menu.
In the CRM pane, click the Do-not-call Configuration toggle to the on position.
To create a Do Not Call configuration, do the following:
Click Add. The Add configuration dialog appears.
In the Object Type field, select the object type that you want to configure Do Not Call for. Only the object types that you configured as a primary lookup object or a secondary lookup object appear.
In the Phone Number Field field, select the phone number type.
In the Do-Not-Call CRM Field field, select the object's field that indicates that this is a Do Not Call phone number.
In the Opt-out Value field, enter one or more of the values that specifies that the phone number is Do Not Call.
Click Add configuration. The configuration appears in the configuration list.
To create additional Do Not Call configurations, repeat the previous step.
Click Save.
Example Do Not Call configurations
The following table shows example Do Not Call configurations:
| Object Type | Phone Number Field | Do-Not-Call CRM Field | Opt-out Value |
|---|---|---|---|
| Contact | Phone Number (phone) | TPS Status | Opted out |
| Contact | Mobile Phone Number (mobilephone) | Do not call | true |
| Contact | Mobile Phone Number (mobilephone) | Phone Consent | No |
| Company | Phone Number (phone) | Marketing Preference | DNC |
With these configurations:
The contact's phone number and mobile phone number are checked for Do Not Call independently of one another.
The contact's mobile phone number is checked using two different Do Not Call CRM fields:
Do not callandPhone Consent.The contact's phone number is checked using a single Do Not Call CRM field:
TPS Status.The company's phone number is checked using a single Do Not Call CRM field:
Marketing Preference.
The Phone Number Field values in the tables are standard HubSpot properties that you can't change. The other values in the table are examples that depend on how you configure HubSpot.
The Do Not Call workflow
This section describes the workflow that takes place when an agent places a call with a HubSpot integration that you've configured for Do Not Call.
Here's the workflow:
An agent initiates a call using the HubSpot call adapter.
CCAI Platform performs a HubSpot account lookup for a contact object, a company object, or both, depending on how you've configured account lookups.
For each returned HubSpot record, the system checks each Do Not Call configuration that you created in Configure Do Not Call for HubSpot, looking for the following matches (matching isn't case-sensitive):
The Object Type value in the configuration matches the object type of the returned record.
The Phone Number Field value in the configuration matches the phone number type that the agent called (phone or mobile phone number).
The Do-Not-Call CRM Field value in the configuration matches a Do Not Call field name in the returned record.
One or more of the Opt-out Value values in the configuration matches the value of the Do Not Call field in the returned record.
If all of the matches are found for a returned record, the call is considered "Do Not Call" and the HubSpot call adapter displays the following Do Not Call warning:
This number is on the Do Not Call listDepending on your company policy and the current use case, the agent can do either of the following:
Stop and don't place the call.
If needed, place the call. The system sends the following message to HubSpot:
The contact is in TPS, the agent chose to proceed with the call.
Turn off Do Not Call for HubSpot
To turn off Do Not Call for HubSpot, follow these steps:
In the CCAI Platform portal, click Settings > Developer Settings. If you don't see the Settings menu, click Menu.
In the CRM pane, click the Do-not-call Configuration toggle to the off position.
Click Save.