Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Rle0FxYFsNJkvN2Sy+hr9Y
Power Automate - General Discussion
Unanswered

Categorize & Flag email of a shared mailbox

Like (0) ShareShare
ReportReport
Posted on 17 Nov 2021 15:49:05 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

  • e50z Profile Picture
    9 on 15 Feb 2024 at 10:54:49
    Re: Categorize & Flag email of a shared mailbox

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

  • JBrownrigg Profile Picture
    13 on 26 Oct 2023 at 23:53:10
    Re: Categorize & Flag email of a shared mailbox

    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]

  • VictorIvanidze Profile Picture
    12,224 on 29 Nov 2021 at 18:19:05
    Re: Categorize & Flag email of a shared mailbox

    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

  • Community Power Platform Member Profile Picture
    on 29 Nov 2021 at 10:12:11
    Re: Categorize & Flag email of a shared mailbox

    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
    12,224 on 18 Nov 2021 at 09:04:49
    Re: Categorize & Flag email of a shared mailbox

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

  • Community Power Platform Member Profile Picture
    on 18 Nov 2021 at 07:58:42
    Re: Categorize & Flag email of a shared mailbox

    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
    12,224 on 18 Nov 2021 at 07:51:29
    Re: Categorize & Flag email of a shared mailbox

    Try to populate "Original mailbox address" field.

  • Community Power Platform Member Profile Picture
    on 17 Nov 2021 at 23:11:56
    Re: Categorize & Flag email of a shared mailbox

    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
    12,224 on 17 Nov 2021 at 16:11:09
    Re: Categorize & Flag email of a shared mailbox

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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
ankit_singhal Profile Picture

ankit_singhal 5 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 2 Super User 2025 Season 1

#2
Mitchell GC Profile Picture

Mitchell GC 2

Overall leaderboard