cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mrabone99
Frequent Visitor

Mail subject filter

I'm creating a flow that when an e mail arrives it posts the details (from, date, subject, body) into a teams channel, i want to exclude mails with certain words in subject like gone fishing, automatic reply and Out of office.

 

i've tried with this set up but so far not working is there a better way?

 

Capturea.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Brad_Groux
Community Champion
Community Champion

Without the post a message step expanded we can't offer really much insight, as that is likely where the issues lie. From your screenshot, all we can see is that when an email arrives you have a double-and condition, so if the Subject doesn't contains Holiday and Gone Fishing, you'll post a message.

Are you sure you wouldn't want the condition to be an or condition instead of and? Also, you want to likely rethink your logic. You want your action to be in the Yes step when possible, so if the subject Does not contain Holiday, then Yes, post to teams. 

The following documentation is recommended for figuring out the best way to handle your conditions, their logic and expressions: 

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!

View solution in original post

2 REPLIES 2
Brad_Groux
Community Champion
Community Champion

Without the post a message step expanded we can't offer really much insight, as that is likely where the issues lie. From your screenshot, all we can see is that when an email arrives you have a double-and condition, so if the Subject doesn't contains Holiday and Gone Fishing, you'll post a message.

Are you sure you wouldn't want the condition to be an or condition instead of and? Also, you want to likely rethink your logic. You want your action to be in the Yes step when possible, so if the subject Does not contain Holiday, then Yes, post to teams. 

The following documentation is recommended for figuring out the best way to handle your conditions, their logic and expressions: 

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!

Thanks for the reply

 

Are you sure you wouldn't want the condition to be an or condition instead of and? 

and there it was - i was using and instead of or tbh i hadn't even spotted the drop down 🙂 thank you so much.

 

 

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,652)