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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / GET Outlook folders an...
Power Automate
Unanswered

GET Outlook folders and assign emails

(0) ShareShare
ReportReport
Posted on by 75

Good day beautiful people,

 

I'm working on a flow, which should help me substitute Outlook rules, regarding email segregation.

Flow is done and it is working nicely but my only concern is, that folders are hardcoded.

 

My flow is working like this:

New email arrives

|

\/

Extract company name from email, (e.g. John.Doe@Microsoft.com will be trimmed to "Microsoft" only).

|

\/

If this is Microsoft, assign to Microsoft folder.

If not, check another rule and loop this once correct will be found. 

 

The problem is, folders are hardcoded: Output from Compose = Microsoft - if true, yes assign it, if not move to the next rule.

For now I have 8 companies listed and I have 8 Conditions but this probably can go on and on and on, to the point where flow will be unusable.

 

Is there a way to get outlook folder's names and assign emails based on it's name? For example email from John.Doe@Microsoft.com should be assigned to Microsoft folder.

 

I saw solution using Graph Explorer, but for now this is beyond my understanding and I failed to implement this solution.

Use mail folders in Microsoft Graph using Power Automate (sharepains.com)

Categories:
I have the same question (0)
  • Verified answer
    VictorIvanidze Profile Picture
    13,058 on at
    Re: GET Outlook folders and assign emails

    No way except for MS GRAPH.

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard