Referral Export via Sailthru
Integrate Rokt with Sailthru, a CRM who bills themselves as the ‘largest sender of personalized email in the world’. This will allow your Sailthru CRM data to be as up-to-date as possible and save time on manual tasks.
Retrieve API Details (‘key’ and ‘secret’) From Sailthru
Login to your Sailthru account (https://my.sailthru.com).
Go to
Settings > Setup > API & Postbacks
.Click on the lock icon to get the API key and secret. Rokt requires this to access your Sailthru account.
Copy the API key and secret (to be used when setting up the API Config).
Once You Have the API Details, It’s Time to Enter Them in One Platform.
Navigate to the correct account in One Platform.
Click on 'Connections' in the bottom left menu.
Click on Add connection.
Click on 'API' tile under Referrals.
Give your connection a name.
In the POST field, enter the URL: https://api.sailthru.com/user
Under Authorization, change ‘type’ to Sailthru.
Enter your Sailthru API key and Secret.
Under Body, set up the request as a ‘JSON’. Enter a request payload based on the data fields you want to deliver with the referral. Here's an example request:
{
"id" : "{{{Email}}}",
"vars" : {"FirstName" : "{{{FirstName}}}","LastName":"{{{LastName}}}"},
"lists" : {"list_name_here" : 1},
"fields" : {"keys":1, "vars":1, "lists":1}
}
Replace list_name_here with the name of the Sailthru list you want to save referrals in. To save in "All Subscribers", exclude "lists" from the request. The "fields" part of the config helps you get a more detailed response from Sailthru on the contact you just sent to them. It's like doing a GET user request after the POST.
Enter all your 'Response handling' rules.
Testing Your API Connection
Once your API connection is setup (endpoint, authorization, headers, body and response handling) click on 'Settings'.
Edit the testing settings according to your test criteria.
Click on 'Save'.
Click on 'Test'.
Check your test result.
Repeat tests until you've achieved your desired outcomes.
Linking Campaigns to Your API Connection
Go to Real-time Referral page.
Expand the Connection that you want to link a campaign to.
Click on 'Show unlinked'.
Find the campaign that you want to link to your connection and click on 'LINK'.
The campaign is now linked to your connection.
Unlinking Campaigns From Your API Connection
Go to Real-time Referral page.
Expand the Connection that you want to link a campaign to.
Find the campaign that you want to unlink to your connection and click on 'UNLINK'.
Click on 'Show unlinked'.
Confirm that your campaign is now unlinked from your connection.