I would like to filter incoming attachments by name. I can't get it to work, because attachment names are without spaces and I'd like to filter that.
For example, the attachments have name like this:
I would like to create file in Sharepoint only for first type of attachments. I would like to NOT recieve files with word "individual".
My current flow looks like this:
Solved! Go to Solution.
Hey there, I actually think you are very close. I just made a condition to check if the attachment name 'contains' the string:
I wasn't sure if the condition is case sensitive or not, so notice that the dynamic value is wrapped in a tolower() to make the whole thing lower-case, and then compare it to my check that is also all lower case.
One thing to note: I ran through this a couple of times and couldn't figure out why it wasn't working until I saw that "Individual" is misspelled in the attachment name example you gave: "Crystal_StagingWeek2V5_IndivdualArtistFri15Apr" (it's missing an i). So if you're spelling it correctly in your condition, it won't ever match.
Keep us posted.
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Actually ..... something is still wrong.
Yes, I can filter the attachments, so I'm getting only one pdf, but somehow I can't open it.
When I upload same pdf manually, I can preview it.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.