Summary
In this article we’ll outline the steps needed to send data to Marketo via a PathFactory webhook with the following steps:
- Set up a Marketo Form
- Create a PathFactory Webhook
- Test your Webhook
Step 1: Set up a Marketo Form
- Create a form in Marketo, and ensure the following:
- The Marketo form has a field for each of the event field data points for a Form Capture Webhook, Visitor Session Webhook, and/or Visitor Activity Webhook.
Note
|
Click here for definitions of each webhook field. If you are unsure what type of webhook you are going to create visit the Setting Up Webhooks article. |
Step 2: Create a PathFactory Webhook
- Click on the gear icon at the top right of the page, and select Webhooks from the drop-down menu.
Webhooks menu item
- You are now on the Webhooks page. Click Add Webhook.
Add Webhook button
- Name the webhook.
- Select the webhook event type which will trigger this webhook.
Add Webhook menu
- Uncheck the box to “Associate to newly created Eloqua form”.
- Provide the Marketo form submission URL, Marketo form ID, and Munchkin ID in the following format in the URL field of the webhook:
https://BASEURL/index.php/leadCapture/save2?munchkinId=MUNCHKINID&formVid=FORMID&formid=FORMID
Add Webhook menu
- If you only want information sent for visitors who are known, click Fire for known visitors only.
Add Webhook menu
- Click Add Webhook.
Add Webhook button - Ensure that all the mapped event fields that you need are present in Event Fields and any custom fields are set up in Custom Fields via the webhook configuration on the right hand side of the screen.
- Use the SOAP API name for each of the form fields that you want to map to one of our Webhook PathFactory fields. Demo video below:
- Enable the webhook.
Step 3: Test the Webhook
Congratulations! You’ve now built a PathFactory Webhook to send data, and a Marketo form to receive that data. All that’s left is to do is test your webhook.