I have a flow when an email arrives V3 with Includes attachments=Yes and Only with attachments=Yes.
I then have a condition which looks at the email subject line equal to 'Additional'.
With this current flow it not only saves the PDF attachment but also all the other inline ones. I've read some guidance to try and adjust my flow to only look for pdf files and ignore inline.
This is my current flow:
The value for filter array is-
and(
equals(item()?['IsInline'], false),
endsWith(toLower(item()?['Name']), '.pdf')
)
I have tried a few ways to build the rest of this flow to ONLY call PDF attachments and NOT inline attachments (Signature block, snipped images in email body). But it still is not working.
Would appreciate any help as I need to get this working for this condition and another within this flow.