Current Streak, Best streak logic help (I have a few ideas already...)

@Jici actually helped me out building the final solution, which is quite elegant.

—> After a user completes their first action, cancel, then reschedule an APi WF to reset the streak tomorrow at 23:59pm. This way, the user basically pushes back the “resetting” of their streak as long as they keep working out every day.

The streak is still the :count of a list of unique dates, which seems to be the best way to store a unique value that doesn’t require the laborious “Search for” function.

If you need additional help with workflows, highly recommend pinging @Jici for it.

5 Likes