🔌Setting up a Hubspot connector
Configuring a Hubspot connection
Name (mandatory)
String
Use it to identify your connection
MyHubspotConnection
Auth Flow Id (mandatory)
String
Automatically filled by Hubspot
Retry Policy (optional)
Boolean
Boolean allows to configure a retry policy if the connection is flaky.
max attempts: maximum number of retries before giving up
max_delay: in seconds, above the connection is dropped
wait_time: time in seconds between each retry
Slow Queries' Cache Expiration Time (optional)
Integer
Slow queries cache expiration time in seconds
Create a dataset from a Hubspot connection
Once the data provider is configured, it is possible to add one (or more!) data source that will provide data for your apps.
The HubspotDataset
parameter is needed to define the kind of data you want to query in the following list:
contacts
(default value)companies
deals
products
web-analytics
email-events
The HubspotObjectType
and parameters
parameters are needed for the web-analytics
dataset:
parameters
is adict
-like object that will contain filters that you want to use to filter the resulting dataThe key must follow this schema:
objectProperty.{property}
, whereproperty
is a value defined in HubSpot’s documentationThe value can be anything
HubspotObjectType
has only one value for now (contact
) but this may evolve in the future
Once you are all set, just hit SAVE
Configuring a HubSpot (with a private application) connection ¶
This connector is used to retrieve data from the HubSpot API: HubSpot API Documentation
Now that your HubSpot private application is created, you can create a connection
Name
String
Use it to identify your connection
MyPrivateHubspotConnection
Access token
String
Access token field previously seen in the configuration (will be stored as a secret)
Create a dataset from a Hubspot datasource¶
The HubspotDataset
parameter is needed to specify the kind of data you want to query. Pick the desired dataset (note that your private app needs to have the right scopes for that), and click on Validate (or Run preview if you want a preview of your data first).
Last updated
Was this helpful?