Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

How to create a folder from email subject from group email?

I want to save the attachments from an email sent to a specific group address into a new sharepoint folder named after that email. 


This is what I have set up so far, which saves the attachments directly to the sharepoint folder: automate.PNG


Any help/direction would be much appreciated! 

Super User
Super User


Take a look at the SharePoint Create New Folder action.

Also, have you considered just adding an additional column in the library and populating that column with the same data that you would have  used for the folder name.  Then, just create a view grouped by that column.

Let me know if you need additional help.



If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Hi Scott, 


I've been unable to create a new folder using that function. I've tried adding this in 'Apply to Each 3', but when i test the flow, i get the following error message: 

'Path for the new folder is not provided\r\nclientRequestId: 8421c20b-8842-4dd1-ba05-a31fa9fc4144\r\nserviceRequestId: 8421c20b-8842-4dd1-ba05-a31fa9fc4144"'
Should i be positioning this in a different spot?

I've managed to create a new folder where I can save the attachment using the following:autormate 2.PNGautomate3.PNG


However, I still want the folder name to show up as the name of the subject line instead of the post ID. It's currently a string of letters which is the 'unique identifier' 

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,595)