Hello
I have an issue with my firebase integration (firestore). Firebase is supposed to trigger something when a new record is created in firebase.
Note that my firestore document is named by me and I am not using the randomly generated name by firebase.
Here is what I use (creationDate is an integer and it is the time in seconds the document was created)
"orderBy": :{
"field": {
"fieldPath": "creationDate"
},
"direction": "DESCENDING"
}]
I have found this article but I am not sure how to do that.
My Firebase Zap isn't triggering when I add new records
New records need to appear at the top of your data so the Zap can see the most recent records. If you aren’t using push IDs, your records need to be ordered lexicographically or by priority so new records appear at the top.
A simple way to accomplish this is by calling setWithPriority
and using Firebase.ServerValue.TIMESTAMP
to order by timestamp.
Can anyone suggest which query should I add in Zapier?