Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Copy a file to SharePoint when a file is added to the File System with specific numbers

We have a need to create a flow that will connect  to our local file system. That's the easy part however we only want this to run on Sundays and only copy files that have the number "996" in them.  This source directory has thousands of files but once every Sunday a file is placed in there from a local system xyz996sdfsdf.csv.


Any know know how to achieve this.



Resolver I
Resolver I

Do you have to get this "996" from the file content, or is it in the title?


  • If its in the file --> Best option is iterating and parsing
  • If its in file name --> Get all filenames in folder, and iterate through those to move any that include "996" to a separate folder

its in the file name and we cannot do that because the specific system its used it uses those files. Thats why i was looking for flow to possibly be able to pick up only files that have a 996 in the file name.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,537)