cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JacobW
Level: Power Up

Flow won't find keyword trigger in email body

I am attempting to build a flow that triggers when an Outlook email is received from my email account and in the body it contains the word "Star". This is just for testing purposes. I am having trouble understanding how to use the "Conditions" field to get the result I want. Here is what I want to have happen:

 

Trigger: When I receive an email from my email address, and

Condition: The body of the email contains the word "Star"

Action: Send an email to my email address with Subject "It worked!" and in the body field, include the Body text of the original email.

 

The part in red returns an error that says INPUTS > Expression result > false.

 

I am not sure what this means, but I bet I am not understanding the condition correctly. How should I structure my condition so that when Flows detects the word "Star" in my email, it triggers the action?

 

The condition is currently set up as [BODY] > contains > "Star"

 

Is this syntax incorrect? Thanks in advance for your guidance. A screenshot is below.

2017-08-01 19_14_59-Edit your flow _ Microsoft Flow.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
JacobW
Level: Power Up

Re: Flow won't find keyword trigger in email body

Thank you for your assistance. The email that I sent contained this in the body:

 

"When you wish upon a Star."

 

This was just for testing. Thank you for confirming it is case sensitive. I think the "." after "Star" caused the condition to fail.

 

I just resent it where "Star" is standing alone, and it seemed to work. Thank you!

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Flow won't find keyword trigger in email body

Hi @JacobW,

 

With the Condition: The body of the email contains the word "Star"

 

You email body need to have "Star" inside with the capital "S". Flow condition is case-sensitive.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
JacobW
Level: Power Up

Re: Flow won't find keyword trigger in email body

Thank you for your assistance. The email that I sent contained this in the body:

 

"When you wish upon a Star."

 

This was just for testing. Thank you for confirming it is case sensitive. I think the "." after "Star" caused the condition to fail.

 

I just resent it where "Star" is standing alone, and it seemed to work. Thank you!

View solution in original post

Anonymous
Not applicable

Re: Flow won't find keyword trigger in email body

Does it work for strings like 'Star Wars Saga' as well?
Single words worked well for me but not strings including spaces.
Any ideas?
tpitman
Level: Powered On

Re: Flow won't find keyword trigger in email body

I am having the same issue. When I send myself a test email which includes the work "Sensor" in the body of the email, The condition evaluates as False

 

 

 

Clipboard01.jpg

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (3,840)