web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email an HTML table wi...
Power Automate
Answered

Email an HTML table with all modified columns

(0) ShareShare
ReportReport
Posted on by 44

Hi all,

 

So, i feel like i would have a pretty generic use case but can't figure it out.

Whenever a user edits an item in a sharepoint list I would like to have an automated email sent out containing some basic information of the item in the list as well as a table containing all changed columns with their respected previous and new value.

 

What do I have so far?

 

- Trigger: when an item or a file is modified

- Get changes for an item or a file with the ID from the trigger and the trigger window start & end token

- Send an HTTP request to Sharepoint to get the previous values for the particular item

 

I would now want the columns that have been changed from my selected view, so only with value True from the Has Column Changed dynamic content. After that I want to loop through that output (Object in this case) and create my table (just by using a string variable that i will leverage in my email body would be the easiest i guess) and fill my 3 column table containing the Column Name, Previous Value and New Value.

 

I have an object called itemChanges but this contains all columns, both True and False.

 

Any help would be greatly appreciated.

 

Thanks!

 

Regards,

Hans

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,834 Most Valuable Professional on at

    Hi @Lennova,

     

    @tom_riha actually has great blogpost about this.

     

    I would start by looking at his approach:

    https://tomriha.com/get-previous-values-of-modified-sharepoint-columns-in-power-automate/

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard