Skip to content
Docs

Key-Value Get

Key-Value Get reads the current value of a key-value store entry and emits it as the node output. Use it to read state written by a previous run, such as a cursor, a timestamp, or a piece of workspace configuration. You find it on the node picker’s Storage shelf.

The Key-Value Get node's settings form, with the fields described below
The Key-Value Get node's settings form, with the fields described below
FieldTypeDefaultDescription
Key-value (keyValueStoreId)string ✦ (required) — The key-value store entry to read; its stored value becomes the node output.

Fields marked ✦ accept expressions.

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

The stored value as JSON, whatever type the entry holds: a string, a number, a boolean, an object, an array, or null.

An Agent can call this node as a tool; as a read-only tool it runs without pausing for approval.

Every expression field can also read the store directly through the $kv root, without a Get node on the canvas:

{{ $kv->lastSyncCursor ?? '0' }}

Use the node when the next node should receive the value as its $prev input; use $kv when the value is one piece of a larger expression. See Use expressions for the $kv root.

An incremental sync reads its cursor at the start of a scheduled run: Schedule, then Key-Value Get, then REST Request. The Get node’s output is the next node’s $prev, so the request URI references it directly:

https://api.example.com/records?sinceId={{ $prev }}&limit=100

At the end of the flow a Key-Value Set node writes the new cursor back for the next run. The KeyValueStore / Get template in the template gallery shows the node wired against a seeded entry.