OpenAI’s Latest Update: Bubble.io + Structured Response Test Results (August 2024)
OpenAI's latest update brings structured JSON responses to their API, but it still falls short for Bubble.io users.
Unlock structured JSON responses: Learn how to leverage Claude for AI web scraping with structured data in your Bubble app!
OpenAI's JSON mode vs Claude: Discover why Claude's secret JSON mode still outperforms OpenAI for structured outputs in Bubble.
Frustrated with JSON formatting? Master AI-assisted JSON structuring for seamless integration with your Bubble workflows.
OpenAI's Structured Output Update
Yesterday we released a video showing how you can use Claude from Anthropic to get a structured JSON response of AI generated data back into your Bubble app. So you can imagine my excitement when I saw overnight that OpenAI appear to have done basically the same thing. They are reforming their JSON mode and saying this is structured outputs from the API. Now before I go any further, I don't like clickbait titles. I'm just going to say it doesn't work in Bubble still.
Demonstrating the Issue in Bubble
And let me, let me just go ahead and demo that right away for you. So here I have in my Bubble app, I'm going to give a bit of an explanation after this demo. So do stick around for that. But here I go. I'm just saying like here's a bit about me and then here's some JSON structuring to say extract details from it.
And I initialize the call. And this is the sad bit, it still returns it within text. So this is part the format that OpenAI responding in part a lack of features here from Bubble, which is the ability to say hey, this is JSON. Let's interpret it as JSON. Now if you have got OpenAI deeply ingrained into your Bubble app, as is the case with many of the Bubble coaching students I speak to, you can use a plugin to basically say key name of name and then take out the value.
Comparing with Claude's Performance
You can do that, but it's adding in a really frustrating additional step. The fact of the matter is, as of today, which is the 7 August, Claude still does better in this. And we'll put a link down in the description for our Claude video, because when you run a very similar prompt through Claude, you actually get Bubble detecting the different keys and parameters coming back based on the structure that you've decided. But I'm not going to, I don't want to have wasted my time preparing for this video. So I am going to explain exactly what's going on here, because it can be applied to the Claude video as well, which is if we go into the oh, I'm going to come back to that documentation.
Using AI to Format JSON
I don't think I'm the only one who really gets frustrated when they put a comma or a speech mark in the wrong place, when they're formatting their JSON and you get syntax error and it takes agents to debug it. I mean, you can just copy and paste it into like an online JSON format. It will tell you what line you've got mistake on. But what I found is the best approach, whether you're working with Claude or OpenAI, is to simply say, copy the structure and then to use your AI chat of choice. In this case.
Where's it gone? I'm using chat GPT, and so I've written the prompt saying here is a request, giving as much data as I can, saying here is an example. And then I say, wait, further instructions, but it goes ahead and writes it. But then I say, restructure it. And this is where I describe actually what I want it to extract.
Dealing with Apostrophe Escaping Issues
Now here's a warning, at least using the chat GPT version that I've got here, you can see that it's escaped the apostrophes there, but it hasn't escaped the apostrophes here. So actually when I copied and pasted this into my Bubble app, I've got an error in the API connector because the JSON wasn't properly formatted. So there you go. I'm saying here's an issue and it comes back and it still doesn't fix it. In fact, it just double escapes the punctuation in the user role message.
The Benefits of Using AI for JSON Formatting
So I go backwards and forwards with it. I pasted a few different examples. I did this because I still think that this is quicker than really wrestling of yourself, especially when you're. Yeah, I'm doing something simple here, I'm just extracting three different values and then an array at the end. But if you were, say, the example we've used in the past is a web scrape data from a job listing site.
You can, you could add in 610 20 different fields that you want extracted back. Some of them could be lists, some of them could be other data types. So it really does help to use an AI to write the JSON code for you. Just at least if you're using chat GPT, watch out for what it does with punctuation. So TLDR.
Conclusion: Claude Still Performs Better
Well, it's not TL, doctor, if you got to this point, it's still better to use Claude to get structured data back into Bubble. And you can click the link down in the description to find out more about how you can do that in Bubble, because we've got a full demo for you just there.
The best way to learn Bubble.io?
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.
Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.
As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.
Your subscription includes:
- Bubble Beginner Essentials – Get up and running fast.
- Build a ChatGPT Clone – Integrate AI into your no-code apps.
- Build Your SaaS Website with AI – Learn to create a scalable startup site.
Plus, new tutorials every week!
The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.
Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:
- 1:1 mentorship to fast-track your progress
- Marketing strategies tailored for no-code founders
- Product management insights to scale your startup
- Personalized support from experienced founders