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 / Forward an email to a ...
Power Automate
Answered

Forward an email to a shared inbox when I am out of office

(0) ShareShare
ReportReport
Posted on by 10

Hello all,

I am working on building a flow in Power Automate that forwards emails with the word "Request" in the subject to a shared inbox only when I am out of office.

For full context, my team has created a Microsoft Form that external users fill out. Based on their selections, a Power Automate flow emails the form information to a specific team member, with a subject line containing "Request," and it is set to come from the shared email, but replies are set to automatically go back to the external user who submitted the request. 

If I'm out of office and receive an email with "Request" in the subject, I want it to be forwarded to a shared inbox so another team member can address it. Otherwise, if I am available, the email should just stay in my inbox.

So far, I have set up the following:

  • Trigger: "When a new email arrives" with "Request" specified in the subject line.
  • Action: "Send an email" to forward the email to the shared inbox.

I'm not sure what condition I need to check for my "out of office" status so the forwarding happens only when I'm away.

Any suggestions would be greatly appreciated!

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,515 Most Valuable Professional on at
    You can use the following actions to check whether your out of office message is set or not.
    1) Get Mail tips for a mailbox (V2) using your email address.
    2) Use 'first(body('Get_mail_tips_for_a_mailbox_(V2)')?['value'])?['automaticReplies']?['message']' to retrieve the message from the output.
    3) Check to see if the variable is empty. If it is then Out of office is not set.  If its not then Out of Office is active.
     

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 468

#2
Haque Profile Picture

Haque 370

#3
Valantis Profile Picture

Valantis 354

Last 30 days Overall leaderboard