How to Make Dynamic Webhooks in Bubble.io and Respect App Version
We'll show you how to create dynamic webhooks while ensuring that your app version is respected. Webhooks are essential for integrating your application with third-party services, and making them dynamic allows for greater flexibility and functionality.
Unlock dynamic webhooks: Learn how to make your Bubble.io app version-proof!
Master API endpoints with dynamic data: Avoid common webhook pitfalls!
Supercharge your backend workflows: Create flexible, version-independent webhooks!
Building an AI Image Generation App with Flux in Bubble
In an earlier video, we demonstrated how you can build an AI image generation app using Flux in Bubble, and we explained how you can use a webhook to inform your app when an API has completed the process you've requested it to do. This is particularly useful if you are doing something with an API that will take an indefinable amount of time or a long amount of time. Because rather than just your Bubble app waiting for the steps to complete, in which case it may timeout, it's simply saying when you're ready, when you've completed generating the image, send a notification with some id details so I know which image it is to this backend workflow. And so we're saying use this as a webhook. And then if I go into the backend workflows, I have changed this app slightly.
Saving Images to the Database
This is just my demo app, but it would be this workflow here that I would then go ahead and save the image to the database. Go and check out our original Flux video on how to do that. But we've had a comment that points out something that I'll admit I overlooked, which is you need to make the webhook dynamic because this webhook is specific to the version test.
Making Webhooks Dynamic
So what do we do? Well, we can simply take it like this. I'm going to copy that to my clipboard, I'm going to add in some dynamic values, I'll say Webhook and then it's not private. And then I'll go to my page where the user generates their image, go to my workflow, and now I can dynamically fill the webhook in here. So we want to make this as dynamic as possible.
Using Dynamic Data for Webhooks
I would consider doing it like this. I'm just going to drag some text onto the page to give an example, which is we can say app or that's home homepage URL. And so we can use this dynamic data. And if I click preview, we get the specific app homepage for this version. And also note that this is using the primary domain, the domain that is set, or rather isn't set because this is the temporary domain the app lives on.
Ensuring Webhook Flexibility
And so we want to make it as dynamic as possible because when you update the domain or even move domains, we don't want you to have to. It's just something that's going to go wrong if you have to go back and rewrite the webhook address. So we know that we can say this app's homepage will print this. Notice it ends in a slash so we can use that to form part of our dynamic data here.
Constructing the Dynamic Webhook URL
So we can say this app's homepage. And then I'm going to paste in the full webhook and just cut out the bits that I no longer need. That's just a little bit fiddly in here. Maybe I should have used arbitrary text. But look, there we go. So we know it ends in a slash. So I can take it all the way back. This is there we go back to there.
Finalizing the Dynamic Webhook
So this is now going to print the homepage slash version test. No, no. In fact we take, of course, of course we take out version test. So you want it to be the homepage slash API 1.1 workflows image webhook. So this is similar. If you have seen our videos on AssemblyAI, this is exactly the same process. In fact, I think we include this step in our AssemblyAI videos for speech to text transcription. But here you go.
Conclusion and Next Steps
This is kind of catching up. It's an add on for our video about Flask. And if you're watching this video, it's probably because you've got an idea and you wanted to build it with no code. Build it in Bubble, click the link down in the description to get access to our community. And we've got tons of resources for people just like you.
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.
![](https://cdn.prod.website-files.com/665906e27d14bdd3c329e392/66c49b98fad51f4cba2f57b9_Planet%20No%20Code%20Logo%2023.png)
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