AutomateAlong

How-tos › Checks

How to check if a value is blank in Power Automate (empty)

Updated 2 November 2026

The expression:

or(empty(triggerBody()?['Email']), empty(triggerBody()?['Name']))

True when at least one of the two is empty.

Where it goes

A Condition before a step that needs both.

  1. In the Power Automate designer, click in the box that needs the value.
  2. Select the fx (Expression) button that appears next to the dynamic content list.
  3. Paste the expression and select Add. It should appear as a purple fx chip; if you can see it written out as text, it went in as plain text and won't run.

Example output

false (illustrative; AutomateAlong doesn't run expressions)

The common mistake

or(equals(triggerBody()?['Email'], ''), equals(triggerBody()?['Name'], ''))

A question someone skipped is often null rather than an empty string, so this says it isn't blank. empty() catches both.

Change it for your flow

Step names inside an expression must match your steps exactly, with underscores for spaces: Get_items, not Get items. To adapt it, open it in the Expressions checker, which points at any bracket, quote or name that's wrong and suggests the corrected version. To write a different one from plain English, describe what you need on the same page.

Related

AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.