Skip to main content
All CollectionsCore ReferenceBeta FeaturesWorkflows (beta)
Events: Frontend events - Recurring workflows

Events: Frontend events - Recurring workflows

This section covers recurring client-side workflows

Sofia Maconi avatar
Written by Sofia Maconi
Updated this week

If you need to run a workflow multiple times with a set interval in-between, you an use a Do every 5 seconds event.

The 5 is flexible, so you can set it to any number of seconds that you want, including decimals, and the workflow will keep running until you stop or the page is closed.

The interval is customizable – in the example above, we've set it to 3.5 seconds.

Keep in mind that continuously repeating a a workflow can potentially slow down your app (depending on what the workflow is doing), especially as your app scales with more users.

We recommend that you mostly use this event for client-side actions, and that you do careful testing to see how it affects your app performance-wise if you are using server-side actions like database operations.

If you want to run a workflow continuously even if the page is closed, you may consider using recursive API workflows instead. Note that they can only run server-side actions.

Did this answer your question?