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 / Add comment to Sharepo...
Power Automate
Unanswered

Add comment to Sharepoint List Item

(0) ShareShare
ReportReport
Posted on by 2

I am creating an approval flow for a sharepoint document library/list. I would like to add a comment to the item at each step of the approval process to create an audit trail of who did what and when. I cant seem to figure out how/if I can post a comment to and item. Any ideas?

Categories:
I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @hightechlofi 

    I can tell you that we are using the built-in version control to track who did what and when. No need for comments about that.

     

    We then have a flow that can be used to publish the document, meaning that it will be sent for approval, and if approved, a PDF version of the document is published in another library, whichl the original document goes back to being a draft.

     

    Only our PDF versions of documents are the valid ones.

    Is the above something similar you are looking for?

    Kind regards, John

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @hightechlofi 

    You might add an additional column (multi-line text) to the library.  Then, post comments to the text column from the approval (approval comments) to the column at each stage.  You might want to turn on versioning and check the "append text" box in the column settings.

    Let me know if you need an example.

     

  • MooCow Profile Picture
    8 on at

    Definitely a lame way to do it. Suppose this will work however to have a native comment system and not being able to address is out right dumb. 

  • MooCow Profile Picture
    8 on at

    nothing new still 

  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @hightechlofi 

    I observed that it is possible to add comments to items in a SharePoint list through the UI.

    Still not possible for items in a SharePoint document library.

    Kind regards, John

  • Community Power Platform Member Profile Picture
    on at

    You can add a comment with a HTTP-request action

    2021-02-01 16_59_37-Edit your flow _ Power Automate.png

     

     

     

     

     

     

     

     

     

    Or see this article https://laptrinhx.com/add-comments-to-sharepoint-list-items-using-the-rest-api-3384205990/ 

  • Community Power Platform Member Profile Picture
    on at

    I have not had any luck with that method. The error I get is

    "The expression web/lists/GetByTitle("Test")/Items(1)/Comments() is invalid. 

    "Microsoft.SharePoint.Client.InvalidClientQueryException"
     
    I tried POST and PATCH.
  • Community Power Platform Member Profile Picture
    on at

    Hi,

     

    just to be sure. Your expression includes also the _api/ part like this?

     

    _api/web/lists/GetByTitle("Test")/Items(1)/Comments()

  • Community Power Platform Member Profile Picture
    on at

    I found the issue. I had to use single quotes, both for the list title in the uri and for the JSON object. If I used double quotes, I got the error

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