Cortex Extract Answer
snowflake.cortex_extract_answer
ActionDatabases & warehousesconnection required
Calls the Snowflake REST / SQL API with the connection's bearer token.
Answer a question from a document with Snowflake Cortex.
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, 2 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 |
|---|---|---|---|---|---|
text Input text. Supports {{ }}. | string | Yes | — | — | — |
question Question to answer. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
result | array | — |
{
"result": []
}See Cortex Extract Answer 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.