Create Rows
stackby.create_rows
ActionDatabases & warehousesconnection required
Calls the Stackby API with the connection's credentials.
Insert up to ten rows into a table in one call.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Stackby
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url, stack_id, table
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 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 |
|---|---|---|---|---|---|
stack_id Id of the stack to act on, from the stack's URL. Overrides the default stack id on the connection. | string | No | — | — | stqYn5AvM8wJP1pfjw |
table Name or id of the table to act on. Overrides the default table on the connection. | string | No | — | — | tbmtIz6IUXZ1ogNJeB |
records Rows to create: either objects of column name to value, or Stackby's own form, {"field": {…}}. At most ten rows per call. | array | Yes | — | 1–10 characters; array of object | [{"field":{"Name":"Acme Ltd","Status":"Active"}}] |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"records": [
{
"field": {
"Name": "Acme Ltd",
"Status": "Active"
}
}
],
"stack_id": "stqYn5AvM8wJP1pfjw",
"table": "tbmtIz6IUXZ1ogNJeB"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
rows The rows Stackby returned, each as {id, field}. | array | — |
count How many rows this response carried. | number | — |
stack_id The stack the rows belong to. | string | — |
table The table the rows belong to. | string | — |
requested How many rows the request asked Stackby to write. | number | — |
{
"count": 0,
"requested": 0,
"rows": [],
"stack_id": "",
"table": ""
}Related Stackby nodes
See Create Rows run in a workflow.
In a technical demo we add the Stackby connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.