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

Copper Contributor


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


expression used : 

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



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) ?