Condensing tips on implementing conditional workflows (if then else) in Bubble after searching and reading documentation and many posts:
-
use “only when” to test for conditions. This exists in two places:
a. on the event to run the workflow
b. on each action in the workflow -
use “and” and “or” to combine conditions
-
make multiple workflows for the same event, eg “button is clicked”. It was NOT obvious that this was possible. Thanks @fayewatson for this post:
-
terminate a workflow early with the action “Navigation->Terminate this workflow”
-
create and trigger custom workflows from an event, but “terminate this workflow” only terminates the custom workflow, not the parent.
-
use a condition to see if an item exists and create it if not
-
create an API workflow and the action “custom events->schedule an API workflow”
Please post further advice examples, links, and correct or improve this tip!