Skip to main content

Over time our collection format has changed and the test data/collections available are missing fields we would like to import to a google sheet doc. We have several thousand collections, but unable to “load more” test data. Is it possible to select a particular record?

 

Hi @wwwilsun , the only way I’ve been able to use particular test data is by making sure its been the latest trigger point in that zap. Eg: If I wanted a particular record I would make sure it’s the last record entered. This can differ between apps on whether or not this is possible. What apps are you using/trying to achieve? 


@Seun Debiyi Thanks for the response. Using firebase/cloud firestore. Unfortunately, the documents are sorted random IDs. Relatively new to Zap; are there any workarounds that you can think of? Much appreciated. -Eric

 

*Update I am trying to use the funnel function import (to google sheets) only the doccuments in the collection that have the field, that is only available in the newer format.


@Seun Debiyi guessing this is an obvious solution and that I didn't define my issue well enough for you to understand. The solution was simply to place a new order document and change my query to the following:

"orderBy": :{
        "field": {
            "fieldPath": "order_submit_date"
        },
        "direction": "DESCENDING"
    }]

 

This returned the order document in Zap’s test data.  Just wanted to follow up...sorry if I wasted your time.  -Eric