# Intercom

ReferralHero allows you to automatically sync your subscribers with your Intercom account.

To connect your Intercom account, go to your campaign dashboard > *Edit Campaign > Integrations > Intercom*. After you connect your account, you can enable/disable the sync between ReferralHero and Intercom.

{% hint style="warning" %}
**NOTE**: only people who sign up on ReferralHero AFTER you enable the Intercom integration will be added to your Intercom account.
{% endhint %}

### User Attributes

When a person signs up we send a bunch of extra data to Intercom that is stored in your account's user attributes. (Refer to the [official Intercom Documentation](https://www.intercom.com/help/en/articles/320-tracking-user-data-in-intercom) for more info).

The User attributes we send are:

| User Attribute       | Description                            |
| -------------------- | -------------------------------------- |
| **NAME**             | Subscriber's name                      |
| **EXTRA\_FIELD**     | Subscriber's extra field value         |
| **EXTRA\_FIELD\_2**  | Subscriber's second extra field value  |
| **CODE**             | Subscriber's unique referral code      |
| **REFERRAL\_LINK**   | Subscriber's unique referral link      |
| **PEOPLE\_REFERRED** | Subscriber's total number of referrals |
| **LAST\_REFERRAL**   | Timestamp of last referral             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.referralhero.com/campaign-builder/integrations/intercom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
