web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to move file from ...
Power Automate
Answered

How to move file from one folder to other folder in document library in sharepoint using flow.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I see there is a 'copy file' action in SharePoint to use, however I do not understand where to get the 'path to file source'?

 

Thanks, 

Taylor

Categories:
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ THayo,

     

    Do you want to copy all files from folderA to folderB or copy the file to folderB when a file is created in folderA?

     

    If you want to copy the file to folderB when a file is created in folderA, you could create a flow as screenshots below:

    1.png

    You could choose the “File path” dynamic content of the trigger in the “Soulrce File Path” field, and you could refer to my screenshots to fill in the “DestinationFile Path” field.

     

    The flow would run successfully as below:

     2.png

     

     

    You could also use action “create file” of “Sharepoint” Connector to create a flow as below:

    3.png

    You could select the file path in the “Folder Path” field, choose the “File name” and “File Content” dynamic content of the trigger in the input field.

    The flow would run successfully as below to copy the file to FolderB:

    4.png

     

     

    If you want to copy all files from folderA to folderB, you could create a flow as screenshots below:

    5.png

    The flow would run successfully as below to copy all files from FolderA to FolderB:

     6.png

     

     

     

     

    Regards,
    Alice Zhang

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It worked, Thank you so much for the help!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard