Learn Bubble with 500+ tutorials, courses & AI Assistant ✨

Limited time launch offer get $80 off today

0 days 0 hours 0 minutes 0 seconds
SAVE $80 NOW
Planet No Code logo
Bubble.io CoachingFounder MentoringSponsorships
LoginLearn Bubble.io

AI Web Scraping Structured Data: Claude Tools & JSON mode - Part 3

The BEST way to request structured JSON data from an AI like Claude by Anthropic. Dive into the world of Claude Tools (function calling).

Join now $19/monthLearn more
Get 500+ tutorials, a No-Code AI Assistant, 4 premium courses, and everything you need to build faster!
AI Web Scraping Structured Data: Claude Tools & JSON mode - Part 3
Explore these topics...
Anthropic Claude
UseScraper

With just this tutorial learn...

Unlock AI-powered web scraping: Learn how to extract structured data from job listings using Claude!

Master JSON responses in Bubble: Discover how to leverage API connectors and Claude's function calling for clean data extraction.

Boost your web scraping skills with AI: See how to combine UseScraper and Claude for effortless data structuring.

With membership you'll...

Learn how to build a ChatGPT Clone, Custom CRM for your business & SaaS Marketing website with Webflow & AI.

Unlock 500+ Bubble tutorial videos with AI powered Q&A.

Debug your Bubble app instantly with our custom trained No Code AI Assistant.

Join now $19/month
Risk-free! 14-day money-back guarantee. Cancel anytime.

Structured Data with Claude AI

So here it is, structured data returned from Anthropic Claude AI model so that I can go through and easily save these fields into my Bubble app. Quick recap, I've built a web scraping no-code tool that combines AI so that I can provide a job listing page just like this one using UseScraper. I convert this into markdown, it's web scraped, and then I pass it on to Claude and Claude gives me back this structured response. So I've got the precise bits I want, a restructured date, reformatted the permanent contract term and the first value of the salary. There we go, 13,000.

Using Claude's Function Calling Tools

So how have I done this? Well before I launch into that, click the link down in the description if you want to learn more about building no-code apps with Bubble and you want to join a no-code community and you want to access hundreds of Bubble's tool videos just like this one from something much simpler beginner all the way through to quite advanced API work like this. But I really want to credit Baloshi69 who points me in the right direction on the Bubble forum, in fact responded to me in just a matter of minutes and his key find was that you can use Claude's tools, the function calling, in order to structure a JSON response.

Breaking Down the Prompt

Now I'm going to break it all down for you here. So let's go back and click Save and this is how my prompt has been updated. The main part of which is this tool section here and this tool choices and I'm going to take this copy it and paste it into JSON beautify because it's going to make it a bit easier to explain. I just need to make this actual JSON rather than a dynamic field. So let's remove that. Oh it's double bracket so I'll just say test and then I can beautify it. Okay so now it's going to allow me to... it shows it in a much more beautified tree of data so everything apart from this is normal.

Understanding the Tool Structure

Okay all of my previous videos using Claude or indeed even the OpenAI API is going to be very similar to this. You have your messages. That's what we've worked with so far. Now let's break this down. We say here is a tool and we give the tool a name and we give the tool a description and what you're trying to do here is in kind of natural language human readable terms describe to the AI what you want the tool to do. Now here's the real breakthrough was and I to be honest I I I spent probably 20 minutes and even using Raycast's command bar AI to query test really understand what was going on because if I'm honest I found the Claude... is it going to be under here? Where's it going to be? Start messages. I found that the Claude's tool section really quite hard to get my head around. But okay here we go. It expresses it there. That's basically what I'm basing this on.

Configuring Properties and Fields

So let's go back into the Bubble app. No let's go back to the beautified. So properties which is all of this. This is where you list the fields that you want to get back. So I'm saying here's a field called closing date and I want it as a string but I also want it to reformat the date into this particular date format and then saying contract term and I'm saying salary. I've now marked all of these as required. Now I've not done a lot of testing with this but I found that when I first added salary in I didn't have it marked as required and I didn't get the salary back. So I think if you really want to force it into this JSON mode because that's essentially what we were trying to do with the AI, yeah mark them all as required.

Declaring Tool Usage

Then you have to declare that you want it to use a tool. Now there are a number of different modes that the function calling tools in Claude can be. For this we want to say don't just have a chat with me you have to use this tool. So we're saying tool choice type and then we're saying the name of the tool up here and then we go back into ordinary messages.

Getting Structured JSON Data

So quick recap. If I run it now we get back the actual data that we have requested in this nicely structured JSON. So I think this is a great conclusion because you can use plugins to extract particular key values within JSON. You could effectively create your own text to JSON and then back into your Bubble app a structured data using a back-end workflow and responding with particular structuring of data.

Conclusion and Recommendations

You could do that but I think this is the way to do it. So if you're excited about using Claude and you want to get ahead around how to use tools then hopefully this video has been useful for you and I'd say that the trickiest bit for me was just working out exactly how the structure what was essential and not but you can go through the Claude documentation to get all of the details out of that. But hopefully this is a really simple example of extracting three different values, making a tool, declaring them as required and then saying that the the API call has to use the tool. So there you go. If you found this useful please like and subscribe and just yeah one last thanks to the Bubble Forum community, particularly to... Baloshi69? Sorry I've really ruined trying to pronounce your username but thank you so much for pointing me in the right direction with this one, hugely appreciated.

Table of contents

Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Your No-Code Journey Starts Here

The best way to learn Bubble.io?

Build No Code Confidently

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.

Monthly
Yearly
Member
Accelerate your Bubble app to launch
$99 / month
$19/month/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now
Member
Accelerate your Bubble app to launch
$990 / year
$149/year/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now

Frequently Asked Questions

Find answers to common questions about our courses, tutorials & content.

Do I need any coding experience?

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.

How does the AI No-Code Coach work?

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.

How long can I access the content?

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.

What courses are included

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.
  • Develop a Custom CRM App in Bubble - Learn database relationships with a CRM.

Plus, new tutorials every week!

What if I get stuck on a lesson?

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.

Do you offer a money-back guarantee?

Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.

Can I cancel anytime?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

What if I want more than just tutorials & courses?

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:1 mentorship to fast-track your progress
  2. Marketing strategies tailored for no-code founders‍
  3. Product management insights to scale your startup‍
  4. Personalized support from experienced founders

‍

Still have questions?

Reach out to our dedicated team.

Contact
Services
Search Bubble TutorialsBubble.io CoursesBook Bubble.io CoachingApply for Mastery
Latest Bubble tutorials
How to Build Your Own SEO Tool Without Coding!
Stream AI Generated Text into Bubble Repeating Group & Save to Database
Rerank Text By MEANING With Cohere In Bubble.io Step by Step!
Partnerships
Flusk.eu
VectorShift
Comnoco
Plumb
Toddle
Whereby
Get started with no code
AI Powered No Code AppsNo Code Web ScrapingBubble.io Plugin tutorialsBubble API Connector tutorialsStudent & Teacher DiscountBest tools for no coders
Follow us
Youtube
X
LinkedIn
Planet No Code logo
In partnership with
Queen Mary University of London Logo
© 2024 Planet No Code. All rights reserved.
Privacy PolicyTerms of ServiceCookies SettingsContact Us