Hey everyone, I am having trouble extracting a list of things from an API. I’ve tried different ways, using both the Data API and the workflow API. My app is a chatbot builder and I need to extract all of the blocks’ texts through API.
My DB is currently structured like this:
Automation < Blocks < content type (text/image/audio…) < content (The content itself)
I need to call an API using only the automation’s unique ID and retrieve the content data from all of the blocks. The problem is, once I am calling the API, I am getting this response:

This isn’t useful since I actually need to get the data inside those properties instead of it’s IDs.
Speaking in a more simple way, I need to make an API request and get the item and also it’s related items in a JSON way.
What I already tried:
Formatting everything as a text and building the jSON structure manually, so it would be returned via a workflow api. It worked halfway since I got all of the results but formatted as text so the connected system didn’t recognize the output.
Can anyone help me? I am trying to solve this for a few hours now and ran out of ideas.