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 Automate - Building Flows
Answered

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)

I have the same question (0)
  • Verified answer
    VictorIvanidze Profile Picture
    12,877 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard