Skip to content

Worker KV Get

Fetch a single Worker KV value and write it into an event field.

Storage json raw

actions:
- worker-kv-get:
namespace: ~
JSON
{
"actions": [
{
"worker-kv-get": {
"namespace": null
}
}
]
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Connection
Field Type Required Description
namespace string Fully-qualified Worker KV namespace (format: tenant:namespace).
General
Field Type Required Description
description string Describe this step.
condition lua-expression (string) Only run this action if the specified condition is met.
Examples: 2 * count()
Key
Field Type Required Description
key string Static key to fetch within the namespace.
key-field field (string) Event field selector (json pointer / dotted path / jsonpath) that yields a string key.
Examples: data_field
Output
Field Type Required Description
output-field field (string) Event field selector to write the fetched value (defaults to /kv_value).
Examples: data_field
warn-on-missing-key boolean (bool) Emit a warning when key_field is missing/non-string/blank.
Default: false