> ## 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.

# Intercom

> Import closed Intercom conversations into Dovetail as a source, choose which teams to include, and analyze them in any channel.

![The Intercom and Dovetail logos side by side](https://mintcdn.com/dovetail-e5aa4160/mBnnLUvOcPIyGBHR/images/integrations/intercom.png?fit=max\&auto=format\&n=mBnnLUvOcPIyGBHR\&q=85\&s=562302639a579ca8ceb73d4b277894f0)

## Overview

The Intercom integration imports closed conversations from your Intercom workspace, including the opening message, the replies, tags, and custom conversation attributes. Conversations that are still open are imported after they’re closed. Each Intercom team you select becomes a dataset.

| To | Who | See |
| :- | :- | :- |
| Connect Intercom to Dovetail | A workspace admin | [Create the Intercom source](#create-the-intercom-source) |
| Add Intercom 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 Intercom 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 Intercom source once for the whole workspace, and channels then add its teams. [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 Intercom

* **An Intercom login with permission to install apps.** The user who creates the source signs in to Intercom during setup, so their Intercom account needs the **Can install, configure and delete apps** permission. If it doesn’t have it, ask an Intercom admin to grant it before you start.
* **The teams you want to import.** Dovetail imports conversations by the team they’re assigned to in Intercom. Conversations with no team are available as **Unassigned**.

***

## Create the Intercom source

**1. Open Sources and select Intercom**

In the sidebar, select **Sources**, then select **Intercom**.

**2. Connect Intercom**

Select `Continue`. You’re taken to Intercom to sign in and approve access.

**3. Choose teams and an import period**

In **Select teams to import from**, choose one or more teams, or choose `All teams`. Choose `Unassigned` to import closed conversations that aren’t assigned to a team. 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

Intercom connects with OAuth. You sign in to Intercom and approve access for the Dovetail app. Dovetail uses the connection to read your teams, conversation data attributes, and closed conversations. It doesn’t reply to conversations or change anything in Intercom.

The source runs on the Intercom 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 Intercom team you select becomes its own dataset and syncs on its own. Each conversation is imported into the dataset for the team it’s assigned to in Intercom. **Unassigned** is a dataset too, for closed conversations that aren’t assigned to any team. A channel can add some or all of the source’s teams.

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

***

## What gets imported

Each closed Intercom conversation becomes one data point.

### Always imported

| Field | Notes |
| :- | :- |
| **Conversation link** | A link that opens the conversation in Intercom. |
| **Created date** | When the conversation was created in Intercom. |
| **Team** | The team the conversation is assigned to, or **Unassigned**. Available as the **Team** field. |

### Imported when present

| Field | Notes |
| :- | :- |
| **Subject** | Shown as the name of the data point. |
| **Opening message** | The message that started the conversation, with its author. It’s the first message in the data point’s thread. |
| **Replies** | Up to 20 replies after the opening message, each with its text, time, and the author’s name, email address, and type. |
| **Author** | The name and email address of the person who started the conversation. Available as the **Recipient name** and **Recipient email** fields. |
| **Tags** | The tags applied to the conversation in Intercom. Available as the **Tags** field. |
| **Custom attributes** | The custom conversation data attributes you’ve created in Intercom. Each becomes a field with a matching type. |

For a long conversation, Dovetail keeps the opening message and up to 20 replies, with a limit of 10,000 characters across the replies. Later replies are left out.

### Not imported

* Open conversations. A conversation is imported once it’s closed.
* Internal notes.
* Replies beyond the limits above.
* Message attachments and conversation ratings.
* Intercom user, lead, and company attributes, other than the author details listed above.

To rename the fields above or change their types, see [Source fields](https://docs.dovetail.com/help/sources/source-fields.md#rename-fields-and-change-field-types). Need a field that isn’t on this list? [Let us know](https://dovetail.com/contact/).

### Customer emails

This data includes customer email addresses, so Dovetail can link data points to contacts. See [Create contacts from source data](https://docs.dovetail.com/help/contact-settings.md#create-contacts-from-source-data).

### 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).

* **Import period.** The import period applies to the date each conversation was last updated in Intercom. Closed conversations last updated before the start of the period aren’t imported.
* **Ongoing sync.** Each sync imports closed conversations that were updated since the previous sync. A conversation that’s still open is picked up by the first sync after it’s closed.

***

## Troubleshooting

**I can’t approve access when I sign in to Intercom.** Your Intercom account needs the **Can install, configure and delete apps** permission. Ask an Intercom admin to grant it, then start the setup again.

**The source can’t read some Intercom conversations.** Check the Dovetail app’s permissions in your Intercom workspace, and check that the Intercom account that connected the source still has access. Then select `Sync now`. If the source needs to be reconnected, see [Reconnect a source](https://docs.dovetail.com/help/sources/manage-a-source.md#reconnect-a-source).

**A conversation I expect isn’t in the channel.** Check that the conversation is closed, that its team (or **Unassigned**) is one of the source’s teams and has been added to the channel, and that it was last updated after the start of the source’s import period. Newly closed conversations appear after the next sync. See [Missing or outdated data](https://docs.dovetail.com/help/sources/troubleshooting.md#missing-or-outdated-data).

**Intercom 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 Intercom

To revoke Dovetail’s access, uninstall the Dovetail app from your Intercom workspace. This needs the **Can install, configure and delete apps** permission in Intercom. After you uninstall it, the source can’t import new conversations.

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)
>
> Add the source’s teams to a channel, or remove them.

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

> [card] [Voice of customer](https://docs.dovetail.com/help/voice-of-customer.md)
>
> Bring support conversations together with other customer feedback in Channels.


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