How to use a default value for a blank field in Power Automate
Updated 2 November 2026
The expression:
coalesce(triggerBody()?['Notes'], 'No notes given')
Returns Notes, or the fallback text when Notes is empty (null).
Where it goes
Any text field.
- In the Power Automate designer, click in the box that needs the value.
- Select the fx (Expression) button that appears next to the dynamic content list.
- 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
No notes given (illustrative; AutomateAlong doesn't run expressions)
The common mistake
if(equals(triggerBody()?['Notes'], ''), 'No notes given', triggerBody()?['Notes'])
A field that's missing is null, not an empty string, so equals(…, '') is false and the blank still gets through. coalesce() handles null.
Before you rely on it
- Notes is the column or field name. Empty text isn't null; use if(empty(…), …, …) for that.
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
- How to trim and lower-case text before comparing it in Power Automate
- How to get the first 50 characters of text in Power Automate
- How to get the name before the @ in an email address in Power Automate
- How to get a file's extension in Power Automate
- How to add today's date to a file name in Power Automate
AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.