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 / how can i get a value ...
Power Automate
Suggested Answer

how can i get a value from email body

(3) ShareShare
ReportReport
Posted on by 6
How can i get the value from the body of a email?
 
I have manny video with this question but i have a problem.
in the video`s i see that the name is like "Guide Last Name : Mol" and i get the name in the next row how can i get this?
and to make it more dificulte it is not always on the same place.
see the pictuer down here.
 
 
split(outputs('Html_to_text')?['body'],outputs('Compose_2'))
 
 
Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,713 Super User 2026 Season 2 on at
    I assume this is easier with the HTML. Can you show it?
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at
    Hi
     
    You said,
    and to make it more dificulte it is not always on the same place.
    see the pictuer down here.
     
    If your format is completely different each time, then you have to do a lot more work as you would need to identify the pattern the email uses, then use a Switch to then find the last name.
     
    It's not possible to write it for you as I do not know all the patterns you have.
    Also you should share the PRE-split data, not the split data as I have no idea why you have so many blanks or spaces because I cannot see the data.
     
     
     
     
     
  • Suggested answer
    abm abm Profile Picture
    32,998 Most Valuable Professional on at
    Hi
     
    The value you after is always at the end of the array? I am looking the example you had given, then you could use expression last() to get that value eg: Mol
     
    last(split(outputs('Html_to_text')?['body'],outputs('Compose_2')))

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard