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 / Copying file name but ...
Power Automate
Answered

Copying file name but not content

(1) ShareShare
ReportReport
Posted on by 65

I am trying to set up a flow where when I add a new folder into a document library it will automatically copy that folders name and make a copy into a different sharepoint document library. The folder in the first document library has an automation on it where it auto fills in a large number of forms and folders. I don’t want those forms or folders in the other location and don’t want the folders linked at all. 

Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @Nicktrom55 ,

     

    Here's a solution to implement.  In this example, when a new folder is created in a main library named /Documents I will create the same folder in a completely different library (could also be completely different site) names /Names.  Here's the flow:

     

    trice602_0-1696606948503.png

     

    The trigger is the folder I am monitoring for new folders named Documents

     

    trice602_1-1696607021690.png

     

    Next I check if the modification is an actual folder because we only want to monitor new folder creations so I check if the condition is true.

     

    trice602_2-1696607076769.png

     

    If true, I want to create this folder in my other library (again, could be a completely different SP site too).  Please mark as a solution.

     

    trice602_3-1696607135081.png

     

     

     

     

  • Nicktrom55 Profile Picture
    65 on at

    thank you so much for the help! i was off in one part when i tried myself. 

  • Nicktrom55 Profile Picture
    65 on at

    The solution worked properly. One issue I’m having is that the folder when I create a new folder in the first library it is at the same time creating subfolders automatically. For some reason these subfolders are also being populated in the copy location.

     

    example: 

    library A 

      Folder 

         Subfolder

         Subfolder

         Subfolder 

     

    what’s coming over to library B is

     

    folder

    subfolder

    subfolder

    subfolder 

     

     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard