Best answer

Trouble triggering firebase data to google sheets

  • 16 March 2020
  • 1 reply


My zap isn´t triggering the data from firebase using the query { "orderBy": [{ "field": {"fieldPath": "email"}, "direction": "DIRECTION_UNSPECIFIED" }] } if I use ASCENDING or DESCENDING it only triggers the new records filtered alphabetically, it doesn't triigger all new records, I understand the orderBy is required but it filters on the new records, how can I get all the new data? Doesn't matter the order, I just need all the data.


Best answer by Danvers 19 March 2020, 12:32

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +12

Hi @Jeisson - welcome to the community!

Databases can be tricky because we need a way to tell the Zap what a new item is. In this case, you’ll need to add a field to the database - a date field of  ‘created on’ works well. You can then sort the data by the new field so that whenever a new record is added, it will be at the top of the list and therefore trigger the Zap. 

​I hope that helps, please let me know if you have any questions!