Automatic Customer Data Import (In depth)
The Automatic Customer Data Import is our fancy name for how you can sync information from Salesforce into the AdvocateHub. This information can then be used for segmentation inside of your AdvocateHub.
You can pull this Salesforce information for any advocates who exist in your Salesforce as contacts, and it will stay updated with a nightly sync.
This article will walk through setting this feature up. To be able to do this, you'll have to have first installed our AppExchange Package in Salesforce. If you haven't done this yet, this Installation Guide will be a huge help!
There's 4 parts to this process:
Creating Match Categories
To begin, you must create a match category which will represent the Salesforce field you want to pull information from. These match categories will be displayed as a "Match Criteria" field in an advocates profile (visible to administrators only). You'll then be able to target things in the hub based on this information.
To add match categories, follow these steps (see screenshot below):
1. Go to Settings > System > Match Categories.
2. Click Add Match Category.
3. Name the match category (does not have to be the same as the SFDC field you'll match it to).
For Example: Demographic
4. Click Save.
Mapping Salesforce Fields to your Match Categories
Adding a Query to Trigger the Data SyncBack to top
AdvocateHub__Date_Added_To_AdvocateHub__c != null
2. (Optional) If you want to automatically invite advocates through Salesforce, tick the optional checkbox. This box is used to invite new advocates into the hub based on the query above it. If you keep the query as is and tick this box, you can manually add a date to Salesforce contacts as a way to automatically invite them to the hub.
The other way you can use this checkbox is by creating another field on Salesforce contacts as a way to invite many Salesforce contacts at once. Here's one example of one way you could use this:
1. You can create a custom field in Salesforce called "Invited to AdvocateHub" and make it a checkbox field.
2. You enter a query that looks something like this into step 1: "Contact.Invited_to_AdvocateHub__c = True" (this would mean the import works only for SFDC contacts who have previously been invited to the Hub).
3. You update Salesforce contacts you want to invite by adding a check-mark to this new Salesforce field.
4. Click Save.
Testing it out
To confirm everything is set up correctly, you can manually trigger a sync to confirm data is flowing from Salesforce correctly.
2. Wait a few minutes, and refresh the page. Continue to refresh until you see the text above the Import button show Import Complete as of the current date and time. (the more Advocates you have in your hub, the longer the sync will take to finish)
3. When the sync is completed, go to your Advocates page, find an advocate who exists in Salesforce. Click on the pencil icon beside their name and click Edit.
4. Click on the Match Categories tab.
You should now see the fields you just added filled in with data. If all the fields are now populated, it was a success!
Continuing from our example where we mapped Industry, we can see the sync worked correctly!
Please note: Not Joined Advocate (people you've invited but who haven't signed up yet) profile information will be updated every single night (if changes are made in Salesforce). This will override that person's current info.
However, as soon as someone joins (and becomes a Joined Advocate), the sync will only update profile fields if they are blank.
The reason for this is that once somebody joins your hub and is a registered advocate, changing their profile information will lead to a poor experience. You can still manually update this information, and an advocate can always update their profile themselves.