cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sdmikejr
Frequent Visitor

Moving Documents between Sites with Flow

Hello Everyone, 

I have a Team site with some document libraries that contain documents that users collaborate on. Each document library has a yes/no field called "Publish?"

I have a communication site created with the intent of pushing documents to once they are set to yes in the "Publish?" field in the Team site. 

 

Essentially, the requirements are as follows:

1) Once document in Team site is set to "yes" in the "Publish?" field, SPO creates a copy of the document in the corresponding document library in the Communication Site. 

 

2) If document in the Team site is set to "no", Flow deletes the document from the Communication Site. 

 

Can anyone tell me how to do this through Flow? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
v-zhos-msft Solution Sage
Solution Sage

Re: Moving Documents between Sites with Flow

Hi @sdmikejr ,

First, you need to make sure the library name and file name are same in the two SP site.

I have made a flow for your scenario, please check it for a reference.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Highlighted
v-zhos-msft Solution Sage
Solution Sage

Re: Moving Documents between Sites with Flow

Hi @sdmikejr ,

First, you need to make sure the library name and file name are same in the two SP site.

I have made a flow for your scenario, please check it for a reference.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,253)