Complete workflow even if user leaves page

Is it possible to continue with the workflow even if the user leaves the page? during my signup process there is a lot of things in the database i change, which takes a few seconds, however if they leave or refresh the page it is likely their account will be messed up. Just wondering if anyone knows a solution, thanks!

You can use the API workflow functionality for this.

2 Likes

Would that cause any issue if multiple people are signing up at the same time?

An API workflow runs independently of the user’s presence on a current page. As long as the “schedule API workflow” action is completed before the user leaves the page, there is no issue.

You can have any number of API workflows running at a given time. Bubble does a bit of load management on your behalf to ensure that API workflows process in a logical order and don’t overwhelm your allocated server resources.

2 Likes