cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Scohump
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
CollabTechie
Responsive Resident
Responsive Resident

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

cap1.PNG

View solution in original post

14 REPLIES 14
CollabTechie
Responsive Resident
Responsive Resident

Hi @Scohump , this should work for you

cap1.PNG

cap1.PNG

 

Please give thumbs up or accept as solution if this helped

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

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

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

@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!

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

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

cap1.PNG

View solution in original post

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

 What have you got in the folder path field?

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

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

cap1.PNG

Thank you!

CollabTechie
Responsive Resident
Responsive Resident

@Scohump , no problem!

Anonymous
Not applicable

Hi, 

I'm able to create the folder in the documents library, but the hyperlink does not update in the link column I created for that list.  The link column is a hyperlink type, should it be a standard, one line text field?  

 

Also, how can I set the folders to be created in a specific folder in Documents?  I want to be able to direct all the folders to be created in Documents/Project Requests.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,703)