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 / Flow - Outlook - Null ...
Power Automate
Answered

Flow - Outlook - Null Value causing Flow to Fail

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 

Hello,

 

We have created several flows to monitor a shared inbox. The automation looks at the subject and body of the incoming email for specific characters and if they are found it proceeds to move the incoming email to a different Outlook folder.

 

The challenge I am running into is that some of these emails do not have anything in the subject line or the body of the email. Example, if the email does not have data in the subject line, the flow fails and it prevents it from going to the next step to look at the body of the email. 

 

Ideally it would be nice to just add a random word to the subject or body to ensure it always has a value, but I am sure there are better solutions. 

 

I am a novice, hoping to grow, any help you can provide on the correct way to set this up to get around the null value error would be much appreciated, thank you in advance!

 

FYI - I added the HTML to Text step to prevent Power Automate from triggering because of a href, example, SPA, some emails have HTML <span>

 

2021-01-06_11-17-56.jpg

 

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Found a working solution via this post. No need to reply, thank you!

     

    https://powerusers.microsoft.com/t5/General-Power-Automate/Condition-error-EMAIL-From-To-CC/td-p/444797

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard