Duplicate-processing guard with a shared 'done' list

A helper keeps marks of processed items in the fast memory Redis — checking, adding and removing them, and logs every action to Google Sheets.

  • An item never gets processed twice
  • A shared 'done' list for all scenarios
  • Check, mark, un-mark, update — in one place
  • Every action is logged to Google Sheets