Workflows (PE beta)

This core reference entry is suited for beginner-level builders.

Learn more about experience levels.

This is the short-form technical core reference entry for workflows. If you are unfamiliar with how workflows work we recommend exploring the article series below to learn more:

User manual article series: Workflows

Workflows are how your app responds to events. Each workflow starts with a triggering event, such as a button click, followed by a sequence of actions that run in order.

Workflows are managed in the Workflow tab and are scoped to individual pages. The sections below cover all available events and actions.

The workflow tree

The workflow tree displays all workflows on the current page. Each entry represents a workflow event and the actions that run when that event occurs.

By default, workflows are organized into folders. New workflows are placed in the Uncategorized folder unless you move them into another folder. Each folder can be expanded or collapsed to show or hide the workflows it contains. The number next to a folder indicates how many workflows are inside it.

Selecting a workflow in the tree opens it in the editor. From there, you can view or modify the event, its conditions, and the actions that run when it triggers.

Workflow tree filter/view settings

The workflow tree includes several display and organization options available from the settings menu.

Click the Filter/view icon to access the settings.

Folders

Folders can be used to organize workflows in the workflow tree. You can create folders to group related workflows together, for example by feature or by section of a page.

Folders are only used for organization within the editor. They do not affect how workflows run, the order in which they execute, or what users see in the app.

The workflow editor settings let you group workflows by event type, such as An element is clicked or Page is loaded. Keep this in mind when organizing workflows into folders, since grouping by event type already provides a quick way to navigate and locate workflows.

By Folder / By Event Type

Controls how workflows are grouped in the tree.

  • By Folder organizes workflows according to folders you create.

  • By Event Type groups workflows based on their event category, such as Page is loaded, An element is clicked, or Custom event.

Show Conditions

Displays any conditions attached to events directly in the workflow tree. This can help you quickly identify workflows that only run when certain conditions are met.

Enabling Show Conditions displays any conditions attached to events directly in the workflow tree. In the screenshot, the right-hand side shows the corresponding conditional expression for the event.

List View / Grid View Changes how workflows are displayed in the editor area.

  • List View displays workflows in a vertical list.

  • Grid View displays workflows in a grid layout, which can make it easier to scan workflows on pages with many events.

General properties

Event and workflow comes with a set of general properties, i.e. properties that are not event- or action-specific.

Property
Description
Link

Add a breakpoint in debug mode

Stops a workflow at the selected event or action when the workflow runs in preview mode.

Only when

A condition that determines whether the event or action runs, defined as a dynamic expression.

Notes

Lets you assign internal notes to a specific event or action.

Event-specific properties

Frontend events

Frontend events are events that are triggered from a page or view, often as the result of a user action.

Category
Description
Link

General events

General events are triggered upon specific conditions not necessarily initiated by the user interacting with an element, such as when the page loads, a user logs in/out or a specific condition is true.

Element events

Element events are events that are triggered by an element, such as when an element is clicked or its value changes.

Custom events

Custom events can be triggered by other workflows and reused in multiple places.

Backend events

Backend events are events that are triggered server-side (in the backend). They can run independently of pages and views.

Event
Description
Link

API workflow

API workflows are workflows that run on the server rather than in the browser. Unlike regular workflows, they aren't tied to a page or a user session, which means they can run in the background, be scheduled for a future time, or be triggered from outside your app entirely.

The Workflow API (Workflow API section)

A thing is modified

Triggers when a change happens in the database, regardless of source.

Recurring event

Recurring events can be triggered or scheduled and will then run at a specified interval.

Bubble-made plugin events (web)

Event category
Description
Link

Bubble-made plugin events

Events related to plugins made by Bubble.

Action-specific properties

Category
Web/mobile
Description
Link

Account

Both

Actions related to user accounts.

Navigation

Web

Actions related to web-specific navigation.

Navigation

Mobile

Actions related to mobile-specific navigation.

Data (things)

Both

Actions related to the database.

Elements

Both

Actions related to elements.

Email and notifications

Both

Actions related to sending emails and push notifications.

Native mobile actions

Mobile

Mobile-specific actions

Custom actions

Both

Actions related to triggering/scheduling custom events and reacting to database changes.

Bubble-made plugin actions

Web

Actions related to plugins made by Bubble.

In-app purchase actions

Mobile

Actions related to mobile in-app purchase actions (iOS and Android)

Last updated

Was this helpful?