Optin Monster Webhook
Overview
This documentation is specific to creating a webhook in Optin Monster, adding the correct url for the Salesforce integration, and adding additional required program data to the webhook configuration for each campaign that the webhook is placed on. Once the webhook is created in Optin Monster, it can be reused for different campaigns - the program data must still be added to match a Campaign external id in Salesforce.
Creating a new Webhook
Select a campaign, and then click edit campaign button
Navigate to “Integrations” and click “Add a New Integration”
Search for “Webhook”, click on the Webhook tile
Select “Add New Webhook” from dropdown. Input configuration(webhook url will be given by the Salesforce Admin)
Once a webhook is created it can be re-used for different campaigns
Setting Program data related to Campaign
!!Caution!! - a program related to the Campaign external id in Salesforce, must be added to the data field for the added webhook. If there is not one added, or if the program that is added doesn’t exist in Salesforce, the webhook event will fail(the lead will not be added to Salesforce). For now there are 4 acceptable entries for program - uo-law-mls, uo-fa-matfa, uo-nurs-ms-ed, uo-nurs-ms-inf. For additional questions on programs, contact your Salesforce Admin.
Add the program to the data field in this format - {“program”:”externalIdNameFromSalesforce”}
Finding Campaign Code in Salesforce
You can find a list of all active Campaigns in Salesforce here.
If you are not able to access this link or if the campaign you’re expecting to see is not listed, please submit a request to uclsupport@utah.edu for troubleshooting.
Select the Campaign that needs to be connected to Optinmonster. You will see the basic fields as follows:
You’ll use the Campaign Code value in the OptinMonster Webhook as described above.
You can find more information about Campaigns here: https://uclsupport.atlassian.net/wiki/spaces/PWG/pages/1255669842