KeyValue icon

KeyValue

Store and retrieve key-value pairs on the filesystem

Actions20

Counter → Get

AI-generated

Summary

Reads the current value of a named filesystem counter without changing it. Use it to retrieve a counter that already exists in the node’s key-value storage directory.

Inputs

  • Counter Name (required) — Name of the counter file to read under the storage directory’s counters/ folder.

Output shape

One n8n item per input item, with JSON fields counter and value.

The value is parsed as a number. If the named counter does not exist, the operation errors for that item.

Links

Discussion