Showing results for 
Search instead for 
Did you mean: 

Query for a result within a result using Logic Apps

I have a JSON document within CosmosDB that looks like this

"Feedbacks": [
{ "id": "abc"

I would like to first find all the documents where the ids are >15 and then loop over and find all the feedbacks that are associated with this result. How would I do this using the LogicApp? I have an idea and this is what I have done so far:








I am not sure what the next step should be? Should I perform another query? if so, what would this be?

Select c.Feedbacks from ...?


Because now that I have my first result from query 1, I need to query within this result for all of the Feedback ids

Any help or suggestion is appreciated.

Community Support
Community Support

Hi @jasmine2020 ,


After you get the json output from a previous action in flow. You can make use of Filter array action to query the results further 



Hopefully this helps.


Thanks and Regards,


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,120)