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 / Parsing JSON from Powe...
Power Automate
Unanswered

Parsing JSON from Powerapps creates string for body

(0) ShareShare
ReportReport
Posted on by 199

I am building a flow that is triggered from Powerapps. The trigger grabs a collection from Powerapps, passed as a JSON, and will use that data to populate a Word template. 

 

I am currently working in the Powerapps(v2) trigger, but I tried the v1 trigger and it was behaving the same way. Here is how the trigger is configured.

Screenshot 2022-10-20 100423.png

 

When I run the flow, this is the output for the body.

"body": {
 "text": "[{\"crd93_bawfinishid\":\"PL-2\",\"crd93_item\":\"Formica - 7012-58 - Amber Maple\",\"crd93_jobno\":\"22-117\",\"crd93_submittalid\":\"5ee21905-104f-ed11-bba1-000d3a338f6f\",\"crd93_submittalno\":\"22-117-01\",\"crd93_submittalstatus\":858310000,\"crd93_submittaltype\":858310002,\"createdon\":\"2022-10-18T18:09:37.000Z\"},{\"crd93_bawfinishid\":\"SS-1\",\"crd93_item\":\"LG Hausys Hi-Macs - G118 - Moon Haze\",\"crd93_jobno\":\"22-117\",\"crd93_submittalid\":\"7c46904a-124f-ed11-bba1-000d3a338f6f\",\"crd93_submittalno\":\"22-117-04\",\"crd93_submittalstatus\":858310000,\"crd93_submittaltype\":858310002,\"createdon\":\"2022-10-18T18:25:55.000Z\"}]",
 "text_1": "Approval",
 "text_2": "Email",
 "text_3": "8517ea26-7f15-ed11-b83d-000d3a382d59"
 }

There are two records that need to be parsed ("PL-2" and "SS-1"). I tried just parsing the body by generating schema from the above example and the result is: 

{
 "type": "string"
}

Which outputs both records as one string. How can I parse this further to get to the individual records and the properties for each record?

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

    I was able to solve this problem by parsing the JSON further with another Parse JSON operation which dealt only with the body from the first Parse JSON function. 

    Screenshot 2022-10-21 072455.png

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 506 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard