Print Friendly and PDF
Follow

Leadspace for Salesforce: Integration Tutorial

Install Managed Package

Login to Salesforce and Install package URL:

Choose  “Install for All Users" (access is controlled on the Permission Set level, so installing for all user profiles is the recommended approach)

2018_11_07_11_37_04_Install_Package.png

Set Email Deliverability to "All Email"

In Setup, navigate to "Deliverability", then select "All email" to receive email notifications on sync jobs.

2018_05_21_15_34_07_Deliverability_Salesforce_Developer_Edition.png

Create Remote Site Setting

Navigate to “Remote Site Settings” and add a new Remote Site Setting (name it LeadspaceSync)

Copy the instance from your salesforce URL

The Remote Site URL should be:

Navigate to the App

Navigate to the "Leadspace Audience Sync" tab in the applications drop-down menu in the top right-hand corner of your Salesforce.  

2018_05_08_14_23_22_Salesforce_Developer_Edition.png

Configure Settings

Click on the application, then navigate to the settings tab.  

2018_05_08_14_24_54_Salesforce_Developer_Edition.png

Fill in any empty fields and click "test connection and save".

2018_05_08_14_26_31_Salesforce_Developer_Edition.png

Assign Permissions Sets

Return to Setup in your Salesforce.  

2018_05_08_14_28_32_Salesforce_Developer_Edition.png

On the left search bar, type “Permission Sets”.  

2018_05_08_14_30_41_Home_Page_Salesforce_Developer_Edition.png

Within the Permission Sets section, you’ll be able to see three new permission sets, as shown in this screenshot:

2018_05_08_14_33_51_Permission_Sets_Salesforce_Developer_Edition.png

To assign users to a permission set, click on each one, click “Manage assignments”, and go to "Add Assignments" to add Salesforce users to a set.

2018_05_08_14_36_18_Permission_Set_Leadspace_Admin_Salesforce_Developer_Edition.png

Configure Input Field Mapping

Click on the Input Field Mapping tab to define your input fields.  Leadspace uses certain fields as input in order to best identify and enrich people and companies.  Here is where you will tell the Leadspace Sync specifically which fields from each object to use as input for enrichment.

2018-05-15_11_24_17-Salesforce_-_Enterprise_Edition.png

Assign each Leadspace field to one of your existing fields on the Account, Contact, and Lead object.  Click "Save" after mapping each object.

Configure Results Field Mapping

Click on the "Results Field Mapping" tab to define which fields you want Leadspace to populate the enriched data into. You either have the option to create a new field to insert the data into, or to map to an existing field in your Salesforce.  

To create a new field for Leadspace to populate into, select the option "Create New Field"

2018_05_15_11_28_46_Salesforce_Enterprise_Edition.png

To populate your Leadspace enrichment data into an already existing field in your CRM, click on the drop-down menu and select the existing field you would like to map into.

2018-05-15_11_28_26-Salesforce_-_Enterprise_Edition.png

** Important Note **

The Leadspace Salesforce Sync app is required to create three fields: 

  • Last Leadspace Activity Date: Last date and time the record was sent through the Leadspace Salesforce Sync
  • Leadspace Error Code: Identifies if a sync error has occurred
  • Leadspace Error message:  Indicate the type of error that has occurred (example: server connection error, invalid input, no credits, etc)

These fields are technical validation fields and are required for the Sync app to work properly.  Customers may also use these fields to help filter and report on records that have been enriched via the Leadspace Salesforce Sync.  For example, Last Leadspace Activity Date "IS" <Empty> will yield all records that have not been sent through the Salesforce sync, and vice versa.

Create Sync Definition

Click on the "Sync Definition" tab to define your subset of leads, contacts, or accounts to run  through the Leadspace Sync for enrichment.

Click "New" to create a new definition

2018_05_15_11_33_11_Sync_Definitions_Home_Salesforce_Enterprise_Edition.png

Under your desired object (please note: Salesforce only supports the enrichment of one object at a time), create your first definition.  

In the first drop-down, select an existing field in your Salesforce.  

Then select the appropriate operator.

Type in the value you want to filter your database by.

2018_05_15_11_33_56_Salesforce_Enterprise_Edition.png

For example, to enrich all US Accounts in your database, you can create the criteria:

"Created Date" => "After" => 01/01/2018

This will create a subset of all accounts created after January 1, 2018 that you can now run through the Leadspace Sync for enrichment.

You may also use multiple enrichment job criteria, using the AND/OR filter logic between them. 

To do this, click the "+" icon next to the first criteria.  This will add an additional row in which you can define the criteria.  The add the additional Filter Logic below it.  To make both criteria required, type "1 AND 2".  To make only one of the criteria required, type "1 OR 2".

2018_05_15_11_36_34_Salesforce_Enterprise_Edition.png

Run Enrichment

Click ‘Apply Filters’ to see the size of the audience to be synced - i.e. the number of records that meet your filtering criteria. This is the number of Salesforce objects that your synced audience will include. This is also the number of Leadspace transactions that will be consumed.  Once you apply your filters, the enrichment process will begin.

2018_05_15_11_35_06_Salesforce_Enterprise_Edition.png

Important note - every calculation of records that meets your filter criteria is consuming a single Salesforce API call.

Now that your Sync has been setup and configured, you can learn more about how to run and track enrichment's through the Leadspace Salesforce Sync here

Notes:

  1. During setup, your administrator defines the maximum number of records that a single Sync activity can hold. If the size of your audience exceeds the number of allowed transactions for a single Sync, a message will pop up. In such a case, the filtering criteria need to be updated to ensure fewer records are included in the Sync
  2. Clicking ’Run now’ in the audience size calculation page will record the audience sync definition and open the Sync Definition details page. Every audience sync definition that is run creates an Activity. An Activity is the executable object of the audience sync definition, consists of all the records that were selected using the filtering criteria. Each Activity is then sent to Leadspace in bulks.
  3. Once all the bulks were synced with Leadspace data, the activity status is set to ‘Success’, and an email is sent to the Sync definition owner, with detailed status.
  4. In the event that one or more bulks were not synced successfully, the activity status is set to ‘Partial Success’ and an email is sent to the Sync definition owner.
  5. The duration of the sync process depends largely on the size of the selected audience. Syncing a very large number of records (top limit for the limited release is 400K records) may take up to 12 hours.
  6. Each activity bulk that is synced updates the related Salesforce objects immediately, so you don't need to wait for the entire activity to end before your Salesforce objects are refreshed.

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.