Schedule recursive Workflow over 2 Weeks

Hello guys,

Im trying to build an automation where Users are able to create Sequences which trigger in 3, 5, 7 Days and so on. Sequences can have like 10 Repetitions.

Is there any limitation in doing this? i have heard that there is a limit of 10k Workflows. But im not sure if its only for the Action schedule Workflow on the List or in general. Appreciate your opinion on this!

Hey @tbaohoang94 :wave:

Can you maybe show a screenshot of what you are trying to do?

There really isn’t a limit of workflows in Bubble. If you are trying to schedule a backend workflow on a list, there is a limit of 100k that you can schedule at one time. To get around it, you would just have to make a recursive workflow instead that doesn’t have a limit.

Does that make sense? :blush:

Hi @tbaohoang94

2 tips I can think of and doing a bit of research, you can try batching the working flows, or trigger them off of the database.

  • Batch processing: Combine operations and run them in batches rather than scheduling separate tasks. For example, create a daily batch workflow that processes all activities required on that day, instead of scheduling workflows for every day (e.g., 3, 5, 7 days).

  • Database Triggers: To control sequences, use database triggers. The next trigger date should be noted in the database, and all due sequences should be processed daily using a routine. This method should hopefully lower the quantity of workflows that are scheduled.

Hope this helps.