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 / Extract property value...
Power Automate
Unanswered

Extract property value with header name from other property

(0) ShareShare
ReportReport
Posted on by

Dear all

 

I am trying to extract values from a complex JSON array. I need the "id" and "created-at", as well as each "answer" property.

 

  • The column header for each "answer" should be taken from the property called "widget-label"
  • The number of objects in "easy-form-widget-responses" object varies, so [0] won't always be the same

Desired outcome:

idcreated-atsupplier nameStreet AddressStreet Address 2cityPostal CodeState or Provence
368732313221supplier-valuestreet-valuestreet2-valuecity-valuepostal-valuestate-value

 

Sample:

 

{
 "body": [
 {
 "id": 368732,
 "created-at": "2023-04-14T11:16:19+02:00",
 "updated-at": "2023-04-18T20:09:40+02:00",
 "easy-form-id": 3890,
 "name": "2. Request New Supplier",
 "status": "applied",
 "submitted-at": "2023-04-17T09:44:56+02:00",
 "subject": {
 "id": 42063,
 "supplier-id": 319966,
 "display-name": null,
 "supplier-number": "4134054"
 },
 "easy-form-widget-responses": [
 {
 "field-name": "name",
 "widget-label": "Supplier Name",
 "answer": "supplier-value"
 },
 {
 "field-name": "street_address",
 "widget-label": "Street Address",
 "answer": "street-value"
 },
 {
 "field-name": "street_address_2",
 "widget-label": "Street Address 2",
 "answer": "street2-value"
 },
 {
 "field-name": "city",
 "widget-label": "City",
 "answer": "city-value"
 },
 {
 "field-name": "postal_code",
 "widget-label": "Postal Code",
 "answer": "postal-value"
 },
 {
 "field-name": "state_or_provence",
 "widget-label": "State or Provence",
 "answer": "state-value"
 }
 }
 ]
}

 

 

 

 

Categories:
I have the same question (0)

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard