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 / SharePoint List Item C...
Power Automate
Unanswered

SharePoint List Item Comments - Check for @mentions and send email

(0) ShareShare
ReportReport
Posted on by 28

My company uses SharePoint List Item Comments regularly and we are running into an issue where if someone does not use an @mention within the comment, we are never notified of the comment. My goal is to have a flow that checks for these comments and sends us a notification if a comment is added without an @mention. I originally wanted to do this on Item Modified but based on my research, this may not be possible. So now I am going to do a Recurrence flow.  
I want to run a Get Items with some filters. All items that come back will have the Comment section checked and if the newest comment does not include @mention, then it will send an email. Currently it is failing. 

dbeckemeyer_0-1692211778501.png

dbeckemeyer_4-1692212481637.png

 

In the Select:
Name:  item()['author']['name']

Date:  formatdateTime(item()?['createdDate'], 'dd MMM yy')

Text:  item()?['text']

 

dbeckemeyer_2-1692211891814.png

After this, it sends the email off and moves onto the next item. 

 

This however runs for a while and fails with a BadRequest

dbeckemeyer_3-1692212252341.png

 

How can I fix this? It seems my Select options should be different.

Anything helps. Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @dbeckemeyer ,

     

    Please ensure the input of select action is type of array.

    vxiaochenmsft_1-1692237688077.png

    vxiaochenmsft_2-1692237721913.png

    vxiaochenmsft_3-1692237756339.png

    vxiaochenmsft_4-1692237772784.png

     

    Best Regards,

    Wearsky

     

     

  • NT-04050916-0 Profile Picture
    2 on at
     
    Did you get this fully working? I’m working with the same issue - unfortunately with minimal experience….
     
    If you have a working flow that you can share with all steps that I can learn from it would be very much appreciated!
     
    Can’t believe MS haven’t implemented the function as a standard part of Sharepoint - but that’s a different story :)

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard