cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sdmikejr
Level: Powered On

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
v-zhos-msft
Level 10

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
v-zhos-msft
Level 10

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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,294)