Adding personalized greetings to your Bubble app
Here's how to add personalised greetings to your Bubble app such as Good Morning, Good Afternoon & Good Evening using conditional statements and Current Date/Time.
Unlock personalized greetings: Learn how to create dynamic "Good morning/afternoon/evening" messages with current date time in Bubble!
Elevate user experience: Discover the power of conditional statements to tailor your app's greeting based on the time of day.
Master time zones and user-specific greetings: Explore how to leverage browser time zones for accurate, personalized app interactions.
Personalizing Your Bubble App with Dynamic Greetings
Web apps don't have to be boring. You can make them more personalized and more friendly by adding a greeting to your SaaS app that you're building with Bubble, such as "Good morning, first name, good afternoon, first name, or even good evening, first name." I'm going to show you how to do that in this Bubble tutorial. But before I get started, did you know that we've got hundreds of Bubble tutorial videos? You can find them on our YouTube channel, like and subscribe for more. But you can also find many more that you cannot find on YouTube on our website at planetnocode.com. So head over there if you're learning Bubble and you're a beginner to advance, it's all there. Hundreds of Bubble tutorial videos.
Setting Up the Dynamic Greeting
Right, let's dive into this and start making it dynamic because at the moment it's always going to say "Good morning" and it's always going to say "Matte". So first of all, we just need to decide on like a default and so I will say the default is going to be "Good morning" and I'll say in order to add in the name, I'll go "Current User, first name" because when I signed the user up, I got them to enter their first name. So I'm going to click "Preview" and we should see that that updates. "Good morning, Matt." Brilliant.
Adding Conditional Statements for Time-Based Greetings
And now we need to add in conditional statements based on whether... well, what time of day it is to make the greeting much more personalized. So I will say when current date time, extract hour is equal to or greater than 12 and then I would change the text and I will say "Good afternoon" and insert the current user first name again. We've got other tutorials about current date time, about date and time pickers and about time zones.
Understanding Time Zones in Bubble
Whenever you refer to current date time, on the technical side it's using a Unix timestamp. That's like a universal way across the internet that websites measure time so there's no confusion between time zones. But when Bubble renders it to your users and when you preview it, it's going to show you time based on the time zone that the user's web browser declares that they're from. So it's always going to be relevant to your user unless of course they're using some sort of plug-in, perhaps a VPN, although I still think the browser is going to give a particular time zone.
Implementing the Afternoon and Evening Greetings
Anyway, that's what's going on here and I can preview what happens with the conditional statement if it's true by clicking there and I can see that it swaps to "Good afternoon". Now I need to add in another one. In fact, I will copy the statement here and I'll say equal to or greater than... not five because it's 24 hour clock, it'll be 17. So 5pm and I'll say "Good evening" and then add in the current user first name.
Understanding Conditional Statement Hierarchy
Okay, we've got some other videos too about conditional statements but I'm going to recap it here, which is I don't need to say "Extract hour is equal to or greater than 17" but... Yeah, I don't need to account for both because there is an order of operation with conditional statements and I can preview that by using the toggle here. So if it is after 12 then I'm going to get afternoon but if it is also after 17 I will get "Good evening". Okay, because the hierarchy kind of goes down so my later statement, my lower down statement takes precedent over the higher statement as you can see there.
Conclusion: Personalized Greetings in Your Bubble App
So there you go, that's how you can add in a more personalized greeting, you can add a "Good morning", a "Good afternoon" and a "Good evening" message to your users including their first name of your user.
Ready to Transform Your App Idea into Reality?
Access 3 courses, 400+ tutorials, and a vibrant community to support every step of your app-building journey.
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 400+ 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.
Valued at $80
Valued at $85
Valued at $30
Valued at $110
Valued at $45
14-Day Money-Back Guarantee
We’re confident this bundle will transform your app development journey. But if you’re not satisfied within 14 days, we’ll refund your full investment—no questions asked.
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
Not at all. Our courses are designed for beginners and guide you step-by-step in using Bubble to build powerful web apps—no coding required.
Forever. You’ll get lifetime access, so you can learn at your own pace and revisit materials anytime.
Our supportive community is here to help. Ask questions, get feedback, and learn from fellow no-coders who’ve been where you are now.
Absolutely. If you’re not satisfied within 14 days, just reach out, and we’ll issue a full refund. We stand by the value of our bundle.
Yes, this is a special limited-time offer. The regular price is $350, so take advantage of the discount while it lasts!