Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Detecting Duplicate Emails (Subject Line) Within a Certain Time Frame.

    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.

  • tfhegdbn Profile Picture
    149 on at
    Re: Detecting Duplicate Emails (Subject Line) Within a Certain Time Frame.

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >