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 / 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard