In this article we’ll outline the ways to send data to Eloqua via a PathFactory Webhook.
Step 1: Creation of the Webhook Connection
(There are two different methods to achieve this.)
- Option 1: Auto-generation of field mapping via Eloqua API (Note: Eloqua API integration needs to be completed for this option to be available)
- Creation of PathFactory Webhook and Eloqua Form
- Confirmation of Webhook fields to be mapped
- Option 2: Manual creation of form and Webhook field mappings
Note: Used if Eloqua API integration is not set up.- Set up an Eloqua Form
- Create a PathFactory Webhook and map the applicable Webhook fields
Step 2: Creation of a PathFactory CDO and mapping to the PathFactory CDO Records
Step 3: Testing the Webhook
Note: Please contact our support team and we will be happy to help you set up this Webhook.
Step 1: Creation of the Webhook Connection
- Navigate to the Webhooks section of the platform under Settings for Data Configuration.
Webhooks menu item - On the top right corner of the screen, click +Add Webhook. Identify which Event Type should be used to trigger the Webhook. Add Webhook popup menu
Visitor Session
This will trigger the Webhook each time visitor lands on a PathFactory track and closes the page, the session will be closed after 30 minutes (NOTE: This is the main Webhook that is used upon setup)
Form Capture
This will trigger the Webhook each time a form is submitted. This will only trigger for Standard Pathfactory forms or third party forms that have a Capture tag implemented on them.
Visitor Activity
This will trigger the Webhook if the visitor performs a specified activity. This can range from the # of assets a visitor touches, or the specific asset a visitor engages with. For this option you will need to create a Visitor Activity within PathFactory which you can find instructions on here.
Option 2: Manual creation of form and Webhook field mappings
Note: Used if Eloqua API integration is not set up.
Step 1: Set Up an Eloqua Form
Create a form in Eloqua and ensure the following:
- The Eloqua 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. Click here for definitions of each Webhook field and descriptions of the different Webhook types.
Step 2: Create a Webhook in PathFactory
Create a Webhook in PathFactory that links to the form where https://[Eloqua Instance].t.eloqua.com/e/f2?elqSiteID=[EloquaSiteID]&elqFormName=[FormName]
- Ensure that the fields you would like to receive data for are mapped. If you would like to limit the data that is being sent via the Webhook map only the data points you would like to send and leave all others blank.
- The HTML name of each of the form fields matches the value you have provided in the field mapping area while setting up the Webhook.
Step 2: Creation of a PathFactory CDO and mapping to the PathFactory CDO Records
Create a CDO that contains all the fields within the Webhook form with Entity Type = Contacts and Entity Field = Email Address
Custom Object
Go to custom object record fields and map it to the Webhook form that was created. Select all fields shown in the Webhook form.
Form Fields
Once the CDO is created, ensure that the following settings are applied so that the unique identifier matches the one within PathFactory and the Email Address maps correctly. This will make it easier to associate CDO records to PathFactory data later on.
- Display Name Field = Known Visitor Email
- Unique Code Field = Session ID
- Email Address Field = Known Visitor Email
Custom Object
Navigate back to the Webhook Form and add a Update Contacts – With Form Data Processing Step. Identify the contact using Email Address
Clear all auto mapped fields other than Email Address (this is important as fields like City, Region, and Country are matched by 6Sense within PathFactory and this may not match the information provided by a contact within a form. This is also applicable to a field like UTM_source where we capture UTMs from a PathFactory page and not where the lead came from).
Note: Ensure that before saving Email Address is a required field on the form.
Email Address
Email Address selection
Add another Processing Step on the Webhook Form with Update Custom Data Object – With Form Data. We recommend that the Key Field used is Session ID as that is how we uniquely identify data that is going to be syncing into eloqua on a per CDO basis.
Always button
Save this and execute by clicking Always.
Step 3: Testing the Webhook
Test a Form Capture Webhook
- Create a Form Capture Webhook.
- Create a form in the external system to which you want to send PathFactory engagement data.
- Enable our PathFactory Standard form on one of the assets in a PathFactory content track.
- Engage with the PathFactory asset that has the form enabled and submit the form.
- The engagement data will appear in the target form in the external system within 2 minutes after our standard form has been submitted.
Test a Session Activity Webhook
- Create a Visitor Activity (Session Closed) Webhook.
- Create a form in the external system where you want to send PathFactory engagement data to.
- Engage with one or more PathFactory content tracks you have built in your PathFactory install. Close the PathFactory content tracks after ending your engagement.
- The engagement data will appear in the target form in the external system after 30 minutes from the time you have finished engaging with the PathFactory content tracks.
Note
|
Please note that if, after finishing your initial engagement with the content track(s) as outlined above, you subsequently engage again with any PathFactory content track you have in the same browser, this will reset the 30 minute time period needed for the data to appear in the external system form. The new time window will be 30 minutes after you have finished your subsequent engagement with the content tracks. |
Test a Visitor Activity Webhook
- Create a new Visitor Activity.
- Create a Visitor Activity Webhook.
- Create a form in the external system where you want to send PathFactory engagement data to.
- Engage with one or more PathFactory content tracks you have built in your PathFactory install, ensuring that the criteria set in the visitor activity is fulfilled.
- The engagement data will appear in the target form in the external system after 30 minutes from the time you have finished engaging with the PathFactory content tracks. Close the PathFactory content tracks after ending your engagement.
Note
|
Please note that if, after finishing your initial engagement with the content track(s) as outlined above, you subsequently engage again with any PathFactory content track you have in the same browser, this will reset the 30 minute time period needed for the data to appear in the external system form. The new time window will be 30 minutes after you have finished your subsequent engagement with the content tracks. |