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 / Auto response for shar...
Power Automate
Suggested Answer

Auto response for shared mail box.

(0) ShareShare
ReportReport
Posted on by
So I'm trying to set up an auto response for shared mail box that works like this:
Email comes in from customer to shared mail box. An auto reply is sent on the same email chain from the shared mailbox.
Customer replies to said chain and no auto response.
If a new email chain is started that triggers the auto responce.

I keep getting some of this to work but never all of it, closes i got is the auto-response is being sent on every email.  

Can anyone advise on the proper set up for this?
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,755 Most Valuable Professional on at
    To do something like this you'll need to store something that identifies the email chain when it first begins in a data source.  Then when a new email arrives check that information against the data source. If its not there then its a new chain so send the auto reply and store the identifier in the data source.  In CRM this used to be handled by putting some kind of a GUID identifier in the AutoReply Subject line.  Then you could check for the GUID in a reply.

    ----------------------------------------------------------------------------------
    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
     
  • ViktorIvanidze Profile Picture
    21 on at
    Email message may contain the In-Reply-To and References properties. You can retrieve them using a GRAPH request.
     
  • Suggested answer
    S-Venkadesh Profile Picture
    943 Moderator on at
     
    To determine whether an email is a new thread or part of an existing mail chain, you can check for the presence of the divRplyFwdMsg element in the email body.
    Suggested approach
    • Trigger: When a new email arrives (V3)
    • Add a Compose action with the following expression:
    contains(triggerBody()?['body'], 'divRplyFwdMsg')

    Interpretation
    • True → The email is part of a reply/forward mail chain
    • False → The email is a new email (new thread)

     
    I hope this information helps! If it does, please consider giving a 👍.
    If this solved your issue, please mark it as ✅ Verified Answer
    Best regards,
    S-Venkadesh
     

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

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard