> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dovetail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot Service Hub

> Import HubSpot Service Hub conversations or tickets into Dovetail as a source, choose inboxes or pipelines, and analyze them in any channel.

![The HubSpot Service Hub logo](https://mintcdn.com/dovetail-e5aa4160/mBnnLUvOcPIyGBHR/images/integrations/hubspot.png?fit=max\&auto=format\&n=mBnnLUvOcPIyGBHR\&q=85\&s=5da76a6b174e3ad351ef09c535e6ecce)

> [!NOTE]
>
> To enrich Dovetail contacts with HubSpot contact and company properties, see [HubSpot Contacts](https://docs.dovetail.com/integrations/hubspot-contacts.md).

## Overview

The HubSpot Service Hub integration imports either **conversations** from your HubSpot inboxes or **tickets** from your HubSpot ticket pipelines. Conversations are imported whether they’re open or closed, and tickets are imported at every pipeline stage. Each inbox or pipeline you select becomes a dataset.

| To | Who | See |
| :- | :- | :- |
| Connect HubSpot Service Hub to Dovetail | A workspace admin | [Create the HubSpot Service Hub source](#create-the-hubspot-service-hub-source) |
| Add HubSpot Service Hub data to a channel | Any user with **Can use** on the source who can edit the channel | [Channel setup](https://docs.dovetail.com/help/channels/channel-setup.md) |
| Use HubSpot Service Hub when it isn’t available to you | Any user | [Request a source](https://docs.dovetail.com/help/sources/create-a-source.md#request-a-source) |

A workspace admin creates the HubSpot Service Hub source once for the whole workspace, and channels then add its inboxes or pipelines. [Learn more about Sources →](https://docs.dovetail.com/help/sources.md)

***

## Before you start

### In Dovetail

* A workspace admin creates the source. Other users can [request it](https://docs.dovetail.com/help/sources/create-a-source.md#request-a-source).
* The credentials you connect with are shared by the whole workspace. See [Shared credentials](https://docs.dovetail.com/help/sources/create-a-source.md#shared-credentials) for how to choose an account.

### In HubSpot

* **A HubSpot account with Service Hub.** To import conversations, your Service Hub plan must include the HubSpot inbox.
* **Permission to install apps.** The HubSpot user who connects needs [Super Admin](https://knowledge.hubspot.com/user-management/hubspot-user-permissions-guide) or **App Marketplace Access** permissions to authorize the Dovetail app.

***

## Create the HubSpot Service Hub source

**1. Open Sources and select HubSpot Service Hub**

In the sidebar, select **Sources**, then select **HubSpot Service Hub**.

**2. Connect HubSpot Service Hub**

Select `Continue`. You’re taken to HubSpot to sign in and approve access. If you can access more than one HubSpot account, choose the one to connect.

**3. Choose inboxes or pipelines and an import period**

Choose **Conversations** or **Tickets**. For conversations, under **Select inboxes to import from**, choose one or more inboxes, or `All inboxes`. For tickets, under **Select HubSpot pipelines**, choose one or more pipelines, or `All pipelines`. Then choose an **Import period**. See [Import period](https://docs.dovetail.com/help/sources/create-a-source.md#import-period).

**4. Choose who can use the source**

Choose who can use the source, then select `Next`. See [Create a source](https://docs.dovetail.com/help/sources/create-a-source.md#create-the-source).

**5. Create the source**

Choose whether to auto-redact sensitive information in the source’s data, then select `Create source`. The first import starts right away. See [Redact data from sources](https://docs.dovetail.com/help/blur-and-redact.md#redact-data-from-sources).

### Authentication and permissions

HubSpot Service Hub connects with OAuth. Dovetail requests these HubSpot scopes:

* `conversations.read` — read inboxes, conversation threads, and their messages.
* `tickets` — read tickets and ticket pipelines, including pipeline and stage names.
* `crm.objects.owners.read` — look up the names of ticket owners.
* `crm.objects.contacts.read` — view HubSpot contact properties.

Dovetail only reads data from HubSpot. It doesn’t create, change, or close anything in HubSpot.

HubSpot grants these scopes for the whole HubSpot account, not only for the records the connecting user can see. The source imports only the inboxes or pipelines you select.

The source runs on the HubSpot account of the user who connects it. To change the account or credentials, see [Reconnect a source](https://docs.dovetail.com/help/sources/manage-a-source.md#reconnect-a-source).

***

## Datasets

Each HubSpot inbox or pipeline you select becomes a dataset, and each one imports on its own.

A HubSpot Service Hub source imports either conversations or tickets, not both. You choose the type when you create the source, and inboxes or pipelines you add later are the same type. If your workspace already has a HubSpot Service Hub source, add datasets to it instead of creating another. See [Before you start](https://docs.dovetail.com/help/sources/create-a-source.md#before-you-start).

To add more inboxes or pipelines later, open the source and select `Add inbox` or `Add pipeline`. See [Add datasets](https://docs.dovetail.com/help/sources/manage-a-source.md#add-datasets).

***

## What gets imported

Each HubSpot conversation or ticket becomes one data point. When it has messages, they’re attached as the data point’s conversation thread.

### Always imported

| Field | Conversations | Tickets |
| :- | :- | :- |
| Title | “Conversation with” followed by the HubSpot ID of the conversation’s contact | The ticket subject, or “Ticket” and the ticket ID when there’s no subject |
| Conversation | The thread’s messages, each with its text, sender, and when it was sent | The messages from the inbox thread the ticket was created from, or the ticket’s description when there’s no thread |
| Created date | When the thread was created | When the ticket was created |
| Link to HubSpot | A link that opens the conversation in the HubSpot inbox | A link that opens the ticket record in HubSpot |
| Inbox | The inbox the conversation belongs to | — |
| Status | `OPEN` or `CLOSED` | — |
| Pipeline | — | The name of the ticket’s pipeline |
| Stage | — | The name of the ticket’s stage in that pipeline |

### Imported when present

| Field | Conversations | Tickets |
| :- | :- | :- |
| Assigned to | The HubSpot ID of the user the conversation is assigned to | — |
| Owner | — | The ticket owner’s name, or their email address when HubSpot has no name for them |
| Priority | — | The ticket’s priority as HubSpot stores it, such as `HIGH`, `MEDIUM`, or `LOW` |

To rename these fields or change their types, see [Source fields](https://docs.dovetail.com/help/sources/source-fields.md#rename-fields-and-change-field-types).

### Not imported

* **Internal comments** on a thread.
* **Notes and other activity logged on a ticket record.**
* **Attachments** on messages or tickets.
* **Custom ticket properties**, and standard properties not listed above.
* **Customer email addresses.** HubSpot identifies senders by HubSpot IDs, so data points from this source aren’t linked to Dovetail contacts.

Need a field that isn’t on this list? [Let us know](https://dovetail.com/contact/).

### Sync behavior

The first import starts when the source is created. After that, the source syncs about every hour. See [Manage a source](https://docs.dovetail.com/help/sources/manage-a-source.md#sync-a-source-now).

* **Conversations by latest message.** The import period, and each later sync, match conversations by the time of their latest message. A conversation that gets a new message is picked up again on the next sync.
* **Tickets by last modified date.** The import period, and each later sync, match tickets by when they were last modified. New tickets, and tickets that are edited, move to another stage, or are reopened, are picked up on the next sync.

***

## Troubleshooting

**Authorization fails, or HubSpot won’t let you install the Dovetail app.** The HubSpot user who connects needs **Super Admin** or **App Marketplace Access** permissions. Ask a HubSpot Super Admin to grant you App Marketplace Access, then try again.

**No data imports after the source is created.** Check that the selected inboxes have conversations whose latest message falls in the import period, or that the selected pipelines have tickets modified during it. For other causes, see [Troubleshoot sources](https://docs.dovetail.com/help/sources/troubleshooting.md#missing-or-outdated-data).

**The source shows “Dovetail is missing permission to read HubSpot data.”** Check that your HubSpot subscription still includes Service Hub and its inbox, then sync the source again. See [Sync a source now](https://docs.dovetail.com/help/sources/manage-a-source.md#sync-a-source-now). If the problem continues, contact Dovetail support.

**HubSpot Service Hub isn’t available when I set up a channel.** See [Troubleshoot sources](https://docs.dovetail.com/help/sources/troubleshooting.md#source-not-available-in-a-channel).

***

## Revoke access in HubSpot

To revoke Dovetail’s access, remove the Dovetail app in your HubSpot account’s **Connected Apps** settings (a HubSpot setting). After that, the source can’t sync until it’s reconnected. Data the source has already imported stays in Dovetail. [HubSpot Contacts](https://docs.dovetail.com/integrations/hubspot-contacts.md) connects through a separate HubSpot app, so revoking this access doesn’t affect contact enrichment.

To pause or delete the source in Dovetail, see [Manage a source](https://docs.dovetail.com/help/sources/manage-a-source.md). To take its data out of one channel, see [Channel setup](https://docs.dovetail.com/help/channels/channel-setup.md#remove-a-dataset-or-source).

***

## Related guides

> [card] [Sources](https://docs.dovetail.com/help/sources.md)
>
> What a source is, and how its data reaches channels.

> [card] [Channel setup](https://docs.dovetail.com/help/channels/channel-setup.md)
>
> Create a channel from your sources and choose its inboxes or pipelines.

> [card] [Manage a source](https://docs.dovetail.com/help/sources/manage-a-source.md)
>
> Check a source’s status, sync it, pause it, reconnect it, or add datasets.

> [card] [Voice of customer](https://docs.dovetail.com/help/voice-of-customer.md)
>
> Centralize feedback, make sense of it, and close the loop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.