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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to combine comment...
Power Automate
Unanswered

How to combine comments in a sharepoint list with a text field.

(0) ShareShare
ReportReport
Posted on by 221

Can I combine the comments that are shown when editing a list item with a notes field? We would like to print off the records of information stored in the comments and in the resolved notes field shown below. Is this possible? 

 

 

EMA03356_0-1695254290118.png

 

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @EMA03356 

     

    Assuming the below things 

     

    1. The comments from a list item should be joined by semicolon (;) as delimiter.

     

    I am using Business Process column instead of Resolved Notes field for demo purposes so that you can understand how to retrive the comments for a list item.

     

     

    Step 1. Retrive all items from list using get items 

    Step 2: loop through each item from output of get items using apply to each loop

    Nived_Nambiar_0-1695294647654.png

     

    Below steps would be explained for steps done under loop

     

    Step 2.1 use send http request to send http request to retrive the comments associated with a prticular list item which is being iterated 

    Nived_Nambiar_1-1695294727753.png

     

    Select the site address in which your list is present.

    Use the below endpoint

    _api/web/lists/getbytitle('List A1')/items(@{items('Apply_to_each')?['ID']})/Comments

     

    List A1 represents the list name of the list in my case and you can replace it as per your requirement.

    @{items('Apply_to_each')?['ID']} represents ID component of list item (dynamic content)

    The output of send http request would be a body whose each array component under results property has a text property which would have the comments associated with that list item.

     

    so we need to retrive those comments associated with list item using select action.

    Nived_Nambiar_2-1695294922802.png

     

    Expression for From field: body('Send_an_HTTP_request_to_SharePoint')?['d']?['results']

    Expression for Map field: item()?['text']

     

    Now the output of the select action would be array of comments associated with one list item, so we need to join them so to include it in the column , for that we will use below expression in compose action

    Nived_Nambiar_3-1695295039489.png

     

    The output of this expression would be a string which has all comments seperated by semi colon.

     

    Now use that output to update your required field for the item in list using update item action.

    Nived_Nambiar_4-1695295097386.png

     

     

    Hope this helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard