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 Apps / Parse json with multip...
Power Apps
Unanswered

Parse json with multiple arrays

(0) ShareShare
ReportReport
Posted on by 125

Hello experts,

 

I`m trying to parse JSON object from Power Automate to Powerapps.

(Need to store JSON data in powerapps collection)

 

A JSON from API is like this.

 

1.jpg

 

{ "total":863, "data":[ { "id":6154616, "categories":{ "total":0, "data":[ ] }, "isAnonymized":false, "jobOrders":{ "total":0, "data":[ ] }, "jobSubmissions":{ "total":0, "data":[ ] }, "lastName":"u engineering", "leads":{ "total":0, "data":[ ] }, "timeZoneOffsetEST":10 },{ "id":85456552, "categories":{ "total":0, "data":[ ] }, "isAnonymized":false, "jobOrders":{ "total":0, "data":[ ] }, "jobSubmissions":{ "total":0, "data":[ ] }, "lastName":"Engineering", "leads":{ "total":0, "data":[ ] }, "timeZoneOffsetEST":10 } ] }

 

 

As you can see JSON data contains multiple nested arrays, and data property will have multiple employee data.

So, to store this JSON data in powerapps collection, i have created power automate which has below steps.

 

JsonFlow.jpg

The flow of the Flow is like this. If the button on powerapps was clicked, it will call the API and get the result of JSON.

To store that json in collection i have used below formula's.

 

FlowOutput.jpg

 

But all four collection shows only property name of JSON, not showing data.
How can I get items from this type of JSON?

 

Any help is greatly appreciated.

Categories:
I have the same question (0)
  • ilton Profile Picture
    194 on at

    Hi! @sachinsoni441 

    try just calling the flow 

    Se(ResponseJson, ComplexJson-Fist.Run())

    and store it in a record instead of a collection, from there you can extract the collection without calling the flow again.

     

  • sachinsoni441 Profile Picture
    125 on at

    Hello @ilton ,

     

    I have used below formula to store data in global variable.

    Set(jsonVariable,'ComplexJSON-First'.Run().properties.data);

     

    But how can i extract collection from it, as variable shows only type.

     

    JSONType.jpg

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard