How to limit the actions of the user during a specified time interval?

Hi All. I want to limit all users in my app when it comes to performing certain actions.

Basically, I would like to allow each user to perform an X number of actions per minute, an Y number of actions per hour and a Z number of actions per day.

Could you please suggest me to a method to implement such an algorithm in bubble?

Thanks a lot!

Create a Thing called “Actions” then create a list of Actions on the User and create one each time a designated action occurs. Structure your workflow rules to :count the Actions that happened within a certain timeframe. I would probably also create a scheduled workflow to prune actions after a day. Idk how performant that would be, but it should work.

1 Like