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 / Only send a team notif...
Power Automate
Suggested Answer

Only send a team notification for the FIRST email in an email thread for a shared inbox

(0) ShareShare
ReportReport
Posted on by 10
I have built an automation where my team gets a notification sent to a group chat in teams for when an email contains a certain subject. The automation works, however, I only want 1 notification per thread. We are getting notifications for replies in the thread which is convoluting the channel and it's not necessary for what I'm trying to accomplish.
 
Action item: I need a condition that will only send a teams notification for the first email in a thread when an email is sent to a share inbox. 
 
Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at
    When a new email arrives in the shared inbox, capture the Conversation ID. Store the ID in SharePoint List or Excel Online. For each incoming email, extract the Conversation ID and check your storage list. If the ID already exists, skip the notification step; otherwise, proceed.
  • CU04111428-0 Profile Picture
    10 on at
    Hoping there is an option that doesn't require me to store external conversation ID data, if not is there a way to send a request to Microsoft to add a simpler fix? 
  • CU04111428-0 Profile Picture
    10 on at
    So I'm using the conversation ID method, Can anyone provide the full conditional automation I would need to see if the list contained the conversation ID. Below I have shared where I am at in the process. i am having trouble determining the formula I need for the "choose a value"
  • Suggested answer
    David_MA Profile Picture
    14,199 Super User 2026 Season 1 on at
    In the Get items action, use a filter query to where the conversation ID is equal to the conversation of the conversation ID in the trigger. This is more efficient because it is only going to return the item you are looking for and not every item in the list, which by default, is only going to be 100 items. Note, the filter field is the internal name of the field in your SharePoint list and not the display name. So, the filter might be ConversationID eq 'Conversation ID from Trigger in Dynamic Content' and note that the value from the dynamic content needs to be in single quotes since it will be string value/GIUD value.
     
    In the image of your condition, you show the ID field. That is the ID field from the SharePoint list where you are storing the conversation ID. While you don't need this in your condition, the ID in the filter query is the conversation ID and not the item id. 
     
    You will still need the condition, but it will not be on the ID. You will use a length expression to find out how many items were returned from the Get items action (ideally it should be one if you implement everything correctly). On the left side of the condition, you will add this expression length(body('Get_items')?['value']) and check if it is greater than 0. If it evaluates to true/yes, send the message.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard