Run Query

cloud_datastore.run_query
ActionGoogle Cloudconnection required

Calls Datastore REST POST /projects/{project}:runQuery with gqlQuery.

Run a GQL query against Datastore and return plain entities.

Connection

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

Configuration

4 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———
database_id
Datastore database id (blank = default; overrides connection).
stringNo———
gql
GQL query, e.g. SELECT * FROM Task LIMIT 10.
stringYes———
namespace
Namespace (optional).
stringNo———

Output

One shape.

result

FieldTypeExample
entities
array—
count
number—
more_results
string—
end_cursor
string—
{
  "count": 0,
  "end_cursor": "",
  "entities": [],
  "more_results": ""
}

Related Google Cloud Datastore nodes

See Run Query run in a workflow.

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