How to run daily work flow to change a list?

I want to update multiple things simultaneously on a daily basis using a workflow that checks users who meet a specific condition.

When I charge a customer, I save the next charge date in a field. I want to run a workflow every morning that scans all users and finds those whose charge date is today, then automatically charges them again by triggering another backend workflow.

How can I set this up in Bubble?

There are a few ways around it.

  1. You can do it via a Recursive workflow that you can schedule to run every morning with a certain frequency (i.e. every day):

  2. Alternatively, consider scheduling an API workflow that schedules itself for the next iteration. This method might be a bit less resource intensive because you will spread out the events (updates) throughout the day instead of running everything at the same time. For example, if you are doing something daily, you could schedule an API workflow to run every day from the time the user has registered:

Got it! But if i want to make change to a list of thing, for example a list of users that stands under condition, so it won’t work, the data you send is a Current User.
In my case i need to run the backend workflow to run every morning and do an action to a specific type of user.

I’m not sure what exactly your use case is, but you could develop approach 2 into something like this:

  1. Have 1 backend API workflow that schedules a workflow (workflow “Demo - Step 2”) to update a list of users. You specify the conditions of what users you need to update in the search.
  2. Then schedule the workflow (itself) for the next day.

Something like this:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.