firestore-database

n8n community node to connect, read and write to Firebase Firestore (service account).

Package Information

Downloads: 0 weekly / 11 monthly
Latest Version: 1.0.1
Author: Leonardo Deroldo Fernandes

Documentation

n8n-nodes-firestore-database

Community node for n8n that connects to Firebase Firestore using a Service Account.
Read, write, update, delete and query documents.

Features

  • Get / Create / Update / Delete document
  • Query collection (where, orderBy, limit)
  • Add document to collection (auto-id) or set a specific docId
  • Supports nested paths like users/{userId}/orders/{orderId}
  • Automatic conversion for basic JSON values

Credentials (Service Account)

Create a Firebase Service Account with role Firebase Admin SDK Administrator Service Agent (or minimally Firestore Admin permissions).
Upload or paste these fields into the credential in n8n:

  • projectId
  • clientEmail
  • privateKey (paste as-is; both plain multi-line and \n escaped are supported)

Usage tips

  • Paths are always relative to the root (no leading slash). Example: users/123 or users/123/orders.
  • For queries, set the collection path (e.g. users) and your conditions.

Development

npm install
npm run build
# symlink into your n8n custom folder or copy dist files

MIT License.

Discussion