Learn BUBBLE-IO with Real Code Examples
Updated Nov 26, 2025
Code Sample Descriptions
1
Simple Workflow Example
Workflow: When User signs up
Action 1: Create a new User entry in Database
Action 2: Send Email -> To: Current User's Email
Subject: "Welcome to our app!"
Body: "Hello, thanks for signing up! We're glad to have you onboard."
In Bubble.io, workflows define application logic. This example sends a welcome email to new users after signup.
2
Update Profile Workflow
Workflow: When Update Profile button is clicked
Action 1: Make changes to Current User
Fields: Name = Input Name's value, Bio = Input Bio's value
Action 2: Show Notification -> "Profile updated successfully"
Updates the current user's profile information when a form is submitted.
3
Create Post Workflow
Workflow: When Submit Post button is clicked
Action 1: Create a new Post
Fields: Title = Input Title's value, Content = Input Content's value, Author = Current User
Action 2: Navigate to Page -> Post Detail
Creates a new post in the database when a user submits a form.
4
Delete Item Workflow
Workflow: When Delete button is clicked
Action 1: Show confirmation popup
Action 2: Delete Thing -> Thing = Current Cell's Item
Deletes a selected item from the database after user confirmation.
5
Send SMS Notification Workflow
Workflow: When Order is marked as Shipped
Action 1: Send API Request -> Endpoint: Twilio SMS API
To: Current Order's Customer Phone
Body: "Your order has been shipped!"
Sends an SMS notification using an external API when a specific event occurs.
6
Schedule Event Workflow
Workflow: When Schedule button is clicked
Action 1: Create a new Event
Fields: Name = Input Name's value, Date = Date Picker's value, Owner = Current User
Action 2: Send Email -> To: Current User's Email
Subject: "Event Scheduled"
Body: "Your event has been successfully scheduled."
Schedules an event in the database and notifies the user.
7
Add Item to Cart Workflow
Workflow: When Add to Cart button is clicked
Action 1: Make changes to Current User
Field: Cart = Cart :plus item Current Cell's Product
Action 2: Show Notification -> "Product added to cart"
Adds a product to the user's shopping cart and updates the cart count.
8
Approve Request Workflow
Workflow: When Approve button is clicked
Action 1: Make changes to Current Cell's Request
Field: Status = Approved
Action 2: Send Email -> To: Request Creator's Email
Subject: "Your request has been approved"
Body: "Hello, your request has been approved."
Marks a user request as approved and sends a confirmation email.
9
Subscribe to Newsletter Workflow
Workflow: When Subscribe button is clicked
Action 1: Create a new Subscriber
Fields: Email = Input Email's value
Action 2: Send Email -> To: Input Email's value
Subject: "Welcome to our Newsletter"
Body: "Thank you for subscribing to our newsletter!"
Adds a user to the newsletter subscription list and sends a welcome email.
10
Reset Password Workflow
Workflow: When Reset Password button is clicked
Action 1: Make changes to Current User
Field: Password = Generate random password
Action 2: Send Email -> To: Current User's Email
Subject: "Password Reset"
Body: "Your new temporary password is: Current User's Password"
Resets a user's password and sends a temporary password via email.