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 / When a new email arriv...
Power Automate
Answered

When a new email arrives in a shared mail box

(3) ShareShare
ReportReport
Posted on by 36
I have a flow with trigger condition "Then a new email arrives in a shared mail box (V2)", This flow monitors a shared mail box with subject line filter "Ticket" and creates a SharePoint list item. The flow is working fine but it is triggering in unwanted scenarios. So when a new email contains a subject line "Ticket", this triggers the flow and creates a SharePoint list item, but if someone replies to the original email, the flow is getting triggered again and generating a duplicate SharePoint item, i would like to avoid that. 
 
Basically, i would like to have a condition in the flow that checks if Subject line starts with "Re:" flow should not proceed executing further actions. Could someone help me on how to accomplish this please.
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    anipeddi Profile Picture
    36 on at
    I actually figured this out by myself, I added a condition and check the subject line does not start with condition for Re: and Fw:
  • Suggested answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at
    The subject filter in that trigger just looks for specific words. What you want is to add a trigger condition in the settings of that trigger. Use the following: (note: it is case sensitive)
    @startsWith(@{triggerOutputs()?['body/subject']},'Re:')

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard