Skip to main content

Sync contacts from Intercom

Written by Alex Bitca

The Intercom integration lets you sync lists as well as segments saved in your Intercom account. It also allows you to sync your customers along with their properties from Intercom, and create custom segments with those properties.

You can find the integration on the Integrations page, here: https://app.retently.com/settings/integrations.

If you have it already connected, you will see the Settings button, instead of Connect.

Integration main page

On the Settings page you will see all your lists and segments from Intercom:

  • Main lists, such as Users and Leads, will have a green icon;

  • Segments saved in Intercom will have a blue icon;

  • Custom segments created in Retently using Intercom properties will have a yellow icon.

Each list or segment shows the following:

  • Name: When a name is too long to fit, hover over it to see it in full. You can edit the name of custom segments only.

  • Contacts and auto-sync: The line under the name shows how many contacts the list has in Intercom and whether auto-sync is on, for example "135 contacts · Auto-sync: On". The icon next to the name is green while auto-sync is on and grey while it is off. Auto-sync is off by default, and you can switch it on from the menu next to the Sync now button.

  • Setup: Small labels that summarize how the list is set up. See "Segment setup at a glance" below.

  • Sync status: When the list last synced, for example "Synced 10 hours ago". Hover over it to see the exact date and time. A list that has not synced yet shows "Never synced". If a sync fails, the message shows in amber.

  • Next sync: While auto-sync is on, a second line shows when the next sync runs, for example "Next sync in 14 hours". Hover over it to see the exact date and time.

  • Sync report: Once a list has synced, hover over the (?) icon next to the sync status to see the report of the last sync, with its exact date and how many contacts were synced. If the number of contacts in the segment differs from the number synced, the report also shows the segment count. Filters, duplicates and API limits can all cause that difference. See Integration sync results for what each number means.

  • Sync now button: Import your contacts from Intercom and update them manually by clicking Sync now.

  • Menu: Click the arrow next to the Sync now button to switch auto-sync on or off, open the segment's settings, or delete a custom segment.

In the menu bar above the first list, you have the following options:

  • Filters: Filter your segments by type, or by sync status (finished, pending, failed, started or scheduled).

  • Sorting: Sort your lists and segments by type, number of contacts, auto-sync status, and last sync date.

  • Page controls: When you have more lists than fit on one page, the page range (for example "1-25 of 48") and the arrows sit next to the Create new segment button.

  • Create new segment button: Create a custom segment using properties from Intercom and additional filters.

Segment setup at a glance

Next to each list's name, a set of labels shows how the list is set up, so you don't need to open each list to check it. Click any label to go straight to the tab where you change that setting.

The first line shows mapping and filters for every list:

  • Mapping: "8 fields mapped" when you have chosen which Intercom properties to sync. A list you have not mapped yet shows an amber "Default mapping" label: it syncs Intercom's default fields only. Hover over it to see how many, and click it to map more. Opens the Mapping tab.

  • Filters: "2 filters", "1 filter" or "No filters". Hover over the label to see each filter rule, for example "Plan is Pro" or "Country is United States". Opens the Filters tab.

The second line only appears when a list uses a setting other than the default:

  • Duplicates: "Duplicates: Skip" or "Duplicates: Append". Lists that use the default, Update, show no duplicates label.

  • Tags: "+2 tags" when the list adds tags to the contacts it imports. Hover over it to see the tag names.

  • Re-adds deleted: shown when the list adds back contacts you deleted in Retently.

These three open the Settings tab.

In the top menu of your page you have the following elements:

  • Account name: You can connect two different Intercom accounts if needed. Each account will be given a default name, such as “Account 1”, but you can rename it to something more meaningful;

  • Last sync stats: It displays when the last sync happened, in any list or segment;

  • Refresh data button: Getting hold of lists and segments information, such as the number of contacts in Intercom, may take some time to load. That’s why Retently caches some data in your account that is being updated automatically once in a while. But you can force this process by clicking on the Refresh data button and have all the information updated with Intercom;

  • Menu button: By clicking on the arrow icon next to the Refresh data button, you will open the menu, which allows you to access the integration Settings page, connect another account, and disconnect the integration.

Integration Settings page

On this page, you can adjust the integration settings and configure the data exchange between Retently and Intercom. These settings will apply to all your lists and segments.

Here you will find the following sections:

  • Trigger an event in Intercom: If a customer unsubscribed from surveys, or was deleted from Retently, you can trigger an event in Intercom.

  • When a customer is deleted in Intercom: Decide what should Retently do with a customer if they have been deleted in Intercom.

  • When a customer is unsubscribed in Intercom: Decide what should Retently do with a customer if they have unsubscribed from Intercom messages.

See whether Intercom is in use

On the Integrations page (Settings > Integrations), the Intercom card shows a status next to its name, followed by what the integration does and when it last did it:

  • In use (green): a sync, an export or a trigger happened in the last 30 days. For example: "In use • Exporting from 4 campaigns, last 10 minutes ago • Last sync 3 hours ago".

  • Set up, no recent activity (amber): exports or triggers are set up on your campaigns, but none ran in the last 30 days.

  • Connected, not in use (grey): Intercom is connected, but nothing is set up and nothing ran recently. For example: "Connected, not in use • No exports, no triggers • Last sync 4 months ago".

  • Disconnected: the red Disconnected label, followed by what is affected, for example "2 campaign exports are not being sent".

If no sync from Intercom has finished yet, the card shows "No sync recorded".

List and Segment settings page

You can access the Settings page from the menu, next to each segment’s Sync now button on the main integration page.

The segments Settings page consists of three tabs:

1. Map data

Your contacts have a list of properties in Intercom, such as name, email address, country etc. Retently will map some of these properties automatically, while you will have to map other manually.

If you have a property in Intercom that is not listed in Retently’s default properties list, for instance: “Free Trial”, that’s ok, because you can create a custom property and map it to the existing one in Intercom.

Mapping a property means that you select it to be imported to Retently and applied to customers. Mapping also helps Retently understand what is this property, and how should it be named in your account.

You will be using the customer properties when creating custom Intercom segments, or when filtering the audience for your NPS campaigns.

2. Filter data

Once you have mapped customer properties and helped Retently understand what are they, you can create additional filters and decide what contacts will match this segment or list, the one that you are currently configuring.

For instance, you can add the following filter:

Subscription status -> is -> Free Trial or Country -> is -> USA

If you don’t create additional filters, then all your contacts from this list or segment will be synced with Retently, with the properties that you have mapped.

3. Segment settings

On this tab, you choose what happens to contacts that already exist in Retently when this list syncs, and which tags to add to the contacts it imports.

Manage duplicates

  • Skip: leave existing contacts unchanged. Contacts that already exist in Retently are not changed by this list. Only new contacts are added.

  • Update (default): replace all properties with this list. On every sync, each existing contact is rebuilt from this list: all of its custom properties are replaced with the ones mapped here. A property that is not mapped in this list, or is empty in Intercom, is removed from the contact, even if it was added manually, by CSV import, by API or by another list. Tags are removed too when this list adds none.

  • Append: update only the mapped properties. On every sync, only the properties mapped in this list are updated on existing contacts. Their other properties and tags are kept. A property that is empty in Intercom keeps its current value in Retently.

If your contacts get properties from more than one source, such as another list, a CSV import or the API, choose Append so those properties are kept.

A note under the option you pick describes what it does, so you can check the effect before you save.

Tag every contact from this list

Select existing tags or create new ones. Every contact this list imports gets these tags, which you can later use to filter your customers or survey responses.

The customer was deleted in Retently

  • Do not add (default): a contact you deleted in Retently stays deleted, even if it is still in this list in Intercom.

  • Re-add: a contact you deleted in Retently is restored on the next sync if it is still in this list in Intercom. Contacts removed by a privacy request are never restored, and nothing is restored while Manage duplicates is set to Skip.

Create a custom segment

To create a custom segment, you have to click on the + Create new segment button on your main integration page.

A pop-up will ask you to give the segment a name (which you can rename later if needed) and choose where should the contacts be imported from Users or Leads.

Defining the contacts source is important because each segment is created based on the customers and properties from a specific main list. In Intercom, by default, there are two main lists: Users and Leads.

Next, you will be asked to configure the new custom segment, which means to map the properties, create additional filters, and adjust the segment settings. Basically, all the steps that we have covered in the previous chapter, “Lists and segments settings page”.

Syncing a list or segment

You can sync lists and segments, individually, from the main integration page. This can be done automatically, by clicking on the Sync now button, or you can activate the auto-sync option and let Retently sync them automatically, on a regular basis, every 24 hours. You can have the auto-sync activated for a specific number of segments, which is proportional to the number of NPS campaigns you can create in your account.

When you try to sync a list for the first time, you will be given two options: to continue the sync with the default properties mapped automatically, or you can choose to map data and select what properties will be imported to Retently (this option is highly recommended).

Did this answer your question?