cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Kudoed Authors (Last 30 Days)
Users online (5,051)