1. Home
  2. Sending Data to Eloqua using PathFactory Webhooks

Sending Data to Eloqua using PathFactory Webhooks

Summary

In this article we’ll outline the steps needed to send data to Eloqua via a PathFactory webhook:

  1. Set up an Eloqua Form
  2. Create a PathFactory Webhook
  3. Test Webhook

Step 1: Set Up an Eloqua Form

  1. 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.
    • 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.

      The video below provides a walkthrough of the above step:

  2. Uncheck the validation option “Must not contain any URL’s” for all the form fields in Eloqua to ensure that the engagement successfully appears in the Eloqua form.
    imageExample of an Error Message

Step 2: Create a PathFactory Webhook

  1. Click on the gear icon at the top right of the page, and select Webhooks from the drop-down menu.
    imageWebhooks menu item
  2. You are now on the Webhooks page. Click Add Webhook.
    imageAdd Webhook button
  3. Name the webhook.
  4. Provide the Eloqua form submission URL, Eloqua form name, and Eloqua Site ID in the URL field

    Example:

    Eloqua URL https://s40766406.t.eloqua.com/e/f2 

    FormName

    FormName

    SiteID

    123

    Enter the following URL for the webhook

    https://s40766406.t.eloqua.com/e/f2?elqFormName=FormName&elqSiteID=123

  5. Select the webhook event type which will trigger this webhook.
    imageEvent Type dropdown list
  6. If you only want information sent for visitors who are known, click Fire for known visitors only.
    imageAdd Webhook menu

  7. Click Add Webhook.
    imageAdd Webhook button

  8. 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.
    imageWebhook Event Fields

  9. Publish the webhook by clicking Publish at the bottom of the webhook configuration on the right hand side of the screen.
    imagePublish button

The video below provides a walkthrough of the above steps:

Note
You may choose to have one form in Eloqua to receive engagement data from all of the webhooks you setup in our platform. Alternatively, you may choose to setup a unique Eloqua form for each type of webhook (a form for “Form Capture”, a form for “Session Closed”, and a form for “Visitor Activity.”)

Step 3: Test Webhooks

Test a Form Capture Webhook

  1. Create a Form Capture webhook.
  2. Create a form in the external system to which you want to send PathFactory engagement data.
  3. Enable our PathFactory Standard form on one of the assets in a PathFactory content track.
  4. Engage with the PathFactory asset that has the form enabled and submit the form.
  5. 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

  1. Create a Visitor Activity (Session Closed) Webhook.
  2. Create a form in the external system where you want to send PathFactory engagement data to.
  3. Engage with one or more PathFactory content tracks you have built in your PathFactory install. Close the PathFactory content tracks after ending your engagement.
  4. 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

  1. Create a new Visitor Activity.
  2. Create a Visitor Activity Webhook.
  3. Create a form in the external system where you want to send PathFactory engagement data to.
  4. 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.
  5. 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.

Troubleshooting:
If your webhook isn’t working, run your callback URL through a site like web sniffer to make sure it’s responsive to GET requests. If there’s an issue, contact your developer to troubleshoot.

Updated on April 14, 2023

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT