Skip to Content

Data nodes (Table operations)

The Data category contains four nodes for CRUD operations on your project’s Data Vault tables:

NodeDisplay namePurpose
tableQueryNodeQuery TableRead rows with filters and sorting
tableInsertNodeInsert RowCreate new rows with conflict handling
tableUpdateNodeUpdate RowModify existing rows by filter
tableDeleteNodeDelete RowRemove rows by filter
Data category in the node palette showing Query Table, Insert Row, Update Row, Delete Row
Data category in the node palette showing Query Table, Insert Row, Update Row, Delete Row

Query Table

The most commonly used data node. Opens a full-screen SQL editor for writing queries against your project’s tables.

Configuration

Click the Query Table node to open its full-screen editor.

Query Table full-screen editor with schema browser, SQL editor, quick insert buttons, and output settings
Query Table full-screen editor with schema browser, SQL editor, quick insert buttons, and output settings

The editor has three main areas:

Schema Browser (left panel):

  • Toggle between Shared and Dedicated schema
  • Browse tables and their columns with data types
  • Click a column to insert it into the query

SQL Editor (center):

  • Full code editor with syntax highlighting and autocomplete
  • Supports {{variable.path}} syntax for dynamic values
  • Line numbers, copy button, Ask AI assistance

Quick Insert buttons (below editor):

ButtonInserts
SELECT *Full select template
SELECT colsSelect specific columns
WHEREWHERE clause template
JOINJOIN template
INSERTInsert statement
INSERT MultiMulti-row insert
UPDATEUpdate statement
DELETEDelete statement
COUNTCount query
GROUP BYGrouping template
SUM/AVGAggregation template
CREATE TABLEDDL create
ALTER TABLEDDL alter
CREATE INDEXIndex creation

Output settings (bottom):

SettingTypeDescription
Output VariableText field (default: query_result)Variable name for downstream access
Column infoCheckboxInclude column metadata in output
Total countCheckboxInclude total row count
SchemaToggleSchema mode selection
Ask AIButtonAI-assisted query generation
TestButtonExecute query against dev database
Advanced SettingsExpandableAdditional query options

Edge significance

Query Table has simple input → output edges (linear flow).

SettingDescription
TableSelect from your project’s Data Vault tables
FiltersAdd conditions (column, operator, value). Supports =, !=, >, <, >=, <=, LIKE, IN, IS NULL
SortOrder results by column (ASC/DESC)
LimitMaximum rows to return
ColumnsSelect specific columns (default: all)

Output

Returns an array of row objects. Access individual fields in downstream nodes:

{{queryTable.rows[0].name}} {{queryTable.rows}} // Full array for Loop nodes {{queryTable.count}} // Number of rows returned
💡

Use dynamic filter values from upstream nodes: set the filter value to {{start.userId}} to query rows matching the user’s input.

Insert Row

Creates one or more new rows in a table.

Configuration

Insert Row node configuration panel with environment, table, insert mode, field mappings, and conflict handling
Insert Row node configuration panel with environment, table, insert mode, field mappings, and conflict handling
SettingTypeDescription
EnvironmentCombobox (default: Dedicated)Database environment to target
Target TableDropdown + Refresh buttonSelect table from Data Vault
Insert ModeToggle buttons (3 options)How to specify data (see below)
Field MappingsDynamic field listMap columns to values (use Add Field or Add All)
On ConflictToggle buttons (3 options)Duplicate key handling
Result VariableText field (default: insert_result)Output variable name
Return inserted IDsCheckbox (default: checked)Include generated IDs in output
Return affected row countCheckbox (default: checked)Include row count in output

Insert Mode options:

ModeDescription
Single RecordInsert one row with explicit field values
Batch InsertInsert multiple rows from an array
Field MappingMap fields with variable references ({{variable}})

On Conflict options: Error (fail on duplicate) · Ignore (skip) · Upsert (update existing)

Output

Returns the inserted row(s) with generated IDs and timestamps.

Update Row

Modifies existing rows matching a filter.

Configuration

Update Row node configuration with SET clauses, WHERE conditions, and safety controls
Update Row node configuration with SET clauses, WHERE conditions, and safety controls
SettingTypeDescription
EnvironmentComboboxDatabase environment to target
Target TableDropdown + Refresh buttonSelect table from Data Vault
SET ClausesDynamic field listColumns and values to update (Add Field)
WHERE ConditionsDynamic condition listFilter which rows to update (Add Condition)
Require WHERE clauseCheckbox (default: checked)Safety: prevent mass updates
Row LimitNumber input (optional)Max rows to update
Result VariableText field (default: update_result)Output variable name
Return updated recordsCheckboxInclude full updated rows
Return update countCheckbox (default: checked)Include affected row count
⚠️

WHERE clause is required by default to prevent accidental mass updates. You can disable this safety check but it’s strongly discouraged.

Output

Returns the count of updated rows (and optionally the updated records).

Delete Row

Removes rows matching a filter.

Configuration

Delete Row node configuration with destructive operation warning, WHERE conditions, and safety controls
Delete Row node configuration with destructive operation warning, WHERE conditions, and safety controls
⚠️

⚠️ Destructive Operation — DELETE operations permanently remove data. Always use WHERE conditions and test carefully.

SettingTypeDescription
EnvironmentComboboxDatabase environment to target
Target TableDropdown + Refresh buttonSelect table from Data Vault
WHERE ConditionsDynamic condition listFilter rows to delete (Add Condition)
Require WHERE clauseCheckbox (default: checked)Safety: prevent mass deletion
Soft deleteCheckboxSet deleted_at column instead of hard delete
Row LimitNumber input (optional)Max rows to delete
Result VariableText field (default: delete_result)Output variable name
Return deleted recordsCheckboxInclude deleted rows in output
Return delete countCheckbox (default: checked)Include affected row count

Output

Returns the count of deleted rows (and optionally the deleted records).

Common patterns

  • Lookup then respond — Query Table → Quick Prompt (use queried data in the prompt).
  • Create record — Quick Prompt (extract data) → Insert Row.
  • Update status — Condition (check value) → Update Row (set new status).
  • Batch process — Query Table → Loop → (process each row) → Update Row.

Common issues

  • No table available — Tables must be created first in Data Vault → Tables in the project sidebar.
  • Empty results — Check your filter conditions and ensure the table has data.
  • Permission denied — The agent runs with project-level access. Ensure the table is in the same project.

Next

Tools Call node →