Using results from firebase query 1 as relational filter conditions for query 2

Database & APIs

Scenario:

Query #1 returns a list of documents from Collection #1 which is filtered by the zip code that's submitted by the user. The results have two fields returned where I need to use the values as filters to query Collection #2 in a second query. Query #1 has an action output defined that I'm trying to use on Query #2 as a variable in the filter relation section. I can't seem to figure out how to properly use the action output correctly and there doesn't seem to be any good documentation around the options I'm seeing.

If I can't pass them directly from one query to the next, is there a way to store them in a state and use the state values for the filter values?

Where I'm at:

Available Options:

And when I select most of these, it seems to put me into a loop of asking for more available options.

What have you tried so far?

Everything mentioned in the post.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply