Power Automate errors / Schema

ExpressionEvaluationFailed: the result of the evaluation of 'if' condition expression is not boolean

platform: Power Automate / category: Schema / code: ExpressionEvaluationFailed

Cause

An expression using dynamic values fails at runtime because the actual data is a different type or null — something the engine cannot catch at save time.

Fix

Open the failed run, select the action, and inspect Inputs for the actual value. Guard null-prone references with if(empty(...)) or coalesce(). Validate types before conversion (e.g. isInt() before int()). For dates, pass an explicit format to formatDateTime()/parseDateTime().

Source thread →

Part of the Automation Error Index — Power Automate errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem