cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Scohump
Level: Power Up

Create a folder in SharePoint when new item created in SharePoint List

I'm trying to create a flow that will create a folder in SharePoint when new item is created in a SharePoint List. I will also need a link to that new folder automatically created and available on the new list item. Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

In the new folder block - put the item title from dynamic content in the folder path field

cap1.PNG

View solution in original post

13 REPLIES 13
Highlighted
CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

Hi @Scohump , this should work for you

cap1.PNG

cap1.PNG

 

Please give thumbs up or accept as solution if this helped

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

Thank you @CollabTechie , but I cant seem to add the last step 'Update Item'. It doesn't appear to be an option for me within the choices of actions...

CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

Hi @Scohump , no problem
Filter the actions by SharePoint and it's the last one in the list. It's a standard connector so should be available to you

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

Thank you!

 

After ID in Update Item, I am not provided with the Link field... how do I insert a screen shot to show you?

 
CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

@Scohump - You need to create the link field or any other field you require in the SharePoint list by selecting  'Add column'. Once you create the field(s) in the SharePoint list, they then become available to you within Flow. After you add the field, save the flow and edit it again to refresh the update item action.

Please give thumbs up or accept solution if this has resolved your issue, thanks!

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

Thank you.

 

Im now getting the following error:

 

{
"status": 400,
  "message": "Path for the new folder is not provided\r\nclientRequestId: fa86c87d-f251-4cc4-b0fb-0947b2c1bda3\r\nserviceRequestId: fa86c87d-f251-4cc4-b0fb-0947b2c1bda3"
}
CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

In the new folder block - put the item title from dynamic content in the folder path field

cap1.PNG

View solution in original post

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

No, I selected Link to Item in the Update Item Block like the image you sent. The error indicator is on the Folder Path field on the Create New Folder Block...

CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

 What have you got in the folder path field?

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

I now have DRC/Improved Sales. These are the folders created within the Sales Comps library. I ran it now and it was successfull, however there was no folder created so it did not work. 

CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

I just tried the same path and it created perfectly for me. Make sure you have the correct document library selected..

cap1.PNG

Scohump
Level: Power Up

Re: Create a folder in SharePoint when new item created in SharePoint List

Thank you!

CollabTechie
Level: Powered On

Re: Create a folder in SharePoint when new item created in SharePoint List

@Scohump , no problem!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 373 members 6,520 guests
Please welcome our newest community members: