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 / Extracting Email Body ...
Power Automate
Answered

Extracting Email Body Text using Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 2

Hi Power Automate Community,

 

The email body from which I would like to extract the text is as follows:

 

Good Day,

Unit ID - 05H782

Sample Date - 2021-04-03

Hours Provided - 7502

Previous Hours - 54987

Service Type - 1000

Sampler - Kitty

The underlined are the text that needs to be extracted and written to excel sheet. Text Extraction is the part that is not easy to figure out. 

Halloween_0-1648639125447.png

 

How to do this using Power Automate Desktop ? Any help to find a solution would be appreciated. 

 

Thanks.

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

     

    As an example for Unit ID - 05H782, since you already know that you need to get the text from the 10th position you can fetch the text as below

    Or use regular expressions for more flexibility.

     

    Let me know if there is something else going on in your text.

     

    VJR_0-1648640592650.png

     

    VJR_1-1648640666346.png

     

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Splitting by Newline will give you each in a separate line item

    and then in that row if "Unit ID -" is found apply the above action.

     

    VJR_0-1648641020493.png

     

  • Community Power Platform Member Profile Picture
    on at

    Many thanks for your help. The split text function using the if condition should work for my flow I think.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard