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.

View solution in original post

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



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



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



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



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



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



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.

View solution in original post

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.

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?
Highlighted
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
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: 91 members 4,863 guests
Please welcome our newest community members: