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 / Email Subject Trigger ...
Power Automate
Unanswered

Email Subject Trigger Condition - Subject Contains Or

(0) ShareShare
ReportReport
Posted on by 84

Hi,

My flow trigger is When a new email arrives (V3). I have the following settings for my trigger looking for multiple keywords within the subject line:

jibbs_0-1711729826820.png

The full condition I am using is: 

@Or(contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 301'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 302'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 304'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 305'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 401'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 402'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 320'), contains(triggerOutputs()?['body/subject'], 'Virtual Classroom 330'))

Yet, despite receiving plenty of emails with these strings in the subject, the flow doesnt fire.

An example email subject line from the emails coming in:
'Notice - Bob S is registered for Virtual Classroom 304 Cloud Administration Fundamentals with Order Number: 000038444'

The rest of the flow trigger is set up correctly.

Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @jibbs 

     

    Tried your trigger condition and it works me for same subject line which you mentioned. Just to check does your email has any attachments and your trigger has these fields set up like below?

     

    Nived_Nambiar_0-1711800647178.png

     

    https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-automate/flow-run-issues/issues-triggering-emails-with-attachments-from-shared-mailbox

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • jibbs Profile Picture
    84 on at

    @Nived_Nambiar thank you for replying. I found the issue to be an incorrect value that I had in the To line. So the conditions I was using was correct, and I appreciate you confirming that as well.

    Thank you!

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard