web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create a folder...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 6

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! 

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

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

     

     

  • whitemt Profile Picture
    6 on at

    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?
     
  • whitemt Profile Picture
    6 on at

    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' 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard