
Announcements
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
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.
The full flow is below. I'll go into each of the actions.
The manual trigger allows you to enter the name of your Project which will end up being the name of the Project folder.
Create new folder Project Name will create a new folder in the Projects Library using the name you entered in the trigger.
List folder will return a list of the folders within the Template folder.
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.
Id is from List folder:
Full Path is from Create new folder Project Name:
The end result after running it and entering Project 01 as the Project Name: