Existing pdf should not download by bot

hello all, I did Email automation. here i put condition as In Subject like
item.Subject.Contains(“Invoice/bill”) and below that I kept the save attachment activity. so all the pdf are downloaded in folder. but next time. when existing pdf come in gmail. the bot should not download the existing pdf . how it is possible??
please help me

Hi @dhanashree22,

In that case, you can run a loop through your folder first to verify if that item is already present there or not. If yes it skips the download part else it proceeds for download.

Regards
Sonali