Daily check / event

Hello, I have a poll on my app where users vote, however I am not sure what the best way to tally the votes would be. I would like the site to automatically check the poll every two days and then store the winner as text into my database. What is the best way to go about this? Thanks!

@Drahgoone - have you explored scheduled API workflows yet? (If not, let me know and I’ll provide a bit more context).

The simple approach would be that when the “poll” is created, you schedule an API workflow for two days in the future that records based on the tally. Then, when that scheduled workflow runs, it would then re-schedule itself to run again in another two days and record the update accordingly.

As a heads up, the scheduled API workflows function is only available on paid plans.

A bit more context here: [New Feature] Scheduling API workflows can now be done recursively