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

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

abm
Super User III
Super User III

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

abm
Super User III
Super User III

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

View solution in original post

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (56,939)