How to stop google drive from fetching same processed files?

Describe the issue/error/question

Hey,im trying to compress my entire video (around 200) on certain folders in google drive,and post it to my discord channels using webhook,i set google drive to fetch 1000 (max) files and then forward it to split nodes to output just one,in meantime it works but everytime the server is rebooted,i had to do it over again.

Any idea?

What is the error message (if any)?

NaN

Please share the workflow

Share the output returned by the last node

[

{

"id":1032316104825131140,

"type":0,

"content":,

"channel_id":1002579592046968912,

"author":{

"bot":true,

"id":1023526460952170496,

"username":"RenPy • Uploader",

"avatar":"8d27583a440a09bc4e264e1d7cb409de",

"discriminator":0000

},

"attachments":[

{

"id":1032316105370370188,

"filename":"www_googleapis_com-1LqiSCS6nK8ddSaDA1lWdOoZG_N3-ffW_.mp4",

"size":7261167,

"url":"https://cdn.discordapp.com/attachments/1002579592046968912/1032316105370370188/www_googleapis_com-1LqiSCS6nK8ddSaDA1lWdOoZG_N3-ffW_.mp4",

"proxy_url":"https://media.discordapp.net/attachments/1002579592046968912/1032316105370370188/www_googleapis_com-1LqiSCS6nK8ddSaDA1lWdOoZG_N3-ffW_.mp4",

"width":306,

"height":480,

"content_type":"video/mp4"

}

],

"embeds":[

{

"type":"rich",

"fields":[

{

"name":"File Name",

"value":"video_183@16-09-2021_01-01-18.mp4",

"inline":true

},

{

"name":"File Size",

"value":"13.365895 MBMB",

"inline":true

},

{

"name":"Full Video",

"value":"[Download](https://exe.io/RgLLJ)",

"inline":true

}

]

}

],

"mentions":[

],

"mention_roles":[

],

"pinned":false,

"mention_everyone":false,

"tts":false,

"timestamp":"2022-10-19T15:35:38.896000+00:00",

"edited_timestamp":,

"flags":0,

"components":[

],

"webhook_id":1023526460952170496

}

]

Information on your n8n setup

  • n8n version:0.198.2
  • Database you’re using (default: SQLite):SQLite
  • Running n8n with the execution process :own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:NPM on windows server 2019 Standard CMD terminal

Hey @Virginia_Ikkimura,

How are you marking the files as processed? It looks like you are telling it to get all the files so it could be worth moving the files to a folder called “processed” or if the filenames are the same maybe getting a list of the processed files as well and using a merge node to remove anything that matches.

Hi,um
So basically i want mark all converted/posted file to discord webhook as processed, so it wont be posted to webhook again
I dont want duplicate posts TwT