Skip to content
Docs

Table Store Insert

Table Store Insert writes the incoming JSON as rows into a table store. A single object becomes one row; an array becomes one row per element. You find it on the node picker’s Storage shelf.

The node always inserts. A row whose unique column value already exists fails the run; use Table Store Upsert to update existing rows instead.

The Table Store Insert node's settings form, with the fields described below
The Table Store Insert node's settings form, with the fields described below
FieldTypeDefaultDescription
Table (tableStoreId)string ✦ (required) — The table to insert the incoming rows into.
Empty a column sent as null (clearWithNull)boolean ✦ (optional) — Empty a column an item sends as null. Off, a null counts as not sent: a new row gets the column’s default, and an existing row keeps its value.
On error (onError)string ✦ (optional) — What to do when the table refuses the rows: fail the flow, or continue.

Fields marked ✦ accept expressions.

Try this node — run it once against your own workspace, with your credentials, without building a flow first.

The incoming JSON keys must match the store’s column names exactly. Extra keys are ignored. Each row is written with the columns its own item carries:

  • A column the item leaves out gets the column’s default, which is empty unless the column has a Default. Only a column that may be empty can be left out; leaving out any other column fails the run, naming the column.
  • A column the item sends as null counts as not sent, the same as leaving it out. Turn on Empty a column sent as null (clearWithNull) to store it empty instead, over any default. A column that cannot be empty refuses a null either way, naming the column.

In a batch, every item keeps to its own columns: one item leaving out a column, or sending it as null, does not empty that column on the rows the other items write.

If the incoming shape does not match the columns, place a Mapper or Transformer upstream to reshape it.

The node writes what the node before it passes on, and nothing else. Wired straight after Start, it gets nothing: what started the run, such as the answers to a form, is in $start, and Start does not pass it on. Put a Transformer between Start and this node that builds the row from $start.

When no rows reach the node, it writes nothing and the run still completes, because an empty batch is often right, such as a query that matched no rows. The run view says so, as a note on this node: 0 rows written: nothing reached this node.

The node emits the rows it wrote, after column mapping, as a JSON array, one per item. Each lists every column any item in the batch carried, so a later step can read the same names on every row. A null there for a column the item did not set means “not sent”, not what the table holds: the stored row has the column’s default. Read the row back with Table Store Query when you need what was stored.

With On error set to Continue with an error envelope, a refusal of the data (a value a unique column already holds, a reference to a row that does not exist, a value a column cannot hold, a required column left out) completes the node with {"error": true, "message": "…"} instead of failing the run, so a later step can log it. Nothing is written when that happens. A missing table always fails the run.

The TableStore / Insert template in the template gallery inserts one customer into a smoke_customers store that defines id (unique), name, email, and created_at columns:

{
"id": "cust-smoke-001",
"name": "Sanne de Wit",
"email": "sanne@example.com",
"created_at": "2026-05-18T15:00:00Z"
}

Wire any node that emits this shape into the Insert node and select the store; the row is written directly.