Marketo- Creating a webhook to send data to SUPPRESS
An opt-out link from SUPPRESS may be used to create a Webhook in Marketo. The use case here would be to copy records added to Marketo over to SUPPRESS in real-time. This will drive records added to Marketo to a desired list in SUPPRESS. You may want to create a Mailer and Campaign named accordingly, so you can properly track where these records are originating.
In Marketo, you will open up Admin, then select Webhooks from the left aligned menu. Then click “New Webhook”. You will enter the Opt-Out link you wish to use in the URL field, adding the following string to the end of it: ?email={{lead.Email Address:default=edit me}}&api=1
This is the default parameter supplied by Marketo which turns the Opt-Out link into an endpoint Marketo can send each new record as it is added to a list in their system, populating the record in SUPPRESS in real-time. The other fields in the Webhook set up will be populated as seen below:
Now we need to set these Webhooks into action, using the Marketing Activity section of Marketo. Our example will explain adding new Opt-Outs from Marketo to SUPPRESS.
Create a new Marketing Activity, and name it accordingly to the process happening. Add New Unsubscribes to OPTIZMO, for example.
You will set a qualification rule that each person can run through this flow once. This will be a Triggered Campaign (not Batched). Under Smartlist, you will set it up as “Unsubscribes from Email”, and choose “Any” email. And under Flow, you will assign the corresponding named Webhook you created earlier. Now when anyone unsubscribes from any email, the Webhook will send that record to SUPPRESS, and the appropriate suppression file housed there.
***Note: If you have created multiple Webhooks, one for sending Lead records and one for Opt-Outs, as an example, you will need to create two new Marketing Activities. Please contact Marketo Support for help in creating the proper Smartlist settings for applications other than Opt-Out collection, or for any additional assistance managing your Marketo instance.