JSON Response Parsing

I am using OpenAI JSON Responses and I receive a response but I am having a hard time getting bubble to recognize the fields I need so I can format it for the user and use the data later for other things. Any ideas on how to pull each field in the JSON and put it into another field in the chat message? i thought getting a response would be hard, not getting the data i need from it. lol

1 Like

Well am assuming you are using the output of an API call in a following Workflow step right? So am also assuming you have tried the Construct Returned Message ? There is actually a template project for this which is worth referencing: Azure OpenAI Service Chatbot Template | Bubble although am guessing the actual OpenAI one might differ a little.

This might help!

1 Like

Thank you! This helped me so much!!

1 Like

You got it!