Data Backup with Integromat and Javascript


I am working on a backup system using integromat.
I will monthly export the content of a table.
I would like to export only records that have been created or updated since the last export.

To flag records, i plan to add a yes/no box, it will be set to yes when record is created or updated, and to no when integromat will export that record.
I am looking for a way to set this flag to yes when the record is updated.
Javascript trigger seems to catch only record update from forms or inline editor.

Is there a way to code something that will change the flag status if any of the other fields of the record change ?