HubSpot Integration
Fluentos connects to HubSpot with OAuth, a secure sign-in between the two apps. You do not need an API key: click Connect to HubSpot and allow the connection.
How it works
Section titled “How it works”When you connect HubSpot, Fluentos asks for these permissions on your HubSpot account:
| Permission | Purpose |
|---|---|
crm.objects.contacts.read |
Read visitor contacts for audience targeting and personalization |
crm.objects.contacts.write |
Create or update contacts from form submissions |
crm.lists.read |
Fetch available lists for audience targeting and mapping |
crm.lists.write |
Add submitted contacts to selected lists |
communication_preferences.read |
Fetch available HubSpot subscription types for consent mapping |
communication_preferences.write |
Update contact email subscription consent status |
- On the left, click Integrations.
- Click Add Integration.
- Enter an Integration Name, for example
HubSpot Production. - In Select Integration, choose HubSpot.
- Click Connect to HubSpot.
- A popup opens. Log in to HubSpot if asked, and allow the permissions.
- The popup closes and the button shows Connected.
- Optional: turn on Audience Targeting to target campaigns by HubSpot list.
- Click Add.
Audience Targeting
Section titled “Audience Targeting”When it is on, Fluentos recognizes visitors who arrive from HubSpot email links (by the _hbs_contact_id part of the link, or the cookie) and checks which HubSpot lists they are in. You can then:
- Show or hide campaigns by list.
- Personalize campaign texts with contact data (email, first name) saved in the DataHub.
Required for HubSpot email audience targeting: your HubSpot link must include the contact ID merge token in the URL, for example:
?_hbs_contact_id={{contact.hs_object_id}}
Configuration
Section titled “Configuration”- Link parameter (default
_hbs_contact_id): the part of the link that carries the HubSpot contact ID, for example?_hbs_contact_id={{contact.hs_object_id}}. - Cookie name (default
_hbs_contact_id): saved for 1 year and used to recognize returning visitors.
DataHub fields
Section titled “DataHub fields”Fluentos saves these HubSpot contact fields in the DataHub, so you can use them in campaigns:
| Field | DataHub key | Description |
|---|---|---|
| Contact ID | {{dataHub:hubspot-contactId}} |
Always saved. Lets a form without an email field update the visitor’s HubSpot contact. |
{{dataHub:hubspot-email}} |
Optional (Save Email to DataHub). Visitor’s email address. | |
| First Name | {{dataHub:hubspot-firstName}} |
Optional (Save First Name to DataHub). Visitor’s first name. |
HubSpot lists and segments
Section titled “HubSpot lists and segments”In HubSpot, both fixed audiences and dynamic segments are lists. Fluentos uses them in two ways:
Audience targeting
Section titled “Audience targeting”For audience targeting, you can pick any list type, including active (dynamic) and static lists. A HubSpot list works like a Klaviyo segment: it tells Fluentos whether a visitor is in an audience.
When Fluentos recognizes a visitor, it asks HubSpot which lists the contact is in and compares them with the list in the campaign’s targeting rule.
Form submission mapping
Section titled “Form submission mapping”For form submissions, you can pick only static and snapshot lists (MANUAL or SNAPSHOT in HubSpot). HubSpot does not let anyone add contacts to an active list, because its own rules decide who is in it. So the HubSpot List dropdown for submissions shows only static and snapshot lists.
| List type in HubSpot | processingType |
Used for audience targeting | Used for form submission mapping |
|---|---|---|---|
| Static list | MANUAL |
Yes | Yes |
| Snapshot list | SNAPSHOT |
Yes | Yes |
| Active (dynamic) list | DYNAMIC |
Yes | No |
Consent sync (optional)
Section titled “Consent sync (optional)”When Consent Sync is on in the campaign’s HubSpot integration settings, Fluentos sets the chosen subscription status in HubSpot for every contact the campaign submits, after the contact is created or updated. Nothing changes until you pick a subscription type.
What you can configure
Section titled “What you can configure”- Consent Sync: turns consent updates on or off.
- Subscription Type: the HubSpot subscription type to update.
- Consent Status: Subscribed, Unsubscribed or Not Specified.
- Legal Basis: the legal basis sent with the update. Default:
CONSENT_WITH_NOTICE. - Legal Basis Explanation: a short note for your audit trail. Default:
Contact submitted a Fluentos form.
HubSpot portals with GDPR turned on need a legal basis and an explanation to subscribe a contact. If you leave them empty, Fluentos sends the defaults.
How it works
Section titled “How it works”- Fluentos creates or updates the contact in HubSpot.
- If you chose a HubSpot List, Fluentos adds the contact to it.
- If Consent Sync is on, a subscription type is picked and the submission has an email, Fluentos updates the contact’s subscription status for that type.
The Subscription Type dropdown lists the subscription types set up in your HubSpot account.
Choosing the right consent approach
Section titled “Choosing the right consent approach”There are two common ways to handle consent in HubSpot:
-
HubSpot workflow (recommended for double opt-in)
- Keep Consent Sync off in Fluentos.
- Let Fluentos add submitted contacts to a HubSpot list.
- In HubSpot, build a workflow that starts when a contact joins the list, sends your own double opt-in email, and subscribes the contact only after they confirm.
- Best when you want full control over the confirmation email and your consent rules.
-
Fluentos Consent Sync (faster setup)
- Turn on Consent Sync in the campaign’s HubSpot integration settings.
- Choose the subscription type and the status to set.
- Fluentos updates the subscription right after the submission.
- Best when you want the subscription set at once, without a workflow.
Practical recommendation
Section titled “Practical recommendation”- Use the workflow with double opt-in for markets or brands with strict consent rules.
- Use Consent Sync when your legal process allows subscribing the contact at the moment they submit.
- You can combine both: sync to a separate subscription type, and still use workflows to control what you send next.
Disconnect
Section titled “Disconnect”To disconnect the HubSpot integration:
- Open the integration.
- Click Disconnect.
Fluentos removes the connection on the Fluentos side. To remove the app from your HubSpot account too, do it in HubSpot. To connect again, click Connect to HubSpot.
Troubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
| Authentication popup doesn’t open | Check whether your browser blocks popups for the Fluentos dashboard. |
| “Not connected” message | The connection may have expired. Click Connect to HubSpot to connect again. |
| Audience targeting not working | Check that your HubSpot email links or landing pages include _hbs_contact_id and that your campaigns are published. |
| Audience targeting not matching from email clicks | Check that HubSpot links include ?_hbs_contact_id={{contact.hs_object_id}}, so Fluentos can find the contact and check its lists. |
| No lists appear in the audience targeting dropdown | Check that the connected HubSpot account has at least one list (static or active). A new active list may need a moment to finish processing in HubSpot. |
| No lists appear in the form submission mapping | Only static and snapshot lists (MANUAL and SNAPSHOT) can receive submissions. Active lists are not in this dropdown. |
| Failed submissions | Open the integration’s Delivery tab, fix the cause, then click Retry Failed Submissions. Also check that the chosen list still exists and is not locked. |