cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ishraqiyun77
Helper IV
Helper IV

Getting value of "key" and "value" from each object in an array of objects

Having trouble implementing the solutions I have come across on here.

Basically, if I have a key:value pair like:

 

{
  "name": "test"
}

The array of objects has about 12 objects in it. I want to be able to get the value of the key ("name") and the value ("test").

The only thing I'm getting back is "Click to download" for input and output. Not sure what I'm doing wrong.

This is my Flow:

Capture.PNG

The result:

Capture1.PNG

 

3 REPLIES 3
Gristy
Resident Rockstar
Resident Rockstar

Did you copy the payload into the action to generate the schema or just typed it in yourself?

 

ITs quite good at building schema automatically and then should give you the desired result.

Hi, I've tried both (manual and automatic) with the same results. The automatic generates what I did manually.

Hi,

 

The issue is your input does not match the schema.

 

The schema is expecting the input to be

 

{
"key": "test"
}

 

your input is:

 

{
"ave": "test"
}

 

in the schema remain ave to key and you will be good

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (64,440)