Webhook data jot form

Hi, i set up a webhook with jotforms.

i got the following input from request history

{

  "ip": "139.28.176.46",

  "type": "WEB",

  "appID": "",

  "event": "",

  "action": "",

  "formID": "123456",

  "parent": "",

  "pretty": "Email:[email protected], Name:KK KK",

  "teamID": "",

  "unread": "",

  "product": "",

  "subject": "",

  "isSilent": "",

  "username": "abc",

  "formTitle": "Form",

  "fromTable": "",

  "customBody": "",

  "documentID": "",

  "rawRequest": "{\"slug\":\"submit\\/1234\",\"jsExecutionTracker\":\"build-date-1729688702202=>init-started:1234=>validator-called:1729693110570=>validator-mounted-false:1729693110570=>init-complete:1729693110574=>onsubmit-fired:1729693119453=>observerSubmitHandler_received-submit-event:1729693119453=>submit-validation-passed:1729693119455=>observerSubmitHandler_validation-passed-submitting-form:1729693119458\",\"submitSource\":\"form\",\"buildDate\":\"1729688702202\",\"uploadServerUrl\":\"https:\\/\\/upload.jotform.com\\/upload\",\"eventObserver\":\"1\",\"q3_email\":\"[email protected]\",\"q4_name\":{\"first\":\"KK\",\"last\":\"KK\"},\"timeToSubmit\":\"8\",\"preview\":\"true\",\"validatedNewRequiredFieldIDs\":\"{\\\"new\\\":1}\",\"path\":\"\\/submit\\/242963960265061\"}",

  "webhookURL": "https://x8ki-letl-twmt.n7.xano.io/api:r123kG/submissions",

  "customTitle": "",

  "customParams": "",

  "submissionID": "6055023196465256193"

}

 

When i get all raw input, the result is payload and it works, sort of.

when i am to get value from the payload, e.g. payload.rawRequest

it no longer works, the payload output is no longer a valid json.

if i encode it wtih json again, i cannot get the value.

even when i try to get value such as payload.ip, the result will return as "0".

Grateful if anyone can help.

thanks a million

4 replies