Skip to main content
All CollectionsIntegrations & AutomationsSalesforce And Referral Factory
How To Send Direct Users (The Person Referring) to Salesforce When They Sign Up For A Referral Link
How To Send Direct Users (The Person Referring) to Salesforce When They Sign Up For A Referral Link

Create a lead or contact in Salesforce when the person referring registers for a referral link.

Updated over 3 months ago

If your referral program is open to anyone to join, Referral Factory can create a Salesforce contact when someone registers for a referral link. That way, you can save your new users' details and their referral metrics straight to your CRM.

Step 1: Create Custom Fields in Salesforce

→ Should you wish to store data such as the Person Referring's referral link, referral count, converted referral count and/or the name of the campaign, first create these fields inside Salesforce.

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

→ Click Edit Campaign to enter the campaign builder.

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

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

→ Select whether to create a new Lead or a new Contact in Salesforce.

Step 3: Map Your Fields In Referral Factory

→ Map the data fields from Referral Factory to Salesforce using the dropdown select options. These options will pull directly from your Salesforce account.

💡 If your recently created Salesforce properties aren't available for selection in Referral Factory, try clicking the refresh icon.

Screenshot 2024-07-22 at 17.50.21

❗️ For this function to work, you must map the following fields:

  • {Referrer First Name} to the Salesforce field {First Name}

  • {Referrer Last Name} to the Salesforce field {Last Name}

  • {Referrer Email} to the Salesforce field {Email}

  • {Referrer Company} to the Salesforce field {Company} (Only required when creating Leads)

We recommend adding {Last Name} and {Company} as form fields in your Pages for the Person Referring. If you do not want to ask your users to fill in these details, we recommend mapping a default field, like {Source} or {Campaign Name}.

Step 4 (Optional): Define Your Default Fields

→ You also have the option to define default fields for when the contact is created inside Salesforce.

Step 5: 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 Salesforce.

→ Click Save or Next.

Step 6: 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 Salesforce. We recommend using plus addressing to make sure that each email address is unique and easily searchable. For example, [email protected].

Step 2: Check For New Users in Referral Factory

→ Check that the Person Referring is created in the Users tab inside Referral Factory.

Step 3: Check For New Leads/Contacts in Salesforce

→ Check that the Lead/ Contact for the Person Referring is created in Salesforce 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 Salesforce.

Did this answer your question?