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 / Create email folders b...
Power Automate
Unanswered

Create email folders based on email subject data

(0) ShareShare
ReportReport
Posted on by

trainejf_0-1686346522303.png

 

Looking to create and add to Outlook folders based on job #'s that are specified within email subject lines.
Email subject lines contain something like "ABC-##-##-Z##" with different #'s based on different jobs.
For example, if I get an email that contains the following subject: "Following up on your request for ABC-03-24-Z01", I would like that email to be be automatically moved to an "ABC-03-24-Z01" folder. If no "ABC-03-24-Z01" exist, a new folder should be created.

 

Is this something that can be done using rules on Outlook or could it be possible using Power Automate Desktop/cloud?

 

 

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @trainejf 

     

    For creating folders use http request like below to create folders

     

    Nived_Nambiar_0-1686486763442.png

     

     

    here it will create Important Folder under the folders section 

     

    Note: this endpoint will create folder under outlook account of currently autenicated user 

     

    for more details on endpoint refer here 

    https://learn.microsoft.com/en-us/graph/api/user-post-mailfolders?view=graph-rest-1.0&tabs=http

     

    Also i have a question

    does the email subject would have Job # at the end of subject or in middle ?

     

    Kindly let me know 🙂

     

  • VictorIvanidze Profile Picture
    13,079 on at

    Have a look at this: https://www.ivasoft.com/sortemailsflow.shtml

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard