# HubSpot

Connect a HubSpot portal to sync contacts and conversations from WhatsApp, Instagram and more, count closed-won deals in ad results, update contacts from workflows, and send WhatsApp templates.

Connect a HubSpot portal to a profile and Zernio links it to that profile's customer channels and ads:

- **Contacts:** each inbox contact is matched to a HubSpot contact by email or phone, or created.
- **Conversations:** messages from every messaging channel (WhatsApp, SMS, RCS, iMessage, Instagram, Messenger, Telegram, X, Bluesky, Slack DMs, TikTok, LINE, WeChat, and Gmail, Outlook and IMAP email) are logged on the contact's timeline once the person is a Zernio contact, with delivery status on outgoing WhatsApp, SMS and RCS messages.
- **Deals:** closed-won deals count as sales in campaign results, or go to your ad platforms as purchases.
- **CRM API:** search, create and update contacts, log activities, list and update deals, and list owners from your app or agent, with the same requests as Salesforce ([CRM API](/platforms/hubspot/crm-api)).
- **Workflows:** a `hubspot_upsert_contact` step in Zernio workflows, and a **Send WhatsApp template** action in HubSpot workflows.

A connected account uses `platform: "hubspot"` and represents one portal.

## Quick reference

| Property | Value |
|----------|-------|
| Platform value | `hubspot` |
| What it syncs | Inbox contacts to HubSpot contacts, inbox messages to their timeline |
| Delivery status | Sent, delivered, read, played and failed on each outgoing WhatsApp, SMS and RCS message's timeline entry |
| Sending | A **Send WhatsApp template (Zernio)** action in contact-based HubSpot workflows |
| Deals | Closed-won deals as sales in campaign results and ad rules, or as purchases sent to ad platforms |
| Workflows | A `hubspot_upsert_contact` step creates or updates the contact at any point in a flow |
| CRM API | `/v1/crm/{accountId}/…`: contacts, activities, deals and owners ([CRM API](/platforms/hubspot/crm-api)) |
| Auth | OAuth: the Zernio app is installed on the portal |
| Scopes | `oauth`, `crm.objects.contacts.read`, `crm.objects.contacts.write`; optional `crm.objects.deals.read`, `crm.objects.deals.write`, `crm.objects.owners.read` and `automation` |
| Portals per profile | One |
| Social posting | No |
| Analytics | No |
| Settings | `syncContacts`, `logMessages` and `logDeliveryStatus`, on by default; `useDealsAsResults`, `reportDeals` and `qualifiedLeads`, off by default; `contactDefaults` for properties your portal requires on new contacts |

## Before you start

The person connecting must be a HubSpot user who can install apps on the portal. Messages sync only for conversations linked to a Zernio contact.

Portals connected before an optional scope existed (deal write and owners for the CRM API) reconnect to grant it; the account id and settings stay.

With [zero content retention](/security/zero-content-retention) on, timeline entries carry only their heading ([inbox sync](/platforms/hubspot/sync#how-it-behaves)).

## Connect

Call `GET /v1/connect/hubspot` with the profile and send the user to the returned `authUrl`. They pick the portal and approve the app. See [Connect](/platforms/hubspot/connect).

## In this section

<PlatformPages platform="hubspot" />

## Related

- [Get HubSpot connect URL](/connect/get-hub-spot-connect-url)
- [Update HubSpot settings](/accounts/update-hub-spot-settings)
- [CRM API](/platforms/hubspot/crm-api)
- [Campaign results](/guides/campaign-results)
- [List contacts](/contacts/list-contacts)
- [Workflows](/products/automations/workflows)
- [Connecting accounts](/guides/connecting-accounts)