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

Notifications

Announcements

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,129 Super User 2025 Season 2 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,073 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard