cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rmurphyMLHC
New Member

Send email when SharePoint List is Modified - Show Changes in Email

I have found the template to send an email when a SharePoint list is modified, but I was hoping to include in the email a summary of what was modified (similar to how a basic SharePoint list alert works). Is that possible using Power Automate?

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

The only way you can do this is to:

1) for each column create another column i.e. OldValueZipCode for each column you want to monitor

2) when created populate OldValue with the values that were entered in a flow

3) when modified flow (the one your talking about) use a combination of OldValue and then actual Value to display the email in the format you need

4) update OldValue with Current Value.

 

Not ideal but will achieve what you need. In other words no where is it recorded - the only other way may be to retrieve a older version from rest api and process that, but the approach above is probally simpler.

View solution in original post

 

Hi @rmurphyMLHC ,

 

In fact, I think the SharePoint List alert can already fulfill your needs.😁

On the contrary, the existing functions in Power Automate have certain limitations and cannot fully meet your needs.

 

As suggested above, you could consider using the Rest API to get the item versions, and use an HTML table to compare whether several key fields have changed.

 

  • The basic steps are similar to those mentioned in this blog, except that we only need to get the first two elements in the result.

Check-for-a-Change-in-a-SharePoint-List-Column-Value

 

  • Then select the fields you need to see if they have changed and configure them with Select action.
  • Finally, configure the HTML table and send the email.

Image reference:

248.PNG249.PNG

 

I hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
rmurphyMLHC
New Member

Example:

 

notifyusersharepointlist2.png

The only way you can do this is to:

1) for each column create another column i.e. OldValueZipCode for each column you want to monitor

2) when created populate OldValue with the values that were entered in a flow

3) when modified flow (the one your talking about) use a combination of OldValue and then actual Value to display the email in the format you need

4) update OldValue with Current Value.

 

Not ideal but will achieve what you need. In other words no where is it recorded - the only other way may be to retrieve a older version from rest api and process that, but the approach above is probally simpler.

View solution in original post

Thanks for the tip. I will try this!

Hi @rmurphyMLHC 

 

You need to make SharePoint API call to retrieve version history.

 

Have a look at the below links.

 

https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-get-previous-versions-of-a-list-it...

 

http://johnliu.net/blog/2018/5/microsoft-flow-sharepoint-trigger-on-specific-fields-changed-via-sp-h...

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Thank you. I will look at this as well.

 

Hi @rmurphyMLHC ,

 

In fact, I think the SharePoint List alert can already fulfill your needs.😁

On the contrary, the existing functions in Power Automate have certain limitations and cannot fully meet your needs.

 

As suggested above, you could consider using the Rest API to get the item versions, and use an HTML table to compare whether several key fields have changed.

 

  • The basic steps are similar to those mentioned in this blog, except that we only need to get the first two elements in the result.

Check-for-a-Change-in-a-SharePoint-List-Column-Value

 

  • Then select the fields you need to see if they have changed and configure them with Select action.
  • Finally, configure the HTML table and send the email.

Image reference:

248.PNG249.PNG

 

I hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,476)