Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Get the Display name from the body of a GET http request

(0) ShareShare
ReportReport
Posted on by

I have a flow that is triggered on a change in a particular column in SharePoint.

I am using the 'Get changes for an item or a file (properties only)' to check if the Value of a particular field changed and if the condition is true. Then I am using a  'Send an HTTP request to SharePoint' with GET method and uri: /_api/web/lists/getbytitle('Intake Register')/Items(@{triggerOutputs()?['body/ID']})/versions(@{outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/SinceVersionId']}). This gives me that data before the change. 

I need this as the next action will be to send an email showing the name from a person column that was there before the change and the name of the new person (from the trigger action). 

 

My issue is that the result of the 'Send an HTTP request to SharePoint' is just body and i am unable to decipher the expression or something to use to just extract the display name (or as noted below the LooUpValue"), which in this case i want to see "Testing email Name"

 

Below is an extract of the action output:

"body": {
        "d": {
            "Legal_x005f_x0020_x005f_who_x005f_x003f_x005f_": {
                "__metadata": {
                    "type""SP.FieldUserValue"
                },
                "LookupId"131,
                "LookupValue""Testing email Name",
                "Email""testing.email@XYZ.com"
  • SamLed Profile Picture
    SamLed 2,326 on at
    Re: Get the Display name from the body of a GET http request

    Hi,

     

    you posted this topic twice, check out my answer in your other topic: Obtain Display name from the body of a GET http re... - Power Platform Community (microsoft.com)

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard