How do I get a scheduled API workflow to update itself

I have a system in my app in which a company has different bills they need their clients to pay but the frequency of payment of each one differs.

For example, fee ABC should be paid monthly. Fee DEF should be paid every 4 months, etc.

I have a backend workflow that says that once one month has passed, the fee ABC should show as unpaid and for fee DEF, it should show as unpaid after 6 months (because that is when each payment expires).

The workflow worked by changing to unpaid at the end of the applicable time period but I expected it to happen again but it looks like it happens just once and it does not update or perpetuate itself. What can I do?

I can see there is a recurring workflow I could use but the frequencies provided by Bubble are fixed and for some of my fees, the frequencies don’t apply.

Has anyone been in this situation? How did you resolve it?

Thanks so much.

Add the workflow and run every time when condition is true , something like this:

this action runs when the user’s sub expire

it show popup every time when page is loaded until the user update his sub

Thanks so much. Could you clarify a bit more? Did you add this on the schedule an api workflow action?

I used “schedule an API” before to update the user’s sub automatically, now I use it to show a popup to notify where the user can update sub or ask for a delay

Wow sounds interesting. I will try it now and let you know how it goes.

Thanks so much for your help.

Wow thanks so much!

It worked.

You don’t know how much you have done for me by giving this solution.

Thank you so much.

1 Like