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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email returning null f...
Power Automate
Answered

Email returning null for all fields

(0) ShareShare
ReportReport
Posted on by 18

Hello,

 

I'm currently having trouble with the very start of my flow. I am pulling the Subject, Body, Attachment names, and Time Received out with compose but they all just return null values despite existing in the original email. I've also tried HTML to text among other solutions and that threw the same error.

Any help appreciated.

QuinnMyers_0-1707850865548.png

 

Categories:
I have the same question (0)
  • ivan_apps Profile Picture
    2,187 Moderator on at

    Can you show how you are pulling those value out? Let us know what your condition statement is doing too.

  • QuinnMyers Profile Picture
    18 on at

    This is the current statement. 

    QuinnMyers_1-1707853108159.png

    It doesn't return a null string when placed inside of an 'apply to all' but then it runs into problems when accessed.

  • ivan_apps Profile Picture
    2,187 Moderator on at

    Perhaps you may want to retrieve the email after your trigger condition. If you can retrieve it by ID then you should have all the properties available. Otherwise I'd recommend looking at the raw outputs of your trigger to see if you can see the right data in there. Store it as a variable if you need it within the loop.

  • QuinnMyers Profile Picture
    18 on at

    I've tried pulling the subject and such directly further on but they also appear as null. I'm not sure how to get the raw outputs of the trigger, I've used HTML to text but it also just returns null.

  • QuinnMyers Profile Picture
    18 on at

    I've also tried initializing it as a variable but it won't allow it inside the for loop or using the output of the for loop and when I get it directly from the outlook output the variable shows a null string too.

  • Verified answer
    ivan_apps Profile Picture
    2,187 Moderator on at

    You would initialize a variable right after the trigger. Then set/append the variable inside the loop and you’ll be able to reference it from anywhere.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard