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 / Parsing the first and ...
Power Automate
Unanswered

Parsing the first and only record in a GET / ParseJSON back without loop

(1) ShareShare
ReportReport
Posted on by 2
Hi Guys,
 
Been a couple of days on this one and its starting to drive me bananas.  For background, my skill levels here are pretty low!!
 
I have a JSON GET request that only returns 1 items from an API and passes the data into a Parse JSON. The schema is later in this message. 
 
I am trying to reference the items (e.g. firstName, lastName) etc directly in the Respond to Powerapp Operation... but for some reason I cannot get this to work.  The only way I have had success is to Initialise a Variable, then go into a Apply Each loop to then set the variable before exiting the loop and Responding to the Powerapp.
I have tried approaches such as below, but none have as yet worked:

body('Parse_JSON')[0]['firstName']
first(body('Parse_JSON')['firstName'])
etc
 
Any help of assistance is very much appreciated...!
 
 
The schema for the JSON is below:
{
    "type": "object",
    "properties": {
        "meta": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                },
                "limit": {
                    "type": "integer"
                },
                "offset": {
                    "type": "integer"
                }
            }
        },
        "members": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "firstName": {
                        "type": "string"
                    },
                    "lastName": {
                        "type": "string"
                    },
                    "number": {
                        "type": "string"
                    },
                    "accountCredit": {
                        "type": "number"
                    },
                    "amountOwing": {
                        "type": "integer"
                    },
                    "age": {
                        "type": [
                            "integer",
                            "string"
                        ]
                    },
                    "id": {
                        "type": "string"
                    }
                },
                "required": [
                    "firstName",
                    "lastName",
                    "number",
                    "accountCredit",
                    "amountOwing",
                    "age",
                    "id"
                ]
            }
        }
    }
}
Categories:
I have the same question (0)
  • TomMoody Profile Picture
    115 on at
    Please can you illustrate this part with screenshots so we can see details of your flow?
     
    'I am trying to reference the items (e.g. firstName, lastName) etc directly in the Respond to Powerapp Operation... but for some reason I cannot get this to work.  The only way I have had success is to Initialise a Variable, then go into a Apply Each loop'

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

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard