Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Create folder with subfolders when a new item is created on a sharepoint list

%3CLINGO-SUB%20id%3D%22lingo-sub-1349216%22%20slang%3D%22en-US%22%3ECreate%20folder%20with%20subfolders%20when%20a%20new%20item%20is%20created%20on%20a%20sharepoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1349216%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20SharePoint%20list%20like%20this%3A%3C%2FP%3E%3CP%3EProduct%20number%2C%20Product%20Name%2C%20Category(list%3A%20C1%2C%20Ca%2C%20Cb%2C%20Cx%2C%20Cz)%20%2B%206%20more%20fields.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20a%20new%20item%20i%20created%20on%20the%20list%2C%20I%20would%20like%20automatically%20to%26nbsp%3B%3CBR%20%2F%3Ecreate%20a%20folder%20with%20the%20product%20name%20in%20an%20already%20created%20folder%20(named%20the%20category%20name%20C1%2C%20Ca....)%3C%2FP%3E%3CP%3EIn%20the%20new%20product%20name%20folder%20i%20would%20like%20to%20create%205%20folders%3A%20Photo%2C%20Tech%20Spec%2C%20Cert%2C%20Video%2C%20Master%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20SharePoint%20list%20is%20added%20to%20teams%26nbsp%3B%20and%20the%20folders%20with%20categories%20is%20in%20the%20files%20tab.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1349216%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1377384%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20folder%20with%20subfolders%20when%20a%20new%20item%20is%20created%20on%20a%20sharepoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1377384%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F642553%22%20target%3D%22_blank%22%3E%40PeterPlys%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20it%20can%20be%20done%20with%20a%20Power%20Automate%20flow%2C%20below%20the%20example%2C%20just%20need%20to%20add%20the%20condition%20for%20the%20rest%20of%20the%20%3CSPAN%3Ealready%20created%20folder%20(named%20the%20category%20name%20C1%2C%20Ca....)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Flow_Create%20folders_Screenshot1.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F190411i6B1DE11FC972EB6D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Flow_Create%20folders_Screenshot1.jpg%22%20alt%3D%22Flow_Create%20folders_Screenshot1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Flow_Create%20folders_Screenshot2.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F190412i3D9120D61C5C9979%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Flow_Create%20folders_Screenshot2.jpg%22%20alt%3D%22Flow_Create%20folders_Screenshot2.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EJM%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have a SharePoint list like this:

Product number, Product Name, Category(list: C1, Ca, Cb, Cx, Cz) + 6 more fields.

 

When a new item i created on the list, I would like automatically to 
create a folder with the product name in an already created folder (named the category name C1, Ca....)

In the new product name folder i would like to create 5 folders: Photo, Tech Spec, Cert, Video, Master 

 

The SharePoint list is added to teams  and the folders with categories is in the files tab.

 

Is it possible?

 

 

1 Reply

Hi @PeterPlys 

 

Yes, it can be done with a Power Automate flow, below the example, just need to add the condition for the rest of the already created folder (named the category name C1, Ca....)

 

Flow_Create folders_Screenshot1.jpgFlow_Create folders_Screenshot2.jpg

 

Hope this helps.

JM