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 / Having trouble extract...
Power Automate
Suggested Answer

Having trouble extracting plain text from email body

(1) ShareShare
ReportReport
Posted on by 20
Hi everyone,
 
I'm having some trouble extracting the plain text from the body of an email using Power Automate.
 
Here's the scenario:
 
I'm using the trigger "When a new email arrives (V3)" from Office 365 Outlook.
 
In the flow, I get the email body using triggerOutputs()?['body/body'].
 
Then, I pass that HTML content into the "HTML to Text" action to convert it into plain text.
 
However, the result I'm getting is missing the actual content I typed in the body of the email. For example, I send an email that contains the sentence:

"Your request has been accepted."

But this text doesn't appear in the final output — it's like it's being removed or not detected.
 
It seems like the HTML is being processed, links and formatting are stripped, but the actual body text just doesn’t show up.
 
Has anyone else faced this issue? What’s the best way to extract the clean plain text from an email's body reliably?
 
Any help would be appreciated!
Thanks in advance!
Categories:
I have the same question (0)
  • Suggested answer
    AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi, 
     
    I'm not experiencing this issue, could you share screenshot of your flow?

    Look my example, you can add a compose between the actions just to verify the HTML you are passing contains the email body.



     
  • Suggested answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
     
    Thank you for choosing Microsoft Power Platform Community.
     
    Here are some helpful resources:

    How to Extract Text from Email with Power Automate
     
    YouTube Tutorial on Extracting Text from Emails

    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 
    Robu 1
    SuperUser|Moderator
  • VictorIvanidze Profile Picture
    13,079 on at
  • CU28031222-0 Profile Picture
    20 on at
    @AnthonyAmador 
    Hi
     
    I'm running into an issue when trying to extract specific information from an Outlook event invitation email using Power Automate.
     
    Here’s the scenario:
     
    When I create a calendar event and reserve a room (which is a resource mailbox), the room sends an automatic reply email saying:
    "Your request has been accepted."
     
    The problem is that this reply email appears to contain only that short message in the body. However, the original calendar event I created includes important text in the event body, like:
     
    Water 1  
    Coffee 1
     
    These are kitchen supply items with quantities that I need to extract and process in my flow.
     
    In my flow:
     
    I trigger it when a new email arrives.
    I use "HTML to Text" to convert the email body.
    But it only captures "Your request has been accepted" from the room's response.
    It does not extract the original content from the event body.
     
    I’ve confirmed that the original event has the correct information, but Power Automate seems to only read the room’s reply content.
    How can I extract the original event body text (the one I submitted when booking the room)?
     
    I've attached a screenshot of the email body JSON showing the limited content received.
     
    Any help or guidance is appreciated!
    Thanks in advance!
     
     
  • VictorIvanidze Profile Picture
    13,079 on at
     
    could you share an email?
  • CU28031222-0 Profile Picture
    20 on at
     
    See the screenshot of the email 
     
     
  • VictorIvanidze Profile Picture
    13,079 on at
    Could you share the HTML body (input of HTML To Text action)?
     
  • CU28031222-0 Profile Picture
    20 on at
     
    Hi
    It seems that the issue you're facing is related to how Outlook handles meeting invitations. When you receive an automatic email confirmation (like a room booking confirmation), the body of the email often doesn't include the original meeting description you wrote (like "water 1, coffee 1"). Instead, it typically contains a standard response such as "Your request was accepted" or similar.
    This happens because the "When a new email arrives (V3)" trigger captures the body of the confirmation email, not the body of the actual calendar event.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard