Company Blog Support
Martin Cogburn
posted

Contents

    Back to Top

    Ping URL (webhooks)

    Prerequisites

    What is Ping URL?

    Ping URL is a Rule outcome that allows you to send information from ONTRAPORT to a 3rd party application, script, or website. Ping URL can be used in sequences, Rules on Smart Forms, and global Rules.

    What it Does

    The Ping URL feature acts as a customizable web hook, notifying an external server to use API or to perform some other function when an event happens in ONTRAPORT. Ping URL allows you to send data to another server by making a  POST request containing contact data via Merge Fields in both the POST and URL areas. The target server can then use the data to trigger further actions, such as using ONTRAPORT's "fetch" API to grab additional contact data and sending it to another application.

    Side Note: Did you know you can use PingURL to send data to dynamic locations? For example, http://[myfancyurlfield].com/page.html?get=[merge1]

    Using Ping URL with ONTRAPORT

    The Ping URL function is available as a Rule outcome in ONTRAPORT, which means that contact data, including Merge Fields, can be sent to a 3rd party service anytime something is added, deleted, or updated in ONTRAPORT.

    How to Set This Up

      1. Enable API in ONTRAPORT
      2. Create a global Rule, a form Rule or an in-sequence Rule

      3. Set the condition(s) of your choice under IF THIS IS TRUE (optional)

      4. Select PING URL under THEN DO THIS

        1. Enter a URL into the URL field

        2. Add Merge Fields into the URL

        3. Enter post data into the Post Data field

        4. Add Merge Fields to your post data

        5. Save your Rule

           

     

    Have more questions? Submit a request

    Comments

    • Avatar
      Jack Bosch

      I don't see a post merge field for order information like product ordered and qty... am I missing something?

      I need to pass this info on to our fulfillment company and they want the data posted to their URL.

    • Avatar
      Greg Russell

      Is there any way to pass data out of Ontraport to another system.  The question was asked but no answer.  Please let us know if this is possible?

    • Avatar
      Frank Hagan

      I'm surprised this wasn't answered before now. Please accept our apologies. We will have more complete documentation on Ping URLs later.

      You can create a global Rule that is triggered when a specific product is purchased. The Rule can then send a Ping URL (webhook) using the pre-determined product name and all of the standard merge fields; [Last Invoice Number], [Last Charge Amount], etc. The items that are missing are the quantity purchased and shipping charges.

    Powered by Zendesk