Vettero

Upsert

Upsert a single vector record in a knowledge base.

Type

kb.upsert
Block Tool Knowledge Base
Folderkb
Channels

Any

Pipe

Value

Scope

Any

Upsert (canvas label KB Upsert) adds or replaces one vector in a knowledge base. Same Vector ID overwrites the previous record.

The store embeds Text for you. On a Strict store, Metadata must match the defined meta fields. On a loose store, metadata is optional key/value pairs. Read only stores reject upsert.

To ingest a file or URL instead of one record, use Add Datasource.

Configure

SettingDescription
Knowledge baseStore to write (required)
Vector IDId to create or replace (required)
TextContent to embed (required)
MetadataRequired on Strict stores; optional key/value pairs otherwise

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after the upsert

Pipe schema

The next block reads this on the data pipe (pipe.value). The value is an object:

KeyTypeDescription
successbooleanWhether the upsert ran

Use case

  • Index a policy snippet or FAQ answer with a stable id.
  • Keep a tagged record in sync after a table update (same id, new text and metadata).
Copyright © 2026