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 Automate
Unanswered

Creating Folder

(0) ShareShare
ReportReport
Posted on by

Hi Guys, i am new to power automate. I have been whishing for an application to assist me to do some repetitive task and i think this maybe the answer i have been looking for.

I would like to be able to create folder and sub folder for a new project. I would like to create a flow that allow me to create them automatically but i need to be asked for the name of the project before creating the subfolders.

It may be something already created but i am having troubles to find out or to create such a routine. Any advice or pointer would be greatly appreciate it.

thanks

Will

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    I would probably setup a Template folder that contained all the folders (including sub-folders and files) you wanted copied across for each new Project.

     

    In my example I have a Library called Projects that will contain all my Project folders. I've also added a folder called Template that contains all the folders I want to copy into each Project folder. There are also some sub-folders and files within these folders that will be copied across.

     

    grantjenkins_0-1667435034621.png

     

    The full flow is below. I'll go into each of the actions.

    grantjenkins_0-1667435153086.png

     

    The manual trigger allows you to enter the name of your Project which will end up being the name of the Project folder.

    grantjenkins_1-1667435201740.png

     

    Create new folder Project Name will create a new folder in the Projects Library using the name you entered in the trigger.

    grantjenkins_2-1667435264761.png

     

    List folder will return a list of the folders within the Template folder.

    grantjenkins_3-1667435322491.png

     

    Apply to each will loop over each of the folders returned from List folder and will copy that folder to the new Project folder you just created. It will also copy any sub-folders and files contained within the folder.

    grantjenkins_5-1667435402756.png

     

    Id is from List folder:

    grantjenkins_6-1667435483083.png

     

    Full Path is from Create new folder Project Name:

    grantjenkins_7-1667435531060.png

     

    The end result after running it and entering Project 01 as the Project Name:

    grantjenkins_8-1667435711440.png

     

    grantjenkins_10-1667435771056.png

     

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard