Also known as a 'For Loop' in traditional programming, Recursive Workflows are how you can set up repeating actions to run at flexible intervals(e.g. weekly/monthly).

If you have not gone through last week's tip on API workflows, please learn that before coming to this session!

Bubble Tip of the Week #6 -API Workflows
If you want to build a well-optimized app for your users, you need to have API workflows in your repetoire. What are API workflows? API workflows are workflows that run on Bubble’s server (as opposed to your user’s browser). They run independently of any page, which means they can be

When do I need recursive workflows?

The powerful thing about recursive workflows is that they run in Bubble's server, and do not depend on your users to keep their browsers open.

You may ask: why not use the Recurring Events workflow? This is because Recurring Events are less flexible in setting intervals. Recursive workflows allow you to set intervals and adjust in future iterations.

You can use such workflows to:  

  1. Process a list of >100 items
  2. Schedule workflows to automatically run/repeat at set or flexible intervals
For lists less than 100 items, you can use "Schedule workflow on a list of things'. For lists more than 100 items, using Recursive Workflows ensures that your workflow will not time out.

How do I set up recursive workflows?

In this example, let’s assume that you have an app that checks every 2 weeks if users are subscribed. If they are not subscribed, send a 'Call to Action' email. You want to trigger it once and not have to worry about the workflow ever again.

Follow along the interactive demo to learn how it's done:

Subscribe for more content like this!

If you have any questions, let me know via email or my Twitter.