Query SQL
seatable.query_sql
ActionDatabases & warehousesconnection required
Calls the SeaTable API with the connection's credentials.
Search a base with SeaTable's SQL dialect, binding workflow values through ? placeholders rather than string concatenation.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- SeaTable
- Secret shape
- the base API token, or {"api_token": "…", "account_token": "…"} where the account token is only needed by the webhook operations
- Config it needs
- server_url, base_uuid, workspace_id, base_name
- 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 |
|---|---|---|---|---|---|
sql The statement to run, e.g. SELECT Name FROM Contacts WHERE Age >= ?. | string | Yes | — | — | — |
parameters JSON array of values substituted for the ? placeholders, in order. | array | No | — | — | — |
convert_keys Return column names (on) rather than SeaTable's internal column keys (off). | boolean | No | true | — | — |
server_only Search only the normal backend, skipping rows archived to big data. | boolean | No | false | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"convert_keys": true,
"server_only": false
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
results The matching rows. | array | — |
count How many rows matched. | number | — |
metadata Column definitions for the result set. | array | — |
success Whether SeaTable ran the statement. | boolean | — |
{
"count": 0,
"metadata": [],
"results": [],
"success": false
}See Query SQL run in a workflow.
In a technical demo we add the SeaTable connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.