Triggering a workflow from a URL parameter

I have an app that lets people request reusable takeout containers from restaurants. They can either start a request from the “Order In Person” page or the “Order Online” page. The Order Online page is just a list of all the restaurants, so if a person clicks on “View Restaurants” from the Order In Person page, it just takes them to the Order Online page.

I was told it was confusing to be sent to the Order Online page to see this list, so I am adding a button back to the Order In Person page once a restaurant has been selected. I would like to have it start the box request when they click that button, but I am not sure how to trigger that workflow.

Right now, the workflow starts when the search box’s value is changed. I got it so the default value can be changed based on the URL parameter, but you still need to hit enter on your keyboard to finalize the search box value change.

Is there a way to have it recognize that if there is a restaurant name in the search box, it will start a workflow, namely my box request workflow? Thank you!

Hey @raquel.r.baier :wave:

So, you want to get rid of the pressing enter part to trigger your box request workflow? Is it the main problem in this text?

If so, yes it is possible. However, the built-in textbox doesn’t get updated immediately or updated after focus is lost. You can use a plugin like 1T - Input Watcher Plugin | Bubble to immediately get the changes in a textbox to run some workflow.

If you use a searchbox, you have to either press enter or click on the option to choose one of the available options anyway.

I hope this helps.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble