I have the below JSON response from an API call:
{"result":
[
{"account":
{"link":"https://example.com","value":"12345678"}
},
{"account":
{"link":"https://example.com","value":"87654321"}
}
]
}I'm trying to use power automate to retrieve a list of all the "value"s using a Select function.
I have created an array and added the JSON to it and using the below in the select:
first(variables('test1'))?['result']?[0]?['account']?['value']
However, this creates a 1 item list/ only selects the first value.
Can anyone please help and tell me where I'm going wrong?