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 get value of a ...
Power Automate
Unanswered

How to get value of a particular key in json format in power automate desktop

(0) ShareShare
ReportReport
Posted on by 18

When I use get method to invoke a web service I get the entire page in json format , I want only value using key in json .

How do I filter out value using key in power automate desktop , should I perform loops or condition to retrieve one particular value using key which is in json format 

Kindly help me out 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hello @Pavibhau_3698 

     

    Could you take a look at the solution links here.

  • Pavibhau_3698 Profile Picture
    18 on at

    Hi,

    This didnt help coz the json didnt get converted to proper list to iterate particular list[0],list[2]

    how to convert json object to proper list so I can use index to retrieve particular value 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @Pavibhau_3698 

     

    After you converted the JSON to Custom Object in PAD, you can retrieve the value from custom object using index number.

    For instance, I created the sample flow like below:

     

    shindomo_0-1633151359004.png

     

    You can use "Count()" function to know how many users in this object:

    %Count(JsonAsCustomObject['users'])%

     

    shindomo_1-1633151375080.png

     

    Then iterate the Loop for all users in this object using variable %LoopIndex% to retrieve first name of each users:

    %JsonAsCustomObject['users'][LoopIndex]['firstName']%

     

    shindomo_2-1633151384819.png

     

    Please try it.

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard