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

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

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
v-monli-msft
Community Support
Community Support

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.

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

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
Frequent Visitor

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (84,305)