Hi,
I am trying to extract one element (an ID) from a JSON file I got from an API response in order to set a condition.
I tried the object method (body['data']...) but it does not work. Indeed, when I check the ID manually, it is the correct ID so that the condition returns True, but whenever I test my flow, it always returns False.
I also asked the AI assistance and it suggested to write body?['data']?... and it does not work either, it concatenates the response body with the string "?['data]?...".
I checked the forum and it is said that I can create a "Compose" action, but I don't seem to have it.
Do you have any advice to navigate through the JSON file ?
Thanks!
Hi,
Thank you for your reply, I tried it and it's much better now !
It does not detect anything else than Outputs and body, that is why I tried to write
The "Parse JSON" was already there when I had the problem
Hi,
Thank you for replying, however as you can see on the screrenshots, I already tried the Parse JSON action, yet Power Automate doesn't suggest any ID as dynamic content.
Hi @Anonymous
You seem to be typing in the expression as text. Rather than an actual expression.
You need to put the whole expression inside the expression box. You will know it’s right if you have your whole expression inside the “Dynamic content box”
Hi @Anonymous ,
Please try "Parse JSON" action and paste in your sample schema. Then you will see the ID is now available as dynamic content downstream.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional