I am creating an app that tracks and rewards emission reductions. Every time a user completes an action, I want to show them how their action helped emissions by tracking CO2 saved. So for example, on the backend you say using a reusable water bottle saves x amount, and once the app is told ok they did this, then other stats go up by x amount (i.e., used bottle 3 times, Lbs CO2 saved = 3x, Lbs waste diverted = 3x).
How would you do this? I don’t know enough about Bubble yet and I figure it’s a workflow thing I haven’t learned yet! Thanks so much!
Create a backend workflow that runs this calculation in the dynamic expression when setting the field value of the data type you want to change. Scheduled that backend workflow when the user does what they do on the page to cause the calculation to run.