Skip to main content
Community site session details

Community site session details

Session Id : eVGsso7KfocIc0eWppE8c5
Power Automate - Building Flows
Unanswered

Email parsing

Like (0) ShareShare
ReportReport
Posted on 16 Jan 2020 15:06:23 by

Hi! 

 

I just happened to know about the amazing capabilities of MS power automate including parsing emails.

 

I’m looking for parsing the email below and then export the content to an excel sheet. I tried to follow a few examples in the community but failed to apply the same on my own case.

 

below is the form of the email - which I received frequently- I want to parse.

 

The following records have been updated in your Reports card:

Audited Financial Report VI (due 6/30/2024) Status: Report Received (1/13/2020)

Grant GG-1712-14986 - xxxxxxx

 

 

 

 

The fields in red are ones that I’m trying to capture systematic in an excel sheet.

 

Thanks in advance!

 

 

 

 

  • v-litu-msft Profile Picture
    on 17 Jan 2020 at 07:17:34
    Re: Email parsing

    Hi @Abdulbari,

     

    There are expressions on how to extract these properties from the Email Body one by one:

    Annotation 2020-01-17 151103.png

     

    Annotation 2020-01-17 151115.png

     

    ReportName:

    split(outputs('Compose'),'(due')[0]

    Duration:

    split(split(outputs('Compose'),'(due ')[1],') Status')[0]

    Status:

    split(split(outputs('Compose'),'Status: ')[1],'(')[0]

    ReceivedDate:

    split(split(outputs('Compose'),'(')[2],')')[0]

    Grant GG:

    split(outputs('Compose'),'Grant GG-')[1]

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • fchopo Profile Picture
    7,972 Moderator on 16 Jan 2020 at 15:25:33
    Re: Email parsing

    Hi @Abdulbari 

     

    Here are a few resources you could use:

    In order to extract some information, you should use the compose action and substring function.

     

    Hope it helps!
    Ferran

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete