Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

ParseJson - Help

(0) ShareShare
ReportReport
Posted on by 7

Hello,

 

Am trying to parse a json string coming from rest api. The end goal is to set variable to pass as context for generative answers. I am stuck on how to parse the json when there is nested array. In this example, I am wondering how to extract properties like city from the nested address array in results?

jbronzo_0-1710432276509.png

 

Categories:
  • jbronzo Profile Picture
    7 on at
    Re: ParseJson - Help

    I am able to extract properties like the number field using: 

    ForAll(Topic.varNPIJsonData.results, number)
     
    However, I am not able to merge all of the address properties to a single table with the number field. I have tried syntax like the following can't seem to figure out the correct method.
     
    ForAll(ParseJSON(Topic.varNPIJsonData.results).addresses, {city: Text(ThisRecord.city) })
     
    References used:
     
     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard