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 / Detecting Duplicate Em...
Power Automate
Unanswered

Detecting Duplicate Emails (Subject Line) Within a Certain Time Frame.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to build a Flow for a classroom device that sends out emails when a user presses a help button. However, the hardware does not allow me to restrict the frequency on how often the button will trigger an email. I created a flow that will take the email with a certain subject and pass it along a HTTP call to our ticketing system, marks the email as read, and then moves it to another folder. However, it will create duplicate tickets if the button was pressed more than once. I am trying to find a way to once the email arrives to the mailbox, it will look in another folder within a certain timeframe (within 30mins) and if does it will ignore the triggered email and end the flow. Otherwise, it will continue processing the email through my flow.

 

https://imgur.com/a/8SuTXXb

Categories:
I have the same question (0)
  • tfhegdbn Profile Picture
    149 on at

    Hi @Anonymous

    When the user clicks on the button, an email will be sent, so your current purpose is to check for duplicate emails over a period of time.
    Do you have something to recognize if the message is duplicated?
    If there is a duplication, stop the flow and no longer create a ticket.
    I understand it right? Or it is not what you want to do at all.
    Please provide more details about your needs.Smiley Happy
     
    Regrads.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So users hit a physical button at the classroom so they can get assistance with the AV/Computer equipment. A team gets an email and they go to the classroom to troubleshoot. Meanwhile, our servicedesk creates the ticket to be documented and assigned to that team. I want to cut out the Service Desk in the creation of the ticket. The problem with the button press, it is pretty dumb, and if users spam presses the button more than once, mutiple emails go out at the same time.

     

    In my current flow it will create the ticket, but multiple tickets will get created, I would like to include some logic to prevent or ignore duplicates emails for a certain time peroid since at minimum of about x minutes, and then after x minutes tickets can be created for that classroom again. The subject of the email will be something like this:

     

    "NRC Message: User pressed AVHelp in CB 202"

     

    The last bit is the building and room number, which can be different, about 60 rooms or so.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard