Hi all,
I have created a flow where it reads the file from file-system(Trigger: When a file is added or modified) and if it finds the keyword ERROR in the file it sends out an email.
It works ok but say there is an ERROR keyword in the first row, it sends the email but if the file is edited another 5 times, it will send out 5 emails because every time catches the ERROR keyword in the first row.
Is there any way I can check in the flow that there has been an email sent out for the ERROR message and no need to send it again? But only send a new email if a new ERROR keyword appears in the text file? Or Just start reading the file from the new rows inserted and not from the start?

Need your inputs @Expiscornovus @ManishSolanki @rzaneti
Regards,
Pranav