Create folders and sub-folders in document library with Power Automate flow

Brass Contributor

Hello All,

 

I was wondering if there is anyway to create a Power Apps flow that does the followings:

 

1-) Create a folder 

2-) Create multiple sub-folder in the folder that is created in step-1

Like this one:

https://www.youtube.com/watch?v=xF-EKKgLSvs

In the video above, users have to go to Power Apps portal and run the flow from there.

 

My requirement is:

I need the create folders flow button to be in the SharePoint document library so that users don't have to go to the  Power Apps portal to run the flow.

 

 

1 Reply

@Naligurtan You can create a power automate flow as shown in video to create folders and sub folders. Then you have below two options to create a button in SharePoint online document library:

  1. Using JSON formatting: You can create a button in library using JSON to run a power automate flow. Check this: Create a button to launch a Flow - note that this button will be added against each file/item in your library
  2. Using SPFx list view command set: Create a HTTP triggered power automate flow and run it using button create via SPFx list view command set.

Use these links for more information:

  1. Execute Power Automate Workflow from SPFx 
  2. Build your first ListView Command Set extension 

Similar threadI made a flow! Now how can I let others use it? 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs