Skip to main content

Notifications

Community site session details

Community site session details

Session Id : rBArRkNnePYl43FMf6zOXw
Power Automate - Building Flows
Answered

Creating a usable Auto-Response flow for Outlook

Like (0) ShareShare
ReportReport
Posted on 10 Sep 2021 15:28:34 by 11

Hi,

 

I am currently having issues creating a custom Outlook flow.

The idea for this is that it auto-resonds to any email that is sent from an external source (excludes two internal domain addresses) and that will not respond to any replies (emails that contain "RE:" in the subject field). The end of the flow also marks the email as unread as I noticed it marks them as read once it replies, we need this to show as unread so the emails do get responded to manually later down the line.

 

I started with a very basic auto-responder but very quickly realised this would not work. People send emails to this inbox internally, which just generates useless responses from the inbox.

We also just want this for when external addresses first email in, I thought a good way round this was just to exclude any emails that contain "RE:" in the subject field.

 

I believe I have done these conditions correctly, but on testing it does not work at all. Internal emails (from the two domains I have excluded) still get responses and emails with the subject "RE:" also do so. I do actually get a response from the inbox however and the "send an email" does work correctly. Before this I had tried "reply to email" which worked the same way.

 

Any help would be greatly appreciated, this is my first flow, so my knowledge may be lacking. I have done quite some searching on the forums for a solution now, one user wanted a similar thing to me and had recommended using the conditional I have already put in place.

 

Thanks

MBGAdmin

 

I have only hidden the addresses and body of text for the reply as they contain confidential information.

 

Auto response.png

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on 12 Sep 2021 at 11:58:51
    Re: Creating a usable Auto-Response flow for Outlook

    @MBGAdmin  refer to this post https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Flow-with-quot-When-an-item-is-created-or-modified-quot-triggers/ba-p/817459 you can do similar to just run the flow for new emails since the flow is turned on.

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on 12 Sep 2021 at 11:36:03
    Re: Creating a usable Auto-Response flow for Outlook

    The And condition is works because if all of the conditions are true, then only it will go to Yes branch. In case of Or condition, if even if one condition is true and other two are false, then also it will go to Yes branch. 

  • MBGAdmin Profile Picture
    11 on 11 Sep 2021 at 11:20:10
    Re: Creating a usable Auto-Response flow for Outlook

    Hi,

     

    I have another question regarding the flows.

    Upon re-applying the flow it seems like it has now responded to every email since I last had that flow on the mailbox. Is there anyway for me to disable this so that it does not reply to every email and just new ones that come in from the time I turn it back on?

     

    Kind regards,

    MBGAdmin

  • MBGAdmin Profile Picture
    11 on 11 Sep 2021 at 11:00:27
    Re: Creating a usable Auto-Response flow for Outlook

    Hi @annajhaveri 


    That has worked, now I feel daft!

    Surely the AND condition requires each of the 3 conditions to = true for the result to = true or is that just not how it works with the power automate flows? Is it because the AND condition is at the start and not between each of the flow conditions?

     

    If you can provide an explanation that would be fantastic for creating any future flows, but thanks for the help so far regardless!

     

    Kind regards,

    MBGAdmin

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on 11 Sep 2021 at 09:49:20
    Re: Creating a usable Auto-Response flow for Outlook

    @MBGAdmin  in the condition dropdown where currently Or is selected, select AND, after this change the conditions should work.

     

    annajhaveri_0-1631353693648.png

     

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started