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
JacobW
New Member

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
Community Support

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
New Member

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?
Highlighted
tpitman
Frequent Visitor

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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,146)