cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amsrivastava
New Member

Power Automate which execute when mail arrives based on subject

Hi Guys!!

I need to built a Power Automate Flow which will execute when mail arrives by particular subject.

 

I.e. when mail arrives by either of the three subject mention below

1. INDIA

2. DELHI

3. MUMBAI

 

I tried to use <When Mail arrives V3 and found we can only pass one Subject at a time, is there any way via which i can check for multiple subject.

 

Thanks

Amit

2 REPLIES 2
CFernandes
Super User
Super User

Hey Mate,

 

@amsrivastava 

 

Can you try the below in Subject Filter

 

@or(contains(triggerBody()?['Subject'], 'INDIA'),contains(triggerBody()?['Subject'], 'DEHLI'),contains(triggerBody()?['Subject'], 'MUMBAI'))

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

HI @CFernandes 

It doesn't works !!!

 

When i used this expression in SUBJECT FILTER, flow not triggered when mail arrived at OUTLOOK.

InFact, Subject Filter does not support dynamic expression, Please suggest!!

 

Thanks

Amit

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,718)