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 / Pull the data From ale...
Power Automate
Unanswered

Pull the data From alert email

(0) ShareShare
ReportReport
Posted on by 110

Hi all, When the share point list is modified I am receiving an alert email, is there a way to pull the data from the email and then add to the excel file?

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @Shagoul ,

     

    Could you please provide a demo?

     

    Best Regards,

    Bof

  • Shagoul Profile Picture
    110 on at

    Hi Bof,

     

    Here is the demo

     

    When I modified something on the SharePoint list I received the below email.

     

    I want to pull the data from the body of the email and add it to the excel file.

     

    Expected output

    ID1

    OnUsCheck   

    NotOnUsCheck 

    Status

    Status (Edited)

    Approval Status

    Approval Status (Edited)

    98

    100 

    50 

    pass 

    fail 

    Approved 

    Pending 

     

    Shagoul_0-1658485326280.png

     

     

     

  • v-bofeng-msft Profile Picture
    on at

    Hi @Shagoul ,

     

    You could try:

    1\Use a HTML to text action to convert the email body to a plain text.

    2\you could use these expressions:

     

    To get 98, you could try this expression:

    first(split(last(split(EmailBody,'ID1 ')), decodeUriComponent('%0A')))

     

    To get 100, you could try this expression:

    first(split(last(split(EmailBody,'OnUsCheck ')), decodeUriComponent('%0A')))

     

     

    Best Regards,

    Bof

  • Shagoul Profile Picture
    110 on at

    Thank you can you please help with screenshot flow

  • Shagoul Profile Picture
    110 on at

    Can you please advise how I get?

    status: pass separately and status: “fail” Edited separately.

    Shagoul_0-1659080907656.png

     

  • v-bofeng-msft Profile Picture
    on at

    Hi @Shagoul ,

     

    Please try:

    last(split(first(split(last(split(EmailBody,'Status:')), decodeUriComponent('%0A'))),' '))

     

    Best Regards,

    Bof

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard