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 / Trigger email - When a...
Power Automate
Answered

Trigger email - When a particular set of columns modified in Sharepoint List

(0) ShareShare
ReportReport
Posted on by 64

Hi All,

 

I need to develop flow that will trigger email to user when particular set of column modified in Sharepoint List.

 

I have Sharepoint list with almost 40+ columns  in that if modification made in specific 20+ set of columns , I need to send email to user which column is modified and also the old and new modified values of the particular columns

 

Can you please help in developing the above logic , happy to discuss more in detail .

 

Thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Gayathri_TU , you can use "When an item or a file is modified" trigger for the flow, then add Get changes for an item or a file (properties only) action, this action will give you details of which columns have been modified. Then you can get previous version of item using "Send an HTTP request to SharePoint" action to get the old values of columns. New values of columns you can get from the trigger, sample flow shown as below to see how you can configure these actions:

    Screenshot 2021-01-28 211651.png

     

  • GayathriTU Profile Picture
    64 on at

    Hi @annajhaveri 

     

    Thanks for the Quick response,

     

    Also I need to Send email to the users when particular set of columns are modified(about 20) among 40+ columns , can you suggest me the logic to implement the same.

     

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Gayathri_TU , you can add condition action and configure below expression to determine if column value has changed or not. Please note this expression is for two columns, you can add more columns in the expression. Replace test1 and test2 in expression with you column internal names.

    or(outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/ColumnHasChanged/test1'],outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/ColumnHasChanged/test2'])

     and configure the condition action as follows:

    annajhaveri_0-1611905843792.png

     

  • GayathriTU Profile Picture
    64 on at

    Hi @annajhaveri 

     

    It's working great,Thanks.

     

    One more thing I need to send the values in the email body : Column Modified currently and Old value of the column in tabular view , can you please help me with that.

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Gayathri_TU  yes sure, as i mentioned in my previous replies, to get the old value of column, use Send HTTP Request to SharePoint action to use REST API to get previous version (old) values

    annajhaveri_0-1611916351213.png

    After adding the above action, use below expression to get old values, replace title with you column internal name

     

    body('GetVersion')['d']['Title']

     

     

  • GayathriTU Profile Picture
    64 on at

    Hi @annajhaveri 

     

    How to get only display name form people picker field? in mentioned formula

     

     body('GetVersion')['d']['Title']

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard