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!