web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : +gmagn5nohF7qwhCu5YvXb
Power Automate - Building Flows
Answered

How to get a comments from a sharepoint list in an email with Power automate?

Like (1) ShareShare
ReportReport
Posted on 1 Mar 2021 15:32:35 by

Hello,

 

How to get a comments from a sharepoint list in an email with Power Automate?

I don t see a value in Power Automate for this!

Are the other trick instant of do it in a column?

 

Kind regards,

SanderSchermafbeelding 2021-03-01 162350.png

I have the same question (0)
  • rose01162020 Profile Picture
    10 on 23 Aug 2022 at 03:49:33
    Re: How to get a comments from a sharepoint list in an email with Power automate?

    Hi @Expiscornovus 

     

    Is it also possible to retrieve the account who added the comment?

    Thank you

  • Community Power Platform Member Profile Picture
    on 02 Mar 2021 at 11:23:29
    Re: How to get a comments from a sharepoint list in an email with Power automate?

    Thanks you so much! The idea is always easy and looks easy to do ;). But when you are doing it. Its always a little bit complex in Power Automate 🙂 Thanks

  • Verified answer
    Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 02 Mar 2021 at 11:12:52
    Re: How to get a comments from a sharepoint list in an email with Power automate?

    Hi @Anonymous,

     

    You can use the following URI to only retrieve 1 comment. Microsoft is automatically sorting it descending, so this will be the last comment.

     

    _api/web/lists/getbytitle('@{variables('ListName')}')/items(@{variables('ListItemId')})/Comments?$top=1

     

     

    If you want to avoid using a parse json and an apply to each action you can also use an expression to retrieve the correct fields of the comment item.

     

    Below is an example of retrieving the text of a comment of the first (and only) item in a compose action by using an index [0] and the text field.

     

    outputs('Send_an_HTTP_request_to_SharePoint')?['body']['d']['results'][0]['text']

     

     

    textfield_comment.png

  • Community Power Platform Member Profile Picture
    on 02 Mar 2021 at 10:59:54
    Re: How to get a comments from a sharepoint list in an email with Power automate?

    Thanks its works. But then wanne get the last comment.  If i do that after a parse Json, He is going into an apply to each get if me every comment and a lots of emails :). How to avoid that? So that i get the last comment of the item ?

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 01 Mar 2021 at 17:23:46
    Re: How to get a comments from a sharepoint list in an email with Power automate?

    Hi @Anonymous,

     

    You can retrieve the comments by using a Send an HTTP request to SharePoint action.

     

    Below is an example which retrieves the comments for one specific list item.

     

    _api/web/lists/getbytitle('@{variables('ListName')}')/items(@{variables('ListItemId')})/Comments

     

    getlist_comments.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started
Loading complete