Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Copy Specific files from one folder to another

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

I thank you in advance for your help.

Let's say for example purposes that a school has folders in sharepoint for each of its students.

There is a staging folder where all documents are stored. The title of a document starts with the student id.

How do we use Flow to fetch a document from a staging area and send it to its designated destination folder.

Where document with title starting with 123 will be sent to folder designated to store 123 files?

 

Is this an action possible with Flow or am I looking at this the wrong way?

 

Thank you

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Copy Specific files from one folder to another

    I'm trying to do something similar where I want to copy a file within a specific folder to a specific SharePoint site, but there's about 40 folders.  I'm hoping I don't have to create 40 separate flows.  How can I move each file within the folder to the corresponding folder on multiple SharePoint sites using a single flow?

  • Community Power Platform Member Profile Picture
    on at
    Re: Copy Specific files from one folder to another

    With the new actions that were released last week to get file properties, would this be something you could do? Like the original poster, I need to only copy files from one library to another based on a value in a column associated with the file. 

     

    If I do a blank template and use "When a file is created or modified (properties only" I can read the column and then based on the value do another action such as send a notification. However, the Create file action does not have File name and File content values available to it, just the file properties/columns as seen in this screenshot.

     

    2017-08-31_10-04-06.png

  • v-micsh-msft Profile Picture
    on at
    Re: Copy Specific files from one folder to another

    Hi zoul,

     

    Yes, we could take use of the SharePoint-create file action. But for different values, we might need to add multiple condition to check, currently variables is not supprted under Microsoft Flow.

    57.PNG

     

    If you have any further questions, please post back.

    Regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow