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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Redirection of emails ...
Power Automate
Suggested Answer

Redirection of emails from a shared mailbox to other recipients (depending on the content)

(0) ShareShare
ReportReport
Posted on by 142
Hello guys!
 
Hope someone can help me here.
 
I need to set up a flow in Power Automate so that emails received in a shared mailbox are scanned for content to identify which other mailbox the should be directed to. How do I achieve this? For example, if
the sender of the email has asked in the body of the email about a housing matter, that email should be directed to a designated housing mailbox. Presumably, all the destination generic email addresses should be recorded/stored in a Sharepoint list or otherwise beforehand for ultimate selection. 
 
Any assistance/advice someone can offer would be very much appreciated. Even if the steps for the flow could be outlined for me, that would be even better.
 
Thank you! 
 
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    I have not been involved in this project at my company, but I know they've had good success with using the AI builder action for category classification. You can learn about it at Use prebuilt category classification model in Power Automate - AI Builder | Microsoft Learn. You will have the flow trigger when the e-mail arrives in the shared mailbox. Convert the body of the e-mail to text and then use the AI classification builder to identify the content. You can then use a switch to send it to the correct group, with the default switch for ones that do not have a high enough confidence score or cannot be classified. The hardest part is training the AI on your emails to get the accuracy rate high enough. The link above contains a link to training the model. Good luck.
  • PB-04020944-0 Profile Picture
    142 on at
    Many thanks,  , will look at that and see if it helps. 
     
    I still welcome contributions from any others, though, so please feel free to post with your suggestions too. Thank you!
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    You can build a flow to automatically scan incoming emails in a shared mailbox and route them based on keywords in the email body.
     
    How it works ?
    • Trigger: When a new email arrives in shared mailbox
    • Read content: Subject + Body
    • Get keyword mappings from SharePoint list
    • Match keywords (e.g., “housing”, “billing”)
    • Forward email to the correct mailbox
  • PB-04020944-0 Profile Picture
    142 on at
    Thank you,  . Could I trouble you further by asking you to list the steps in PA so that I can get a clearer picture of the connectors involved? Thank you kindly. Screenshots of an example of this process would be especially helpful.
  • PB-04020944-0 Profile Picture
    142 on at
    Anyone? 
  • CU30121719-0 Profile Picture
    on at
    Google for "SortAliasesShared Flow". Use it as a base and modify it to fit your requirements.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard