Bubble Docs
Ask or search…
K

Custom Events

Create a custom event...

Bubble allows custom workflows to reuse the same logic in more than one workflow. This event defines that workflow. Name the workflow, and then use a 'Trigger a custom event' action to run this workflow from another workflow. Think about this feature as 'functions' in Bubble.

Event name

Enter the name of the workflow. Select custom workflows in the 'Trigger a custom event' action by name.

Call parameters

Parameters

If you want the custom workflow to take a thing as an argument, i.e., an entry from the application database, define the type here as a new parameter. If there are mandatory parameters, the 'Trigger a custom event' action prompts you to define which thing(s) should be sent when running the workflow.

Return values

If you intend for the custom workflow to provide a return value, such as the outcome of a calculation, specify the type and label for this new return value here.

Other ways to learn

User manual articles
Last modified 1mo ago