Skip to main content

Notifications

Power Platform Community / Forums / Building Flows / Single trigger on mult...
Building Flows
Unanswered

Single trigger on multiple emails.

Posted on by 4
Wondering if someone can help me.  Right now I have a trigger that when an email comes in, we get a notification in a group teams chat.  We have an email that when sent sends multiple emails (notifications).  Any suggestions on how I can have the flow trigger once and not send multiple teams notifications?  The email is sending a "server down" and it sends every minute.
 
Thanks
MC
  • Suggested answer
    Nived_Nambiar Profile Picture
    Nived_Nambiar 15,886 on at
    Single trigger on multiple emails.
    Hi,
     
    In that case, i would suggest to keep the details of email in an external file and validate whether the email details has been processed by bot.
     
    This should be the way flow should be designed,
     
    For duplicated emails, i assume that alert emails have same subject /some part of subject would be same.
     
    This is how it should be done.
     
    Create an excel file with only one column - Subject.
    In the flow design - update the design as like described below
     
    1. After the trigger when email arrives, check in excel file whether the email record already exists based on email subject.
    2. Now using condition action, check whether the email record exists in excel
    If email record exists:
     
    Do nothing 
     
    if email record does not exists
     
    This means email is coming first time so need to alerted to teams channel.
    Along with that, add a new row in excel with email details so that next time when bot gets triggered, it should be validated.
     
    Hope it helps !
     
    Thanks & Regards,
    Nived N
  • CU23071458-1 Profile Picture
    CU23071458-1 4 on at
    Single trigger on multiple emails.
    No, not looking for a single day.  This alert could happen multiple times a day.  There isn't a set time that it could happen.  The business that I am in, we receive files from our customers.  So what happens is sometimes, the files they send are for something that isn't set up in our system as of yet.  So this will cause the server to put the breaks on and send multiple emails saying "someone needs to look at this".  For example we had this happen yesterday and within a 15 minute timeframe the server complained approx 50+ times. Unfortunately this is the way the server is set up (can't change that)..  So we'd like to get an alert in the group teams channel.  But getting 50 teams notifications just isn't the best.  Looking to see if Power Automate can post an alert to teams and then when the other ones trigger not send another (the alerts are all the same alert BTW)
  • Nived_Nambiar Profile Picture
    Nived_Nambiar 15,886 on at
    Single trigger on multiple emails.
    Hi,
     
    so for a particular email you want a single notification per day? - is that what you required ?
     
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,745

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics