cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thananji
Advocate I
Advocate I

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
v-yamao-msft
Community Support
Community Support

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
abm
Super User
Super User

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!

Learn more from my blog
Power Automate Video Tutorials

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

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!

Learn more from my blog
Power Automate Video Tutorials

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

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

thanks.

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!

Learn more from my blog
Power Automate Video Tutorials
v-yamao-msft
Community Support
Community Support

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.

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

antonkhrit
Advocate I
Advocate I

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
Frequent Visitor

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
Advocate II
Advocate II

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (1,663)