Datatable Variables icon

Datatable Variables

Store and share variables locally in datatables

Actions6

Variable → Set

AI-generated

Summary

Stores or replaces a keyed variable in a local table, using the selected value type. For each input item, it can create the table when requested and returns a success record with the table, key, type, update time, and stored value.

Inputs

  • Table Name (required) — Select the table to write to, or choose [+ Create New Table...] and provide a New Table Name.
  • New Table Name (required) — Name of the table to create when [+ Create New Table...] is selected.
  • Key (required) — Key to store or replace in the table.
  • Value Type — Choose Text, Number, Boolean, JSON, Date, or Binary. Defaults to Text.
  • Value — Enter the value using the field shown for the selected type. JSON is parsed from a string and invalid JSON causes an error.
  • Input Binary Property Name — For Binary values, names the binary property on each input item to store; defaults to data. The selected property must exist.

Output shape

One output item per input item, with a JSON success record containing tableName, key, type, updatedAt, and value.

Binary content is stored from the input item's binary data; the output JSON value is '[Binary Data]'. The table is stored locally by the node. Errors stop execution unless Continue On Fail is enabled, in which case an item with an error message is returned.

Links

Discussion