Is there any way to have your webhook send the data in a different format like json?

  • Marty
    Asked on October 23, 2019 at 3:23 PM

    I had a question about webhooks. I created an endpoint with a 3rd party integration software called Workato. A company that works with us has several jotforms that I need to receive real time data from. The webhook I set up catches the data but I am unable to extract what I need from the submission. I contacted Workato and they said that they currently do not support multipart form data. Is there any way to have your webhook send the data in a different format like json?

  • David JotForm Support Manager
    Replied on October 23, 2019 at 4:48 PM

    Unfortunately, this is not possible. It can be sent as PHP, here are some example: https://www.jotform.com/help/248-Webhook-PHP-Script-Examples

  • marty.six
    Replied on October 23, 2019 at 5:20 PM

    So I changed the form to sent the data as a post request to my endpoint and it may work. I followed the instructions to post to send to Thank You. There seems to be some issues on the jotform end though. I am receiving the info I need to continue but it seems to send the customer to another page. Is there a way to just send the data and not redirect the customer?

  • David JotForm Support Manager
    Replied on October 23, 2019 at 5:32 PM

    I assume that you are referring to this form: https://www.jotform.us/form/92787357672171

    Where the users see this OK message after submission:

    1571866010ok Screenshot 10

    The redirection will occur when using this method. You would need to set up your own Thank You in your end.

  • marty.six
    Replied on October 23, 2019 at 7:30 PM

    That's the one. So the company we work with uses the redirect to go to their website so that is not an option. Is there any other way to receive the post data without redirecting to a url? My only other thought would be to direct the webhook to a sql server on aws or something where I can later retrieve it.  

  • David JotForm Support Manager
    Replied on October 23, 2019 at 7:46 PM

    Unfortunately, there isn't another way to receive post data. The URL needs to be specified in the "Redirect to" option of the Thank You page.

    I believe that it is possible to send the data your own database, but this would require you to hire a developer experienced in the used of Webhooks technique. 

    It seems like another option could be using Zapier, it seems like you can get a Zapier Webhook URL, that you could put in your form:

    40458 1 Screenshot 10