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

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:
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard