Creating a subfolder inside a folder of documents library in sharepoint site using power automate.

Copper Contributor

AvinashSomesvari_0-1693458044122.png

Above image is my General flow, I want to create a new sub folder folder when I new item is created in the list.

AvinashSomesvari_1-1693458277696.pngAvinashSomesvari_2-1693458326695.png

expression used : 

outputs('Get_items')?['body']?['value'][0]?['Rec'] for Rec variable
 

AvinashSomesvari_3-1693458356274.png

AvinashSomesvari_4-1693458712045.png

So I already have manually crated the folders for the rec part, I want additional folder to be created based on the input of the rec and title. when this flow runs, I am getting one subfolder as desired but I am getting additional folder in the root? can someone help, or give me better approach.

 

1 Reply
Is your 'create folder' actions in an Apply to each loop ?

Do you really need the 'get items' actions. Can you replace it with a 'get item' (and get the ID from previous step) ?