Skip to main content
Troubleshooting Your Salesforce Integration

Having trouble integrating Referral Factory with your Salesforce account? Try these troubleshooting tips.

Updated over 2 months ago

Connection Problems

πŸ€” Problem: You get an error modal saying your Salesforce account doesn't meet the requirements to connect

β†’ Referral Factory requires access to your Salesforce account via API. Please note that the following Salesforce editions do not support API access: Group Edition, Essentials Edition, and Professional Edition. Learn more.

β†’ If your Salesforce edition does support API access, then check that API access is enabled. This requires Salesforce Administrator credentials. Learn more.

β†’ Do you have a custom domain in Salesforce? If so, then please contact our support team to manually configure your Salesforce integration.

πŸ€” Problem: You cannot connect your Salesforce account with Referral Factory because the integrations settings are greyed out, or you get a permissions error, or the connection fails

β†’ If you are a teammate, make sure you have the correct permissions to connect your Salesforce integration. If you don’t have the required permissions, the main account holder will need to update them for you. Learn more.


​

Problems Sending Referred Users (The Person Invited) to Salesforce

πŸ€” Problem: No referred users (the Person Invited) are being sent to Salesforce

β†’ Double check that you have mapped all of the following fields:

  • {First Name}

  • {Last Name}

  • {Email}

  • {Company} (Only required to create Leads)

  • {Referral Code}

These are required fields and must be selected for the contact to be created in Salesforce. We recommend adding {Last Name} and {Company} as form fields in the Pages for the Person Invited. 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}.

β†’ Please double check that you are consulting the correct Salesforce object. Remember you have the option to send your referred users as Leads or Contacts.

β†’ Check whether you have mapped any unsupported field types. Referral Factory currently does not support the following Salesforce field types:

  • Time

  • Percent

  • Geolocation

  • Date/Time

  • Date

  • Formula

  • Roll-Up Summary

  • Auto Number

  • Picklist

β†’ Check your Salesforce account to see what fields are required by Salesforce in order to create a Lead. If you have specific requirements then you must make sure these fields are being passed through in your integration step. For example, if your Salesforce account requires that you fill in the Lead Source in order to create a record, then you must map Lead Source as a field inside Referral Factory. This can be done by either creating a new field in the form for the person invited or by setting a default field value in your integration step.


​

πŸ€” Problem: Some but not all referred users (the Person Invited) are being sent into Salesforce

β†’ Verify if the user is already part of your referral campaign by searching from the Users tab in Referral Factory. If the user joined the campaign before the settings to send referred users were set up, a contact will not be generated in Salesforce. Essentially, the function does not work retroactively.

β†’ Verify if the Lead/ Contact already exists in Salesforce and check your settings in Referral Factory for how to handle duplicate users. Please also ensure that you have checked the records in both your Salesforce Leads object as well as your Salesforce Contacts object.

β†’ Check whether any of the Salesforce fields you mapped to Referral Factory during your setup have a minimum length, field dependencies or data validation rules that might prevent data from being sent.

πŸ€” Problem: Referred users (the Person Invited) are being sent into Salesforce but one or more fields are not being updated

β†’ Check whether you have mapped any unsupported field types. Referral Factory currently does not support the following Salesforce field types:

  • Time

  • Percent

  • Geolocation

  • Date/Time

  • Date

  • Formula

  • Roll-Up Summary

  • Auto Number

β†’ Check whether any of the Salesforce fields you mapped to Referral Factory during your setup have a minimum length, field dependencies or data validation rules that might prevent data from being sent.

πŸ€” Problem: Referred users (the Person Invited) are not updating in Salesforce

β†’ Make sure you have chosen the option to update contacts under the section "How To Handle Duplicate Users" in your Salesforce integration setup. Whatever fields you have mapped in the integration step will be updated for the Lead/ Contact inside Salesforce. Keep in mind that enabling this setting may result in existing Salesforce data being overwritten.

Problems Sending Direct Users (The Person Referring) to Salesforce

πŸ€” Problem: No direct users (the Person Referring) are being sent into Salesforce

β†’ Double check that you have mapped all of the following fields:

  • {First Name}

  • {Last Name}

  • {Email}

  • {Company} (Only required to create Leads)

  • {Referral Code}

These are required fields and must be selected for the Lead/ Contact to be created in Salesforce. We recommend adding {Last Name} and {Company} as form fields in the 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}.

β†’ Please double check that you are consulting the correct Salesforce object. Remember you have the option to send your direct users as Leads or Contacts.

β†’ Check whether you have mapped any unsupported field types. Referral Factory currently does not support the following Salesforce field types:

  • Time

  • Percent

  • Geolocation

  • Date/Time

  • Date

  • Formula

  • Roll-Up Summary

  • Auto Number

πŸ€” Problem: Some but not all direct users (the Person Referring) are being sent into Salesforce

β†’ Verify if the user is already part of your campaign by searching from the Users tab in Referral Factory. If the user joined the campaign before the settings to send direct users were set up, a Lead/ Contact will not be generated in Salesforce. Essentially, the function does not work retroactively.

β†’ Verify if the Lead/ Contact already exists in Salesforce and check your settings in Referral Factory for how to handle duplicate users.

β†’ Check whether any of the Salesforce fields you mapped to Referral Factory during your setup have a minimum length, field dependencies or data validation rules that might prevent data from being sent.

