web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy contents of a spe...
Power Automate
Unanswered

Copy contents of a specific folder to a new folder created in SharePoint

(0) ShareShare
ReportReport
Posted on by 11

Hi, I am new to using flows. Trying to find a way to create a flow that can automatically copy contents of a specific folder when a new folder was created in ShrePoint.

 

Example -

A subsite on SharePoint has a folder with subfolders (a set template)

Within the same subsite our team creates new folders and manually copies the contents of the above folder

Can we automate this using flow?

 

Thanks

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @GoGone 

     

    Do you want to Copy the file or Move it from the folder? Based on the scneario, you can use the Move file or the Copy file actions for SharePoint in flow. Can you share more details on thsi so that we might be able to assist you better?

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • GoGone Profile Picture
    11 on at

    Hi Yash, thanks for the reply. Everytime a new folder was created in one of the document library of our SharePoint site we want the contents of a folder within that document library to be automatically copied.

     

    Example -

    There is a SharePoint site "Sales" and it contains a document library "Quotes." In this document library there is a folder called "Templates" and this folder contains a few subfolders. If someone creates a new folder in the Quotes document library, we want all the folders within the Templates folder to be copied to the created new folder.

     

    Hope this clears any confusion.

     

    Thanks.

  • GoGone Profile Picture
    11 on at

    Any ideas?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @GoGone 

     

    I somehow missed your reply. Please see the screenshot below:

    wpspp.PNG

     

    What I am doing here is, trigger the flow when a new file is created in the document library. Next, check if it is a folder, if yes, List folder and here I am listing the folder that already exists (Templates folder in your case) and then copy each item from there to the newly created folder. 

     

    Please check if this works for you. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • GoGone Profile Picture
    11 on at

    Hi Yash, sorry for late response. I have replicated the same steps but the folders are not being copied. It could very well be me missing something obvious but just couldn't figure out.autoflow.JPG

  • GoGone Profile Picture
    11 on at

    Hi Yash, is there anything apparant for you that I am missing?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @GoGone 

     

    I see that the copy file is outside of the apply to each loop in your flow. Can you move it inside of the loop something similar to the screenshot that I shared earlier?

  • GoGone Profile Picture
    11 on at

    @yashag2255 , updated but no luck 😞Flow2.JPG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard