Hello friends,
I was wondering if it was possible to dynamically patch or store gallery records to a SharePoint list? More context,
I have a scoreboard which is grouping by teams and summing up scores. (the records are filtered for the last 90 days).
I have a countdown for the 90-day period, I would like to dynamically patch the winner which is the first record from the top in the gallery to a SharePoint list when the counter reaches 0.

How could I achieve this?
I'm thinking of using a collection to collect these records, then patch the collection to SP list, however I want this action to only occur once as I don't want every user patching to the SP list.
How can I avoid duplicates? or Make sure this action only happens once regardless of the user.