Unable to Retrieve Submission Data Despite Trigger and Event Details Visible?

This topic was automatically generated from Slack. You can find the original thread here.

I was able to succesfully pull data before, however now I am now not able to get submission data. I do see the submission trigger and event details but no data is showing

So to confirm, the details of the event changed at some point for an existing Jotform trigger?

yes, I was conducting testing all data was available. I was working on re-doing the workflow and I am now no longer receiving the data

both context and event information is there, just no data

Hm, I wonder if their API changed. Can you add a step to fetch form or submission details from Jotform, based on your needs?

interesting. I just pulled this and it now has the information. Just weird because it was pulling it before on the first request

Our Jotform trigger uses a webhook where they POST data, so whatever data their API is sending to that webhook is what we are returning in the emitted events

gotcha. thank you so much

I think I can work with this method

Oh actually I see what’s happening. When you first create the source, we attempt to pull in historical events so that you can use them to build out your workflow. To do that, we make a GET request to something like a “list form submissions” endpoint. Then after you actually create the source, whenever submissions come in, they’ll trigger the webhook and will post events that way. So I believe the shape of the event is different in that first GET request vs what is returned from the webhook.

oh gotcha. So I would need to create the second request for the data.

Exactly. That will get you the real event shape that you should expect in production once you deploy the workflow. And in the meantime we should be able to update the logic in the source so that historical events match the event shape you’ll see moving forward.

I got it from here!

FYI we’re tracking the fix for that issue here, but like you said, you should not be blocked

thank you

hey, following up on this. So now I am getting the information, however I only see it in the raw request. Is there a way to parse this information for using it in future steps?

for example, from my raw data i would need the information from “Field 18” to input into my next step which is a PUT request. I can copy the path but it will provide all of my rawRequest data.

steps.trigger.event.body.rawRequest

Do you also see the formData object?

I am not receiving form data