JSON response to text (string)
Hey guys,
I want to display the full JSON response from my Shopify Storefront API call inside a Voiceflow variable so that my AI agent can access and read the product data.
The API call works fine in the Test Request, I can see the product data (title, description, image, price, etc.).
However, when I capture the response into a variable (e.g. {rawProducts}), the variable ends up empty ([]) instead of showing the full JSON content.
Solutions that I've already tried:
I want to display the full JSON response from my Shopify Storefront API call inside a Voiceflow variable so that my AI agent can access and read the product data.
The API call works fine in the Test Request, I can see the product data (title, description, image, price, etc.).
However, when I capture the response into a variable (e.g. {rawProducts}), the variable ends up empty ([]) instead of showing the full JSON content.
Solutions that I've already tried:
- Capturing data.products.edges directly into {rawProducts} or with response
- Using JSON.stringify(rawProducts) in a Set block
- Testing with different variable types (array, string, object)




