Firebase Admin - Firestore Triggers Trigger icon

Firebase Admin - Firestore Triggers Trigger

Listen to Firebase Firestore document changes

Firebase Admin - Firestore Triggers Trigger

AI-generated

Summary

Listen for real-time changes in a Firestore database at a specified path to trigger workflows when documents are created, updated, or deleted.

Inputs

  • Project Name or ID — Select the Firebase project by name or ID from a list or specify via expression.
  • Database Name or ID — Select the Firestore database by name or ID from a list (dependent on project) or specify via expression. Defaults to '(default)'.
  • Trigger On (required) — Specify the Firestore event type that triggers the workflow: document creation, update, or deletion.
  • Path (required) — The Firestore collection or document path to watch for changes, e.g., 'users' or 'users/abc123/posts'.

Output shape

a stream of trigger events containing the Firestore document data and metadata related to the specified path and event type

Each trigger event outputs data about the Firestore document that changed according to the event type (created, updated, or deleted). This node continuously listens for matching changes and pushes matching events into the workflow as they occur.

Links

Discussion