web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invalid expression(s)"...
Power Automate
Suggested Answer

Invalid expression(s)" error in Condition step

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I’m hoping someone can help me figure out a frustrating error I’m running into with the flow designer.

What I am trying to do:
I am building an AI-powered email assistant. The flow triggers when a new email arrives, uses a Condition to ensure the email is from a real person (ignoring "noreply" or specific automated addresses), and then sends the subject and body to GPT via AI Builder. It parses the GPT response to extract a summary and a list of action items, and finally sends an Adaptive Card to Microsoft Teams where I can click a button to either mark the email as read or automatically create a Microsoft To-Do task.

The Problem:
My flow is failing to save/run because of my very first Condition step. I am getting this exact error message:

"The input parameter(s) of operation 'Condition' contains invalid expression(s). Fix invalid expression(s) for the input parameter(s) of operation 'Condition'."


Looking at the designer, my Condition has three valid rules checking the From address. I could not figure out what is wrong with this step.

Has anyone run into this issue before?

I have attached screenshots of the designer and the condition settings for reference.

Thanks in advance for any advice!

 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    Using expressions, I find usually works better. Try this: 
     
    • contains(triggerOutputs()?['body/from'], 'noreply')
    • contains(triggerOutputs()?['body/from'], 'no-reply')
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard