Get JSON to API endpoint in backend workflow

I’m implementing a flow where a webhook will hit an API endpoint I’ve created on the backend. It is working in that I am getting the data back, but it’s parsing the data for me which is not helpful.

For example, here’s the raw data:

And here’s how it parses it:

The issue is that the items under parsed may change, so I just want to get the data as JSON so I can iterate through it, or at least the parsed object as JSON. Is there any way to do this? Or does the response have to be set in stone like Bubble wants it?

Thanks!

Activate detect request header to also get access to the raw body. This contain the raw json.

1 Like

Thanks! I’ve been away from Bubble for a bit - any good way to deal with JSON yet or is it still a pain?

Still a pain… :smiling_face_with_tear:

It’s a nightmare but you can use:
JSON Assistant Plugin.
Try to filter this response if the structure is predictable or relate to elements you expect.
ex. body/payload filename
That’s what I am using.

Always first create action API Call, then refer to the data in further steps - gives some power to look for what you actually want and calls API just once.