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 / Not able to get contac...
Power Automate
Answered

Not able to get contact name from List but return with entire STRING

(0) ShareShare
ReportReport
Posted on by 29

Hi All,

 

I am having trouble to get a contact name from sharepoint list previous version. 

 

I added below as a variable and get trying to get the employee name, then display this variable in a email.

body('Parse_JSON')?['d']?['results'][1]['EmployeeName']
 
However, the email show a string value like below.
{"__metadata":{"type":"SP.FieldUserValue"},"LookupId":24,"LookupValue":"George, Miller","Email":"GeorgeM@blabla.com"}
 
Below as the Parse Json Schema for the field employee name.  Actually i just want the email to display the name which is the above "George,Miller" right after the lookupvalue.
Can anyone help me through how i can just call the Name instead of the entire string? 
 
Thank you for your help.

                            "EmployeeName": {

                                "type": "object",

                                "properties": {

                                    "__metadata": {

                                        "type": "object",

                                        "properties": {

                                            "type": {

                                                "type": "string"

                                            }

                                        }

                                    },

                                    "LookupId": {

                                        "type": "integer"

                                    },

                                    "LookupValue": {

                                        "type": "string"

                                    },

                                    "Email": {

                                        "type": "string"

                                    }

                                }

                            },

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,277 Most Valuable Professional on at

    @bbastro 

    Here is a link to a blog post that I believe will answer your question.

     

     

     

     

  • Verified answer
    bbastro Profile Picture
    29 on at

    Thanks Scott,

    I figured it out myself by just call the lookup value inside and it is now resolved.

    body('Parse_JSON')?['d']?['results'][0]['EmployeeName']?['LookUpvalue']

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard