Run Query
snowflake.query
ActionDatabases & warehousesconnection required
POSTs SQL to the Snowflake SQL API; long statements are polled by handle.
Run a SQL statement against Snowflake (SELECT returns rows).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Snowflake
- Secret shape
- the token, or {"token": "…"}
- Config it needs
- account, warehouse, database, schema, role, token_type
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 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 |
|---|---|---|---|---|---|
sql SQL with ? placeholders. | string | Yes | — | — | — |
params Values for the ? placeholders (bound). | array | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
rows Result rows (objects; values are strings). | array | — |
row_count Total rows in the result set. | number | — |
{
"row_count": 0,
"rows": []
}Notes
- Use ? placeholders with params — never string-build SQL from untrusted input.
- Result values arrive as strings (the SQL API's JSON encoding), like BigQuery.
See Run Query run in a workflow.
In a technical demo we add the Snowflake connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.