πŸ€” Problem: Direct users (the Person Referring) are being sent into Salesforce but one or more fields are not being updated

β†’ Check whether you have mapped any unsupported field types. Referral Factory currently does not support the following Salesforce field types:

Time

Percent

Geolocation

Date/Time

Date

Formula

Roll-Up Summary

Auto Number

β†’ Check whether any of the Salesforce fields you mapped to Referral Factory during your setup have a minimum length, field dependencies or data validation rules that might prevent data from being sent.

πŸ€” Problem: Direct users (the Person Referring) are not updating in Salesforce

β†’ Make sure you have chosen the option to update Leads/ Contacts under the section "How To Handle Duplicate Users" in your Salesforce integration setup. Whatever fields you have mapped in the integration step will be updated for the Lead/ Contact inside Salesforce. Keep in mind that enabling this setting may result in existing Salesforce contact data being overwritten.

Problems Where Salesforce Fields Are Unavailable For Selection in Referral Factory

πŸ€” Problem: A custom or default Salesforce field is not showing in Referral Factory

β†’ Click the yellow refresh option in the top right hand corner of your screen.

Screenshot 2024-07-22 at 17.50.21

β†’ Check if the field you are trying to map belongs to the Lead module or to the Contact module. If you have chosen to create a Lead, then only Lead fields will be available for selection. Likewise, if you have chosen to create a Contact, then only Contact fields will be available.

β†’ Check if you have selected a CRM field for any pages in the campaign builder. If you have chosen to use a CRM field, then Referral Factory will automatically map the field to Salesforce. Should you wish to map the field differently, rather use an input field or select field and map the field manually.

β†’ Check whether the field has already been mapped to another field. It is not possible to map a Salesforce field to multiple Referral Factory fields.

β†’ Try disconnecting your Salesforce integration and clearing your cache. After doing so, reconnect and attempt again to see if the field appears in the available options.


πŸ€” Problem: The field you have created to store users' referral links is not available for selection

β†’ Click the yellow refresh option in the top right hand corner of your screen.

Screenshot 2024-07-22 at 17.50.21

β†’ If you are running multiple campaigns, remember to create a separate field for each campaign's referral link. For example, if you have three separate campaigns, say a referral program, an affiliate program, and an influencer program, then you could create three fields in Salesforce:

{Referral Link}
{Affiliate Link}
{Influencer Link}



Qualification Problems

πŸ€” Problem: The referred user (person invited) has converted in Salesforce but the referral is not being qualified in Referral Factory

β†’ Please note that qualification can happen at a delay of up to 12 hours. Referral Factory is busy syncing thousands of data points at any given time and your qualification could be in the queue.

β†’ Double check that the Lead/ Contact field or Opportunity stage specified as the qualification trigger in the integration step of your campaign builder matches your desired conversion action in Salesforce.

β†’ Double check that the initial value of the Lead/ Contact field or initial Opportunity stage specified in the integration step of your campaign builder matches the initial value of the lead, contact or opportunity in Salesforce that hasn't qualified.

β†’ If you are qualifying a referral when a Lead turns into an Opportunity, make sure you have mapped the field {Referral Code} from the Lead object to the Opportunity object inside Salesforce. Learn more.

β†’ Please note that you can only qualify referred users (the person invited).

Problems Syncing Your Salesforce Leads/ Contacts

πŸ€” Problem: You cannot find a Salesforce campaign to sync

β†’ Click the yellow refresh option in the top right hand corner of your screen.

Screenshot 2024-07-22 at 17.50.21

β†’ If you have many campaigns in Salesforce, keep scrolling to the bottom of the list options in Referral Factory multiple times. Note that only 100 campaigns load at once, so scrolling down will load more campaigns for selection.

β†’ Try disconnecting your Salesforce integration and clearing your cache. After doing so, reconnect and attempt again to see if the campaign appears in the available options.

β†’ Check that you've spelled the name of the campaign correctly.

πŸ€” Problem: You've configured the sync but only some or no users have been added in Referral Factory

β†’ Wait up to 12 hours. Referral Factory is busy syncing thousands of data points at any given time. Your sync is probably in the queue and changes will reflect within 12 hours, depending on the number of contacts you have chosen to sync.

β†’ Check whether the sync will exceed your user limit in Referral Factory.

β†’ Ensure that the information for your Salesforce Leads/ Contacts is filled out for the fields you mapped to Referral Factory during the setup of your sync, including {First Name}, {Email}, and any other fields you mapped. If any one of these fields is blank, it could result in the Lead/ Contact not being synced.

β†’ Check whether the Leads/ Contacts you synced already exist as users in Referral Factory.

πŸ€” Problem: You've configured the sync and users have been added to Referral Factory but no referral links have populated in Salesforce

β†’ Wait up to 12 hours. Referral Factory is busy syncing thousands of data points at any given time. Your sync is probably in the queue and changes will reflect within 12 hours, depending on the number of contacts you have chosen to sync.

β†’ Check that the Salesforce field you created to store the referral link is a single line text field type and that there are no character limits or validation rules that might prevent the data from syncing correctly.

πŸ“Œ If you are still having issues with your Salesforce integration after reading this guide, please let our friendly support team know by emailing them at [email protected] or you can log a ticket from inside your Referral Factory dashboard. They will be happy to help you solve the issue so you can start getting referrals.

Did this answer your question?