Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Send an email that can show the existing item.

(0) ShareShare
ReportReport
Posted on by 102

I am now creating a new share point portal that save the record of some new join staff. I have created an approval flow with some notification email to HR staff, But I have 2 flow that I cannot figure out how to config.

 

1) When the record of an existing staff change: When the record of an existing staff change , I would like to send an email to the staff to ensure the record is correct. I know how to set an approval flow. But the problem is that, for record change , I would like to send an email to include both the new record and the existing record. Please advise how can I pull the record of the existing staff.

 

2) I have some HR staff that are responsible for approve the new staff record and I have created a list for them, please advise if how I can create a flow each time a add a staff in the staff list , they are get the permission of approval?

 

  • mimisek Profile Picture
    11 on at
    Re: Send an email that can show the existing item.

    Hi Pinoq,

    Here's the steps:

     

    1) You have to enable versions on your list setting via SharePoint.

    2) Add "When an item is created or modified" as a trigger

    3) Add Initialize variable, name it "version"

       set it to integer / set the formula : int(triggerBody()?['{VersionNumber}'])
    image.png

    4) Add "Initialize variable" again and set it to String/ formula : add(variables('version'),-1)

       and add ".0" to last of the value 

    image.png

    5) Add "Send an HTTP request to SharePoint"

      URI : _api/web/lists/GetByTitle('<Your list name>')/Items(@{triggerBody()?['ID']})/Versions

    image.png

     

    6) Save the flow and do Test

    7) Copy whole "Body" in the output of "Send an HTTP Request to Sharepoint"

    image.png

     

    8 ) Get back to the flow editing page

    9) Add "Parse JSON", input "Body" from "Send an HTTP...." with dynamic content

        Click "Generate from sample" and paste what you copy in step 7, and click "Done"

    image.png

    10) After this, consist as below

    image.png

     

    Whole flow construction:

    image.png

  • ChristianAbata Profile Picture
    8,949 Most Valuable Professional on at
    Re: Send an email that can show the existing item.

    @Pinoq  shure you can try this triggers to to what you need.

     

    To send an approval when a new user is inserted in your list

    create1.PNG

     

    To update your list when a user is out.

    create2.PNG

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1