cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
whitemt
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! 

3 REPLIES 3
ScottShearer
Super User
Super User

@whitemt 

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.

Scott

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

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,933)