Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

  • v-bofeng-msft Profile Picture
    on at
    Re: Pull the data From alert email

    Hi @Shagoul ,

     

    Please try:

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

     

    Best Regards,

    Bof

  • Shagoul Profile Picture
    110 on at
    Re: Pull the data From alert email

    Can you please advise how I get?

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

    Shagoul_0-1659080907656.png

     

  • Shagoul Profile Picture
    110 on at
    Re: Pull the data From alert email

    Thank you can you please help with screenshot flow

  • v-bofeng-msft Profile Picture
    on at
    Re: Pull the data From alert email

    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
    Re: Pull the data From alert email

    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
    Re: Pull the data From alert email

    Hi @Shagoul ,

     

    Could you please provide a demo?

     

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,594 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow