Hubspot
Didomi allows you to synchronize your Hubspot contact properties with the preferences collected through Didomi consent events.

Implementation

Didomi connects to your Hubspot account through the Didomi Hubspot App. By installing the app and configuring the integration, you allow Didomi to update your Hubspot contact properties every time users change their preferences through the Didomi Platform. Didomi also supports a bidirectional flow by creating a Hubspot webhook to react to your contact changes and update your Didomi users accordingly. Didomi identifies your Hubspot contacts using the organization_user_id property.
Didomi also creates a Didomi Changed property on your account that can be used on Workflows when you want to trigger an update from your Hubspot contact. For example, you can create a workflow that increments this property by 1 every time a contact update should be triggered on the Didomi Platform. This makes sure that your Didomi user is up to date with the changes performed by Hubspot.

Getting ready

To get started using the Didomi Hubspot App, you can follow these steps:
  1. 1.
    Go through the Installation link and grant access to the Didomi App on the Hubspot account you'd like to link with Didomi. This will grant access to Didomi to update your contacts as well as react to contact updates.
  2. 2.
    After the installation, you'll be redirected to https://didomi.io. The redirected link will contain a code parameter. This is the authorization_code to send as a configuration item on the following section.

Configuration

Didomi needs the following configuration items to set up the connection with Hubspot:
Authorization code
Authorization code returned by the redirect URL after installing the Didomi Hubspot App
Yes
Portal ID
ID of your Hubspot portal
No (only required for bidirectional flow)
Properties
List of contact properties to match between Didomi and Hubspot
Yes

Example

1
{
2
"app_id": "YOUR_PORTAL_ID",
3
"config": {
4
"authentication": {
5
"authorization_code": "AUTH_CODE",
6
"expires_in": 3600
7
},
8
"properties": [
9
{
10
"id": "hubspot_email_enabled",
11
"value": "consents_preferences_newsletter_enabled"
12
}
13
],
14
}
15
}
Copied!
The configuration of the Hubspot integration cannot be done in the Didomi Console at the moment. Please reach out to [email protected] to get your Hubspot integration configured and provide the elements listed above.