cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thananji
Level: Powered On

Creating a list item inside a folder structure using Microsoft Flow

I need to organize my list items into a folder structure (folder and sub folder). For that when an item is created in List A, I need to create an list item in List B inside a particular folder structure. (As far as I know, we can create a file inside a folder structure, but not a list item)

Is there a way to create a list item inside a folder using Microsoft Flow?

Is ther a way to create folders in a sharepoint list using Flow? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi Thananji,

 

Creating a folder structure in list and placing an item inside a folder in list using Microsoft flow are not supported. You could submit your ideas at Flow Ideas Forum so it might be taken consideration as a future release:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 REPLIES 10
Super User
Super User

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi,

 

Yes you can create file inside a folder structure but not just folders. You probably could create a dummy file always and use SharePoint Delete File flow to remove the dummy file.

 

Thanks

thananji
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

Thank you for your response abm. I can use your solution for document libraries. but not for list.

My questions are for LIST (NOT DOCUMENT LIBRARY).

1. Can I create a folder structure in LIST using Microsoft Flow?

2. Can I place an item inside a folder in LIST using Microsoft flow?

 

thanks,

thananji

Super User
Super User

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi,

 

The two questions are more related to SharePoint itself and nothing to do with Flow. I don't think you can create folders in a list. I have created a SharePoint list. Pressed the new button and cannot see the Folder option. Yes I can see this in a document library. If I am mistaken please let me know.

 

Thanks

thananji
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

We can enable Folder in the list by setting New folder enable.

List settings -> advaced setting -> Make new folder available -> yes

thanks.

Super User
Super User

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi,

 

Good knowledge :-) Yes I did tried this now and can't create folders in list. You probably looking a Custom API to host in Flow to acheive this. 

 

Thanks

Community Support Team
Community Support Team

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi Thananji,

 

Creating a folder structure in list and placing an item inside a folder in list using Microsoft flow are not supported. You could submit your ideas at Flow Ideas Forum so it might be taken consideration as a future release:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thananji
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

Thank you so much for your reply MabelMao, I have created it as new idea.

Highlighted
antonkhrit
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

Hi! I just created an Azure Function to do it. You can use a swagger definition in your Microsoft Flow to call it. Read this blog post for more information.

Kemedia
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

The Azure function you created looks promising for me.

I have a project list. I want to create a flow that creates a new document library when a new Project List item is created.

Do you have any insight? Can your function be adapted to serve this purpose?
Ingrid
Level: Powered On

Re: Creating a list item inside a folder structure using Microsoft Flow

You can use the REST API to create a item in a folder

 

More information at https://docs.microsoft.com/de-de/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-re...

 

In Flow use the "Send an HTTP Request to SharePoint" action

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Users Online
Currently online: 224 members 5,567 guests
Recent signins:
Please welcome our newest community members: