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 grab value from...
Power Automate
Answered

How to grab value from array inside object

(0) ShareShare
ReportReport
Posted on by 43

Hey all

 

So I'm receiving data from an API and I'm trying to get the price and cost from the JSON as a value inside Select but I keep getting null.

I've tried:

item()?['prices']?[0] => returns null

item()?['prices']?['amount'] => errors

Any ideas?

 

 

[
 {
 "name": "Microsoft Business Premium",
 "prices": [
 {
 "amount": "16.6"
 }
 ],
 "costs": [
 {
 "amount": "10"
 }
 ]
}

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    jamielakes Profile Picture
    43 on at

    Figured it out..!

     

    Combination of the two...

     

    item()?['prices']?[0]?['amount']

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
David_MA Profile Picture

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard