Trigger workflows using URL parameters

You can not only pass information between pages using URL parameters, you can also trigger workflows based on URL parameters.

The workflow remains the same, only the trigger gets changed.

Setup

Let’s assume that you’re sending a parameter “action” to a page. On this page, you have a popup. You want to show the popup if the URL parameter contains “show-popup” as the value of the URL parameter.

To do this, we create a new event which happens on page load.

On every page load, we’ll check the URL and if it matches our condition, we’ll trigger the workflow. To do this, we add an “Only when” condition in the event.

This condition will search the URL for “action” parameter and if it’s value is “show-popup”, this workflow gets triggered.

We can create long, complex workflows based on the URL parameter. We can update our database, show/hide elements, schedule backend workflow etc. Anything that is possible with a workflow.

Depending on use case, you can also use the other event triggers.

If you need some help with your Bubble app or if you need a team of Bubble developers to build a Bubble app for you, reach out to me at himanshu@nocodeassistant.com. You can also follow me on Twitter.

--

--

--

I help people bring their ideas to life with Bubble. http://nocodeassistant.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Create React App without Create React App

YDKJS: Generators, Performance, and Benchmarking

“Expert JavaScript ”

6 Rarely Known JavaScript Tricks

Server side communication with Backbone.js

4 New Ways of Using Webix File Manager

Deploy a Node.js Band Website in 3 Steps

React, Redux and Thunk.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Himanshu Sharma

Himanshu Sharma

I help people bring their ideas to life with Bubble. http://nocodeassistant.com/

More from Medium

Database triggers and how to use them

Enterprise web application development platform

No-Code vs Low-Code vs Full Code: App Development Strategies

How Low-code can help in Strengthening DevOps 🚀