Full list of questions in webhook

  • Profile Image
    cheiler
    Asked on October 16, 2013 at 08:28 AM

    Hi, When I send my form to a custom webhook I get fields back like:

     

    "q118_companyName":"test"

     

    Is there a way to get the full names of all questions so I can put them in a proper script?

     

    Currently I have to try every single permutation of the form to get all Question numbers.

     

    Thanks,

    Christian

  • Profile Image
    Welvin
    Answered on October 16, 2013 at 09:20 AM

    Good day Christian,

    Yes, that is possible with http://requestb.in/. Click "Create a RequestBin" button, you can also make the bin as private:

    Copy the BIN URL....

    ...and add the bin URL as one of your Webhook URL (Setup & Embed -- Webhooks):

    ...save the form and create a test submissions....

    ...go to your Bin Inspect URL. Example: http://requestb.in/1eivz4k1?inspect. Basically, appending "?inspect" to your Original Bin URL. You should be able to see the whole list of your form field names.

    Let us know if you need any further assistance.

    Thanks

  • Profile Image
    cheiler
    Answered on October 16, 2013 at 11:35 AM

    no, that does not work

    I have conditional fields, so I send EITHER one or the other - so, with multiple conditional fields, I have no choice but to try all different cases possible.

     

    Webhooks only sends fields that have content.

    In my case - plenty of questions are not send.

  • Profile Image
    Welvin
    Answered on October 16, 2013 at 11:53 AM

    I have you all the names here: http://requestb.in/1eivz4k1?inspect. You can clone the form and remove all the conditions to the clone version and do a test. The clone version should have the same field names.

    Thanks