Showing results for 
Search instead for 
Did you mean: 
New Member

How to get file that CONTAINS a word

Hello, I am Power Automate Desktop user. I need to get files to Variable that contains the special word. For example, I have several files in a folder and I want to get only files that contain "LOOP" word in the file name. How can I do that?

Super User
Super User

Thanks I went through this manual but I can't find any information about getting files a coording file name conditions. If I'd try to find element by xpath I'd have following expression


//*[Contains (text(), 'desired text')]


This way I could get div or element I need




Where are the files, in a file system or on a website?

The action above is for a file system which you can filter by using the "File filter" option

For a website you need to extract the list and filter it later:

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Users online (3,537)