npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-firestore

v1.6.1

Published

Your complete Cloud Firestore toolkit for n8n. Go beyond simple CRUD with powerful search operations, wildcard queries, and real-time triggers featuring built-in data validation. Handles native data types like Timestamps and GeoPoints seamlessly.

Readme

🔥 n8n Firebase (Firestore & Storage) Node

NPM Version
NPM Downloads
License: MIT

🚀 Seu toolkit completo Firebase para n8n

  • CRUD avançado e queries dinâmicas no Cloud Firestore
  • Upload de arquivos binários direto para o Firebase Storage
  • Triggers em tempo real com filtros inteligentes
  • Tratamento nativo de tipos de dados e serialização JSON

Tudo em um único pacote usando apenas uma credencial de Service Account.


✨ Core Features

🔹 1. Action Node (Firestore & Storage)

Gerencie tanto banco de dados quanto arquivos em um único node.

📂 Firestore (Database):

  • Create: Criação de documentos (ID automático ou customizado).
  • Read: Leitura de documentos com suporte a Timestamps, GeoPoints e References.
  • Update: Atualização parcial de campos.
  • Delete: Exclusão permanente.
  • Advanced Search: Queries complexas com UI dinâmica (Strings, Números, Booleans, Datas, Referências etc.).

🗂️ Firebase Storage (Files):

  • Upload File: Upload binário direto do n8n.
    • Geração automática de Download Token (UUID).
    • Retorna a URL pública oficial firebasestorage.googleapis.com.

🔹 2. Real-Time Trigger Node (Firestore)

  • On Document Created: dispara ao criar um documento.
  • On Document Modified: dispara ao alterar um documento específico.
  • On Collection Modified: dispara quando qualquer documento da coleção é alterado.

🔹 3. Advanced Features (Diferenciais)

  • ⚡ Wildcard Collection Group Search: busque em todos os sub-collections (parentCollection/{}/subCollectionName).
  • 🛡️ Trigger Filtering: evite ruídos! Adicione filtros nos triggers para rodar o fluxo só se o documento atender às condições.
  • 🔄 Error Handling Inteligente: detecta erros de índice (FAILED_PRECONDITION) e mostra a URL de criação automática no próprio n8n.
  • 📐 Native Data Type Handling: converte tipos Firestore para JSON legível (Timestamp → ISO, GeoPoint → {lat, lon}, DocumentReference → string path).
  • 🔗 Nested Path Support: suporte a dot notation (user.address.city) em filtros e triggers.

⚙️ Instalação

Requisito: além do @google-cloud/firestore, este node requer @google-cloud/storage. A instalação via npm cuida disso automaticamente.

✅ 1. Instalação via n8n Community (Recomendada)

  1. Acesse sua instância do n8n.
  2. Vá em Settings > Community Nodes.
  3. Clique em Install a community node.
  4. Informe o nome do pacote: