Here we will discuss how we can use Microsoft Flow Copy files from one SharePoint Online account or folder to another.
If you are new to flow you can check out my below posts:
– Working with Microsoft Flow in SharePoint Online Office 365 and Demo on Send a customized email when a new SharePoint list item is added
To work with the flow template Login to the Microsoft Flow Official site.
Then go to the template section and search for “Copy files from one SharePoint Online account or folder to another” flow template.
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.
Test the Flow:
Here I have created two document library in the same SharePoint online site.
Now to test the flow, open MyDocumentLib1 and upload document(s) to the document library.
Then automatically the document will be created in the MyDocumentLib2 library.
Test on different sites:
We can also configure 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.
Then I have changed the Create file section and I have put the other 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 site, you can see the document will be created like below:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: