How To Automatically Qualify Referrals Using Intercom

Automate your referral program with Intercom and Referral Factory! Use your regular Intercom workflows and pipelines to automatically qualify successful referrals, which, in turn, could trigger a reward to the person who referred them.

📌  Want to know what else you can do with Referral Factory and Intercom? Read the overview.

Step 1 (Optional): Create Custom Data Attributes in Intercom

 → Should you wish to store additional referral data related to your referred user, create the relevant data attributes inside Intercom. You could, for example, create data attributes to house information like:

  • {Referrer First Name}: The name of the person who referred them
  • {Referrer Email Address}: The email address of the person who referred them
  • {Referral Campaign}: The name of your Referral Factory campaign (useful if you're running multiple campaigns)
  • {Referral Link}: The referral link automatically generated for the new user (useful if you will enroll newly referred leads into your referral program)

intercom-step-1-create-custom-data-attribute

Step 2: Configure How Data Should Be Sent in Referral Factory

→ Click Edit Campaign to enter the campaign builder. 

→ Navigate to the Integrations step in the bottom navigation bar.

→ Scroll down until you see the option to configure settings for the Person Invited. 

→ Select whether you want to create a Lead or a User in Intercom.

intercom-step-2-integrations-tab

Step 3: Set Your Qualification Rules

→ To automatically qualify the Person Invited when they convert in Intercom, select the data attribute that will change from the dropdown list. 

→ Select what the data attribute's value should be when Referral Factory creates the contact inside Intercom.

→ Select the data attribute value(s) that mean the referral has been successful or converted (i.e., the value that should trigger a qualification in Referral Factory).

intercom-qualify-step-3-set-qualification-trigger

📌 You can use both default and custom Intercom data attributes to trigger an automatic conversion. Data attribute formats that can be used include single-line text and lists. 

 Step 4: Map Your Fields

→ Map the data fields from Referral Factory to your Intercom data attributes using the dropdown select options. If a recently created Intercom attribute is unavailable for selection, click the refresh button. 

❗️ For this function to work, you must map the fields {First Name} and {Email}. 

Other fields are optional.

intercom-step-4-send-person-invited-map-fields-

Step 5 (Optional): Define Your Default Fields

→ You also have the option to define any default data fields for when the Lead/User is created inside Intercom. 

intercom-step-5-send-person-invited-default-fields-optional

Step 6 (Optional): Attach Information About The Person Referring

→ You also have the option to attach information about the person who made the referral. Remember that you may need to create custom data attributes inside Intercom to house this data. 

intercom-step-6-send-person-invited-attach-information-about-the-person-who-made-the-referral-optional

Step 7: Choose How To Handle Duplicates

→ Choose whether Referral Factory should update existing contacts. Please note that choosing to update existing contacts could override data inside Intercom.

❗️ Your choice may affect user qualification.

intercom-step-7-send-person-invited-how-to-handle-duplicates

→ Click Save or Next.


 

How To Test Whether Your Integration Is Working

Step 1: Sign Up As the Person Referring

→ Open your campaign link in a private window or incognito mode and sign up as the Person Referring. Please note that Referral Factory uses cookies, so if you have already visited your campaign link, you may see the incorrect step. 

→ Be sure to use an email address that does not already exist as a user in your referral campaign and, depending on your settings, does not already exist in Intercom. We recommend using plus addressing to make sure that each email address is unique and easily searchable. For example, yourname+personreferring+date@yourdomain.com.

testing-integrations-sign-up-as-person-referring-step-1 (1)

Step 2: Sign Up As the Person Invited

→ Next, open the referral link generated for the Person Referring and sign up as the Person Invited

how-to-test-your-integration-click-referral-link

→ Be sure to use an email address that does not already exist as a user in your referral campaign and, depending on your settings, does not already exist in Intercom. We recommend using plus addressing to make sure that each email address is unique and easily searchable. For example, yourname+personinvited+date@yourdomain.com.

how-to-test-your-integration-sign-up-as-person-invited

Step 3: Check For New Users In Referral Factory

→ Navigate to the Users tab and check that both the Person Referring and the Person Invited have been created in Referral Factory.

how-to-test-your-integration-users-in-referral-factory (1)

Step 4: Check For The Person Invited in Intercom

→ Check that the Lead/ User for the Person Invited is created in Intercom with all the data you have chosen to map across. Note that it can take up to 30 minutes for the data to pass from Referral Factory to Intercom. Be sure to check the correct module (Leads/Users).

how-to-test-integration-intercom-new-lead-alice

Step 5: Test Your Qualification Trigger

→ Update the data attribute of the Person Invited inside Intercom as per the settings you configured.  

how-to-test-integration-qualify-intercom-

→ Return to Referral Factory to check the status of the contact you just converted in the Users tab. Note that it can take up to 30 minutes for the data to pass from Intercom to Referral Factory.  

how-to-test-your-integration-qualified-user-in-referral-factory


 

📌 Having trouble? Read the Intercom Troubleshooting Guide.