Create Counter for Button Clicks

Hi, I’m trying to set up a counter field for each user. The idea is that every time they click a button on my app, it adds 1 to the counter field. This way, I can track how many times they have used the app, and prompt them to pay when they’ve reached the free tier’s usage limit.

How can I do this? Thanks!

If you’ve already got a number field on the User datatype, then all you need to do is add 1 to the existing number each time the button is clicked.

Yes how do you do this


I solved the similar problem. The user data count field name is explained as CLICK COUNTER. In the workflow when clicking the button, setting the current user’s CLICK COUNTER = current user’s CLICK COUNTER + 1.