HubSpot And Referral Factory Integration: A Full Guide

Referral Factory is HubSpot's #1 certified referral app! Automate your referral program so you can grow your business without adding to your workload.

Screenshot showing that you can connect your referral program referrals to HubSpot.

Are you looking for referral program software that works with HubSpot

Get your referral program software up and running, and integrated with HubSpot.com, in just a few days.

If you already have a Referral Factory account, then keep reading to learn how to set up your HubSpot integration πŸ‘‡


In this guide πŸ‘‡

1. What you can do with HubSpot and Referral Factory

2. How To Connect Your HubSpot Integration

3. How To Configure Your HubSpot Integration

3.1. How To Sync HubSpot Leads or Contacts with Referral Factory (and Generate Their Referral Links)

3.2. How To Send Referred Users from Referral Factory to HubSpot and Automatically Qualify Them When a HubSpot Property Changes

3.3. How To Send Direct Users (The Person Referring) to HubSpot When They Sign Up For A Referral Link

3.4. How To Track Your Sale Value For Commission-Based Rewards

4. How To Uninstall your HubSpot Integration from Referral Factory

5. Troubleshooting



1. What You Can Do With HubSpot and Referral Factory

πŸ‘‰ Sync your HubSpot contacts to generate their referral links.

πŸ‘‰ Send your new referred contacts straight into the HubSpot workflows you already use.

πŸ‘‰ Qualify the referred contacts that convert simply by updating a property like lead status, lifecycle stage, or a deal stage. 

πŸ‘‰ Automatically issue rewards to the contacts who refer new business your way.

πŸ‘‰ Generate more high-quality leads πŸš€


2. How To Connect Your HubSpot Integration

 

What You Need

  • Any Referral Factory plan.
  • Any HubSpot plan.
  • A draft or published referral campaign in Referral Factory. 

 

β†’ In the left-hand navigation bar of your Referral Factory dashboard, click the Settings tab and be sure that you're in the Integrations and Pixels section on the top navigation bar.

β†’ Click Connect under the HubSpot logo. 


β†’ A pop-up will appear. Review the permissions and then click Connect App.

 

Screenshot showing that you are able to Connect your HubSpot Account with Referral Factory hubspot_referral_factory_success

β†’ Success!

❗️Please note that you can only connect one HubSpot account to Referral Factory at a time. You may be able to connect additional HubSpot accounts via Zapier. Please consult this guide: πŸ“– Zapier And Referral Factory: A Full Guide πŸ“– 


 

3. How To Configure Your HubSpot Integration

Once your HubSpot account is connected to Referral Factory, you will need to configure your integration inside your campaign(s). 

❗️ If you want to sync multiple referral campaigns with HubSpot, you will need to configure the integration for each campaign.  

 

There are three main functions to configure to use your HubSpot integration to its full potential:

πŸ‘‰ Sync all or some of your HubSpot contacts with Referral Factory 

πŸ‘‰ Send users from Referral Factory into HubSpot. 

πŸ‘‰ Qualify successful referrals when a property changes in HubSpot.

πŸ’‘ Want to know more about qualifying converted or successful referrals in general? Read this guide: πŸ“– How to Qualify Converted or Successful Referrals πŸ“–

 

3.1. How To Sync HubSpot Contacts with Referral Factory (and Generate Their Referral Links)

πŸ“Œ This will generate referral links for all of your customers in Hubspot, these customers will NOT be notified. After your sync is complete, the customers you sync’d will each have a referral link inside their customer record in Hubspot.

Before you configure the sync between Referral Factory and HubSpot, you will need to create a custom property in HubSpot to store each contact's Referral Link. You may also want to create properties to store each referrer's performance metrics, i.e. the number of people they have referred and the number of those referrals that have been successful. 

You can learn more about creating custom properties in HubSpot's knowledge base: πŸ”— Create and edit properties πŸ”—

 

You can sync your HubSpot contacts from three places in the Referral Factory dashboard:

 

πŸ‘‰ From the Users Tab.

β†’ Click Add Users.

β†’ Click Sync Your CRM Contacts.

salesforce-1

πŸ‘‰ From the Campaigns tab.

β†’ Click Sync Your Contacts.

πŸ‘‰ From the Promote section inside the campaign builder.

β†’ Click Generate referral links for your contacts by syncing them.

β†’ Choose if you want to sync all your contacts or a list of contacts. You can sync active or passive lists with Referral Factory. 

β†’ Click Next.

    β†’ Map the property fields from HubSpot to the relevant data fields in Referral Factory. 

    β†’ Click Next

    β†’ Map the data from Referral Factory to the properties you have created in HubSpot. To surface each contact's referral link inside HubSpot, you must map the property "Referral Link". 

    πŸ’‘ If you don't see recently created HubSpot properties, use the refresh button in the top right-hand corner of the screen.

    refresh-button-referral-factory

    β†’ Click Next.  

    β†’ In the final step, you have the option to make the sync function on an ongoing basis. Use the toggle to make the sync ongoing. 

    πŸ“Œ You have the option to toggle the ongoing sync on or off from the Promote section of the campaign builder.

    β†’ Click Start Sync.

    β†’ Success!

    ❗️Contacts that you sync will not be automatically notified or sent their referral link. If you would like to notify them, please use your own marketing channels or Referral Factory's once-off email feature. You can learn more about once-off emails here: πŸ“– How To Create A Once-Off Email πŸ“– 


    3.2. How To Send Referred Users from Referral Factory to HubSpot and Automatically Qualify Them When a HubSpot Property Changes

    Referral Factory can automatically create a new contact in HubSpot when someone signs up using their friend's referral link AND track if a property of your choice changes in HubSpot to automatically qualify them (i.e., mark them as a successful or converted referral), which, in turn, could trigger a reward to the person who referred them. 

    πŸ“Œ If a Referral Factory user is already a HubSpot contact, don’t worry! Referral Factory will check the user’s email address against your contact list and will only create new contacts. 

    This function must be configured from inside the campaign builder. 

    β†’ 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. 

    β†’ Set the rules that will automatically qualify referrals who you consider converted or successful. You can qualify by a contact property or a deal stage. 

    πŸ‘‰ If you choose to qualify by a change in contact property:

    β†’ Select the contact property that will change from the dropdown list. For example, "Lead Status" or "Lifecycle Stage"

    β†’  Select what the property's value should be when Referral Factory creates the contact inside HubSpot. For example, "New" or "Lead"

    β†’ Select the property value(s) that mean the referral has been successful or converted; i.e., the value that should trigger a qualification in Referral Factory. For example "Converted" or "Customer"

    πŸ“Œ You can use both standard and custom HubSpot properties to trigger an automatic conversion. Property types that can be used include single-line text and dropdown select properties. 

     

    πŸ‘‰ If you choose to qualify by deal stage, Referral Factory will automatically create a deal for your new referred lead:

    β†’ Under "Select the property that will change" choose your deal pipeline.

    β†’  Select what the deal stage should be when Referral Factory creates the deal inside HubSpot. For example, "Qualified to Buy"

    β†’ Select the deal stage(s) that mean the referral has been successful or converted; i.e., the stage that should trigger a qualification in Referral Factory. For example "Closed Won".

    β†’ Next, map the data fields from Referral Factory to HubSpot using the dropdown select options. These options will pull directly from your HubSpot account. 

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

      β†’ You may want to create additional properties in HubSpot to store Referral Factory data such as "Campaign Name" and "Source".

      β†’ You also have the option to define default fields for when the contact is created inside HubSpot. 

      β†’ Finally, you have the option to attach information about the person who made the referral. Remember that you may need to create custom properties inside HubSpot to house this data. 

      πŸ’‘ If you don't see recently created HubSpot properties, use the refresh button in the top right-hand corner of the screen.

      refresh-button-referral-factory

      β†’ Click Save.


       

      3.3. How To Send Direct Users (The Person Referring) to HubSpot When They Sign Up For A Referral Link

       

      If you have a use case for this function, Referral Factory can also create a HubSpot contact when someone signs up for a referral link via the campaign join link as a direct user or a Person Referring. 

      πŸ“Œ If a Referral Factory user is already a HubSpot contact, don’t worry! Referral Factory will check the user’s email address against your contact list and will only create new contacts. 

      This function must be configured from inside the campaign builder. 

      β†’ 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 Referring

      β†’ Map the data fields from Referral Factory to HubSpot using the dropdown select options. These options will pull directly from your HubSpot account. 

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

      β†’ You may want to create additional properties in HubSpot to store Referral Factory data such as "Campaign Name" and "Source".

      β†’ You also have the option to define default fields for when the contact is created inside HubSpot. 

      β†’ Click Save.


       

      3.4. How To Track Your Sale Value For Commission-Based Rewards

       

      If you are using your HubSpot integration to qualify referrals and want to issue commission-based rewards for those referrals, you can automatically track your sale value from a property in HubSpot. This means Referral Factory can automatically calculate the value of your reward!

      β†’ In the Define Rules step of your Rewards Builder, select the Object and Property from HubSpot from which to track the sale value. 

      referral-rewards

      In most cases, you would want to track the HubSpot property Amount in the HubSpot object Deals as your sale value, however, you can track any property of your choice, as long as you follow these rules: 

      πŸ‘‰ You can only track the sale value from a property in the Deals object (like Amount) if your qualification method is set to qualify when a Deal Stage Would Change.
      πŸ‘‰ Similarly, if your qualification method is set to qualify when a Contact Property Would Change, you can only track a sale value from a property in the Contact object.

      hubspot-qualification-methods


      4. How To Uninstall your HubSpot Integration from Referral Factory

      β†’ Navigate to the Settings tab and ensure you're in the Integrations and Pixels section in the top navigation bar. 
      β†’ Under the HubSpot logo, select 'Disconnect'.

      ❗️Once disconnected, no user data will sync between HubSpot and Referral Factory or vice versa. However, any data that was synced before will still be available in both systems. 

       


       

      5. Troubleshooting

       

      Having trouble with the HubSpot integration? Please consult our troubleshooting guide: πŸ“– Troubleshooting Your HubSpot Setup πŸ“–