Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Create Set of Folders and SubFolders but remove 2nd level Folder

(0) ShareShare
ReportReport
Posted on by

Need assistance is getting a flow for this scenario:

 

When an item is Created in my List it triggers a New Folder in Documents with the same Title.  

If my List Name is Client Frog, create a new folder called Client Frog (Documents/Client Frog) in Documents.

Next get the file properties of "Client Folder and Subfolder Structure" (a separate library) and create a new Folder Structure under Client Frog in Documents (Document/Client Frog/xxx). I am looking to remove the 2nd Folder in the path "Client Folder and Subfolder Structure" so only the subfolder like /Application Documentation, /Archive, /DataWatch/IT/2024/Jan would end up directly under Client Frog. 

 

Below is my library structure I am referencing is.  I want to continue to reference this library since I will be adding more folders with year and month.  I will also be adding other new folders at the 2nd and 3rd levels that are not yet known.  Here is the library structure to date.

Client Folder and Subfolder Structure

   /Application Documentation

   /Archive

   /Correspondence

   /DataWatch/IT/2024/Jan

   /DataWatch/IT/2024/Feb

    /License and Warranties

   /Projects

   /Proposals

Everything is working with my current flow except that the Client Folder and Subfolder Structure is included in the path like this (documents/Client Frog/Client Folder and Subfolder Structure/Application Documentation)

I am looking for this folder structure

(documents/Client Frog/Application Documentation)

(documents/Client Frog/Archive)  

(documents/Client Frog/DataWatch/IT/2024/Jan)

etc.....

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard