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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
location Location / region (overrides connection). | string | No | — | — | — |
service Id of the service to act on, from firebase_data_connect.list_services — not its name. | string | Yes | — | — | — |
body Request body (GraphqlRequest) as JSON. | object | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
data | object | — |
errors | array | — |
extensions | object | — |
{
"data": {},
"errors": [],
"extensions": {},
"ok": false
}Related Firebase SQL Connect nodes
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.