In this Microsoft flow example, I will explain how to use Copy files from one SharePoint Online account or folder to another Microsoft Flow template in SharePoint Online Office 365. Here we will copy files from one SharePoint Online document library folder to another document library folder in SharePoint Online Office 365.
If you are new to Microsoft Flow, read How to Start with Microsoft Flow Step by Step Tutorial with Examples.
To work with the flow template Login to the Microsoft Flow Official site.
Configure Copy files from one SharePoint Online account or folder to another Microsoft Flow Examples
Then go to the template section and search for “Copy files from one SharePoint Online account or folder to another” flow template in SharePoint Online.
Check Out Microsoft Flow and PowerApps Training Course (Lifetime Access)
Then click on Use this template button like below:
Then we have to give permission, once the required permissions have been given the Continue button will enable. Click on that.
Now in the When a file is created section, give the source site URL and the document library name. You can choose the document library by clicking on the Folder icon in the text box.
Then in the Create file choose the destination site URL as well as the destination document library name. Both look like below:
Then click on Create flow button like below:
Then click on Done.
Read Power Automate Filter Array
Test Microsoft Flow: Copy files from one SharePoint Online account or folder to another
Here I have created two document library in the same SharePoint online site.
- MyDocumentLib1
- MyDocumentLib2
Now to test the flow, open MyDocumentLib1 and upload document(s) to the document library in SharePoint Online.
Then automatically the document will be created in the MyDocumentLib2 library.
Test on different sites: Copy files from one SharePoint Online folder to another Microsoft flow
We can also configure the Microsoft Flow to copy a document from one SharePoint online site to another SharePoint online site.
From the My Flow page clicks the particular workflow to edit the workflow in SharePoint Online.
Then I have changed the Create file section and I have put the other SharePoint site URL and the document library name like below:
Then you click on the Update button to update the workflow.
Now if you will go to the source document library and upload another document. Here I have added MyDemoDocument-Test-2.docx.
Now if you will visit the destination document library which is presented in another SharePoint site, you can see the document will be created like below:
You may like following Microsoft Flow tutorials:
- Microsoft Flow Examples: Send a customized email when a new SharePoint list item is added
- Microsoft Flow Example Save tweets that include a specific hashtag to a SharePoint list
- Failed to create a connection for connection id while setting up push notification in Microsoft Flow in Office 365
- Power Automate Switch case
- Power Automate send an email with an attachment from SharePoint
- Power automate approval reminder
Hope this Microsoft flow tutorial explains how to copy files from one folder to another folder in SharePoint Online Office 365. By using Microsoft Flow, you can also copy files from one SharePoint Online document library to another document library in SharePoint Online Office 365. You can copy files from one SharePoint site to another SharePoint site in SharePoint Online site.
Bhawana Rathore is a Microsoft MVP (3 times in Office Apps & Services) and a passionate SharePoint Consultant, having around 10 years of IT experience in the industry, as well as in .Net technologies. She likes to share her technical expertise in EnjoySharePoint.com and SPGuides.com