Query

firestore.query
ActionDatabases & warehousesconnection required

Calls the Firestore API POST documents:runQuery with a structuredQuery.

Query a Firestore collection with where filters, ordering and a limit.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Firestore
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
collection
Collection id.
stringYes———
where
JSON array of {"field", "op", "value"}; op is EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, NOT_EQUAL, ARRAY_CONTAINS or IN.
arrayNo—array of object—
order_by
Field to order by; prefix with - for descending.
stringNo———
limit
Max documents (1-1000).
numberNo50≥ 1—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "limit": 50
}

Output

One shape.

result

FieldTypeExample
documents
array—
count
number—
{
  "count": 0,
  "documents": []
}

See Query run in a workflow.

In a technical demo we add the Google Firestore connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.