cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Solution Sage
Solution Sage

Hi @Anonymous ,

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
Solution Sage
Solution Sage

Hi @Anonymous ,

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (30,556)