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:
I have the same question (0)
  • 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 589

#3
Haque Profile Picture

Haque 522

Last 30 days Overall leaderboard