Execute Graphql

firebase_data_connect.execute_graphql
ActionDatabases & warehousesconnection required

Calls Firebase SQL Connect POST /v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:executeGraphql.

Execute any GraphQL query or mutation against the Firebase SQL Connect's generated GraphQL schema. Grants full read and write access to the connected data sources.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Firebase SQL Connect
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
location, project_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———
location
Location / region (overrides connection).
stringNo———
service
Id of the service to act on, from firebase_data_connect.list_services — not its name.
stringYes———
body
Request body (GraphqlRequest) as JSON.
objectNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
data
object—
errors
array—
extensions
object—
{
  "data": {},
  "errors": [],
  "extensions": {},
  "ok": false
}

See Execute Graphql run in a workflow.

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