Actions53
- App Check Actions
- Auth Actions
- Cloud Messaging Actions
- Firestore Actions
- Firestore Rule Actions
- Storage Actions
- Storage Rule Actions
Firestore → Query
AI-generatedSummary
Query documents from a specified Firestore collection or collection group, applying filters, ordering, cursors, limits, aggregations, and vector similarity searches as defined in the query operations.
Inputs
- Project Name or ID — Select the Firebase project name or ID. Optional for Firestore queries in this node's current UI context.
- Query Source Type (required) — Choose whether to query a single collection by its full path or a collection group by name across all subcollections.
- Path (required) — For collection queries, specify the collection path (supports nested subcollection paths like 'collection/documentId/subcollection').
- Collection Group Name (required) — For collection group queries, specify the name of the subcollections to search across all parent documents.
- Query Operations — Define a sequence of query operations to build the Firestore query, including filters (where), sorting (orderBy), cursor-based pagination (startAt, startAfter, endAt, endBefore), result limits (limit, limitToLast), aggregations (count, sum, average), and vector similarity searches (Enterprise Native only). Each operation has specific required parameters such as field names, operators, values, directions, etc.
Output shape
An array of Firestore documents matching the query or aggregation/vector search results.
The output structure depends on the query operations. Regular queries return document arrays; aggregation operations return the computed aggregation value(s); vector searches return documents with optional distance fields. Cursor values must align with orderBy specifications. Input validation and query construction follow Firestore's querying model.