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 / Categorize & Flag emai...
Power Automate
Unanswered

Categorize & Flag email of a shared mailbox

(0) ShareShare
ReportReport
Posted on by

Hello there!

 

I would like to share Flag & Categorize (colours) an email based on keywords & Sender. With power automate, I could not find the option "Categorize" so I tried to use the Inbox rules of 365 to categorize the mail and add an automation in power automate to flag it. Unfortunately, it does not work. I was doing some testing and outlook only categorizes the mail without flagging it.

In power automate I am using the following flow: 

 

Could someone help me out with this matter? I really appreciate it.

Sorte_0-1637164003827.png

 

Thank you and have a great day!

 

Sergi

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    What happens if you disable the Outlook rule - do you see properly flagged emails?

  • Community Power Platform Member Profile Picture
    on at

    Hey there @VictorIvanidze unfortunately not. I do not know what's wrong with my automation but it does not work. The test fails, Am I doing something wrong?

    Thank you,

    Sergi

  • VictorIvanidze Profile Picture
    13,073 on at

    Try to populate "Original mailbox address" field.

  • Community Power Platform Member Profile Picture
    on at

    Hello @VictorIvanidze, by populating the shared mailbox do you mean:

    1. Adding a new license to the shared mailbox

    2. Adding it to my account. If I add it to my account my outlook runs really slow.

     

    I just want that outlook categorizes & flags mails when a certain condition is matched, i.g, contains keyword in "Body" or "Subject" or from a specific sender.

     

    Thank you! 🙂 

  • VictorIvanidze Profile Picture
    13,073 on at

    I meant filling "Original mailbox address" field in your "Flag email (V2)" action. Did you do that?

  • Community Power Platform Member Profile Picture
    on at

    Hello @VictorIvanidze. I added the Original Mailbox address and it works only when testing it. It does not work when the rule is applied and "ON" only in testmode. Do you know maybe a solution here? What am I doing wrong?

    Thank you and have a great week!

  • VictorIvanidze Profile Picture
    13,073 on at

    Hi @Anonymous,

     

    I'd recommend to disable a rule and use only PowerAutomate.

    Here is an example how to assign a category to a message: https://www.ivasoft.com/assigncatflow.shtml

  • JBrownrigg Profile Picture
    13 on at

    To add a category to an email in a shared inbox you will have to send a HTTP request.

    2023-10-26 18_46_15-Edit your flow _ Power Automate.png

    The URI format is: https://graph.microsoft.com/v1.0/users/[SharedEmail@YourCompany.com]/messages/[MessageID]

  • e50z Profile Picture
    9 on at

    JBrownrigg worked for me, but what if i like to give the categorie a color?
     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard