JSON query Firestore
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I need a structured query that can be run in Zapier which queries Firestore and returns the documents filtered by a reference field. Here's a how-to article on how to filter by string field:
https://zapier.com/apps/firebase/help#creating-a-firestore-structured-query-for-a-search

I need something just like this, but the field is a reference field (i.e. caps/01lVEUjWwi9bcAPepayM)

4 days ago
Tags
json
firebase

Crowdsource coding tasks.

1 Solution


I don't think Zapier supports query by reference field directly, you could use "firebase functions" to trigger a function when a new document is created, filter data by javascript query, then push data into Zapier by webhooks.