cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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

Highlighted
New Member

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...

Highlighted
Responsive Resident
Responsive Resident

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

Highlighted
New Member

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?

 
Highlighted
Responsive Resident
Responsive Resident

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!

Highlighted
New Member

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"
}
Highlighted
Responsive Resident
Responsive Resident

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

Highlighted
New Member

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...

Highlighted
Responsive Resident
Responsive Resident

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

 What have you got in the folder path field?

Highlighted
New Member

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. 

Highlighted
Responsive Resident
Responsive Resident

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

Highlighted
New Member

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

Thank you!

Highlighted
Responsive Resident
Responsive Resident

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

@Scohump , no problem!

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Kudoed Authors
Users online (10,982)