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 / Email an HTML table wi...
Power Automate
Unanswered

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,189 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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard