Hi there, @YBGE!
I’m no expert in Firebase but it looks like the query is specifically looking for documents where the email field's value is literally "email". Is that correct?
If you’re wanting to get the most recent document that’s added to the users collection I’d have thought you could reduce the query down to the following:
"orderBy": [{
"field": {
"fieldPath": "dateCreated"
},
"direction": "DESCENDING"
}]
In the above example you’ll notice it’s set to orderby a timestamp field called dateCreated, and not the email field. This is to ensure that the Zap is able to look at the most recent document based on the date/time it was created. I’d recommend changing dateCreated field reference to match the correct name for a relevant timestamp field in your users collection. And I also removed the select, from, and limit from the query as those are handled automatically.
Can you try updating the query as suggested and confirm whether that fixes it?