Intercom destination

Send your event data from RudderStack to Intercom.

Intercom is a real-time business messaging platform that lets you manage all your customer lifecycle activities in a single platform.

Find the open source transformer code for this destination in the GitHub repository.

This destination supports Intercom API v1.4.

Getting started

RudderStack supports sending event data to Intercom via the following connection modes:

Connection modeWebMobileServer
Device modeSupportedSupported-
Cloud modeSupportedSupportedSupported
In a web device mode integration, that is, using JavaScript SDK as a source, RudderStack loads the Intercom native SDK from the domain. Based on your website’s content security policy, you might need to allowlist this domain to load the Intercom SDK successfully.

Once you have confirmed that your source platform supports sending events to Intercom, follow these steps:

  1. From your RudderStack dashboard, add the source. Then, from the list of destinations, select Intercom.
  2. Assign a name to the destination and click Continue.

Connection settings

To successfully configure Intercom as a destination, you will need to configure the following settings:

  • Access Token: Enter your Intercom API access token. You can obtain the token by going to your Intercom dashboard and navigating to Settings > Apps & Integrations > Developer Hub. Then, select your app and go to Configure > Authentication. For more information, see Intercom documentation.
  • App ID: The Intercom app ID is required for sending events via the web and mobile SDKs. You can get this ID from your Intercom dashboard by going to Settings > Installation and selecting the relevant platform. For more information on obtaining the your Intercom app ID, see Intercom Knowledge Base.
  • Android API Key / iOS API Key: This is required for sending events from your mobile apps to Intercom. You can get it from your Intercom dashboard by going to Settings > Installation and selecting the relevant platform.
  • Include Context with Identify Calls: Enable this option to send the user context details to Intercom in the identify calls.
  • Send AnonymousId as Secondary UserId: Enable this option to send anonymousId as the user ID to Intercom when the userId is absent from the event payload.
This option is helpful for tracking anonymous users on your site. For more information on the scenario where this setting is useful, see FAQ section below.

Adding device mode integration

Depending on your platform of integration, follow the steps below to add Intercom to your project:


The identify call captures the details about a visiting user.

A sampleidentify call looks like the following code snippet:

rudderanalytics.identify("1hKOmRA4GRlm", {
  name: "Alex Keener",
  email: "",
  company: {
    id: "group01",
    name: "Tech Group",
  createdAt: "Mon May 19 2019 18:34:24 GMT+0000 (UTC)",

Using identify calls

You can use the identify call to create or update user information in Intercom, as explained below:

  • Create/update a user: When you make anidentify call, RudderStack creates or updates the user in Intercom.
  • Remove users from a company: To remove users from a company, you can pass remove: true inside the company object:
rudderanalytics.identify("1hKOmRA4GRlm", {
  name: "Alex Keener",
  email: "",
  company: {
    id: "group01",
    name: "Tech Group",
    remove: true
  createdAt: "Mon May 19 2019 18:34:24 GMT+0000 (UTC)",
  • Unsubscribe users: To unsubscribe users from emails, you can pass unsubscribedFromEmails: true inside the context object:
rudderanalytics.identify("1hKOmRA4GRlm", {
  name: "Alex Keener",
  email: "",
  company: {
    id: "group01",
    name: "Tech Group",
  unsubscribedFromEmails: true,
  createdAt: "Mon May 19 2019 18:34:24 GMT+0000 (UTC)",
RudderStack does not support Intercom’s Last Seen feature currently.

Traits mapping

The following table lists the mapping of the RudderStack traits to the Intercom properties:

RudderStack traitIntercom iOS propertyIntercom Android property

Collecting identify context

If you enable the Include Context with Identify Calls option in the RudderStack dashboard, RudderStack collects the following contextual properties through its mobile libraries (if available):

  • device.type
  • device.model
  • device.manufacturer
  • os.version
  • app.version

Identity verification

Intercom’s identity verification feature ensures the privacy of the conversations between you and your users. It also makes sure that one user cannot impersonate another.

RudderStack supports the identity verification feature for the events sent through the web device mode.

To enable the identity verification feature for web device mode, you can pass user_hash within the integrations object, as shown in the following snippet:

  "1hKOmRA4GRlm", {
    name: "Alex Keener",
    country: "USA"
  }, {
    Intercom: {
      user_hash: "9c56cc51b374c3ba189210d5b6d4bf57790d351c96c47c02190ecf1e430635ab",
The user_hash is a SHA256 hash of your Intercom API secret and the userId. Note that this hash is not based on the user’s email.
To obtain your Intercom API secret, go to your Intercom dashboard and navigate to Settings > Apps & Integrations > Developer Hub. Then select your app and go to Configure > Basic information. You will find the API secret listed here under Client secret.

Deleting a user

You can delete a user in Intercom using the Suppression with Delete regulation of the RudderStack User Suppression API.

To delete a user, you must specify their userId in the event. Additionally, you can specify a custom identifier (optional) in the event.

A sample regulation request body for deleting a user in Intercom is shown below:

  "regulationType": "suppress_with_delete",
  "destinationIds": [
  "users": [{
    "userId": "1hKOmRA4GRlm",
    "<customKey>": "<customValue>"


The track call lets you record the customer events, that is, the actions they perform, along with any properties associated with them.

A sample track call is shown below:

rudderanalytics.track("Order Completed", {
  order_id: "140021222",
  checkout_id: "WAP3211",
  products: "sports_shoes"
  revenue: 77.95,
  currency: "USD",
RudderStack converts and sends all track event properties as per the Intercom API.


The page call lets you record your website’s page views with any additional relevant information about the viewed page.

The page call is supported only for the JavaScript SDK when sending events via device mode. It works by triggering Intercom’s update method, which looks for a list of new open conversations to be displayed to the current user.

A sample page call looks like the following code snippet:"Best Seller")


The group call lets you link an identified user to a group like a company, organization, or an account. RudderStack uses this information to create or update a company in Intercom using their /companies endpoint.

A sample group call is shown below:"group123", {
  name: "companyName",
  industry: "IT",
  employees: 450
RudderStack requires a groupId (group123 in the above example) to send group events to Intercom. It maps this field to Intercom’s company_id field.


The reset method resets the previously identified user and any related information.


Does RudderStack support Intercom’s push notification and deep linking features?

None of the RudderStack SDKs support push notifications and deep linking features currently. See Intercom documentation for more information on configuring these features for your project.

What happens if both userId or email are missing in the identify / track calls sent to Intercom?

For both identify and track calls, either userId or email is a mandatory field. In case both these fields are missing, RudderStack will drop the event.

It is highly recommended to enable the Send AnonymousId as Secondary UserId setting in your RudderStack dashboard to avoid any event loss in such a scenario.

Questions? Contact us by email or on Slack