question

MarioPro-0691 avatar image
0 Votes"
MarioPro-0691 asked DSPatrick answered

Is there a Power Automate Flow feature to check attachment filename as a condition for triggering the flow?

I am looking for an expression to use in a Power Automation flow in Office 365 that allows matching of an attachment filename (e.g., a specific extension and/or string in filename) as condition for triggering the flow. I am starting from a template to move an email on receipt to a cloud storage drive.

I have it all working for the case when any attachment exists, but can't find how to put a condition on the filename. I've seen help for mail flow rules here:
https://technet.microsoft.com/en-us/library/dd638183(v=exchg.160).aspx#Attachments

That shows a different UI and I can't find a similar explanation for Power Automation flow rules.

The template to move email includes a dropdown to check if an attachment exists, but that only shows Yes, No, or Custom as available choices. I haven't been able to find examples of what expressions would work as "custom".

I am looking to include a filter to check that the attachment filename has a ".txt" extention AND includes "report" in the filename.

Anyone able to help me with this? I would appreciate any pointers in the right direction. Thanks in advance!

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered

Power automate is not currently supported here on QnA. The product group actively monitors questions in dedicated forums here.
https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

--please don't forget to Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.