cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

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

View solution in original post

Highlighted

It worked, Thank you so much for the help!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (7,132)