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 / 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,394 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
    12,982 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard