I have a flow built that looks at the attachments in an email and if there is a csv file it saves the file and sends a copy to an sFTP.
However, sometimes in addition to the csv there will be image files. And sometimes there will only be image files. In the case where there are only image files I want to send an email out to a group to let them know there was no csv attached.
But currently if I evaluate with the Yes No condition and say Yes process the file or No send an error message email the error message email always goes out when there are multiple files of csv and image. I need the email to only go out if the attachments were not csv.
I know I can create two flows to handle the entire situation but it seems like I should be able to do this with one, using an array. But when I tried that it errored out because I used the Attachment Name to ensure there was a csv.
How can I do this?

