New274+ blocks and 249+ tools are now fully documented
Search & Research
Tool

Redis

Cache and manipulate Redis data structures — strings, hashes, and lists

Connect to a Redis server to read and write strings, hashes, and lists, manage key expiration, run counters, and execute arbitrary commands. Commands run through a secure internal route that opens a single ioredis connection per request.

Overview

PropertyValue
Typeredis
CategoryTool — Database / Cache
AuthPassword / ACL username (optional), TLS

Operations

OperationDescription
GetGet the value of a string key
SetSet the string value of a key
Set If Not Exists (SETNX)Set a key only if it does not already exist
DeleteDelete a key
ExistsCheck whether a key exists
ExpireSet a key to expire after N seconds
TTLGet the remaining time-to-live of a key
PersistRemove a key's expiration
Increment (INCR)Increment an integer key by one
Increment By (INCRBY)Increment an integer key by an amount
KeysFind keys matching a glob pattern
Hash Get (HGET)Get a field's value in a hash
Hash Set (HSET)Set a field's value in a hash
Hash Delete (HDEL)Delete a field from a hash
Hash Get All (HGETALL)Get all fields and values of a hash
List Length (LLEN)Get the length of a list
List Push Left (LPUSH)Prepend a value to a list
List Push Right (RPUSH)Append a value to a list
List Pop Left (LPOP)Remove and return the first list element
List Pop Right (RPOP)Remove and return the last list element
List Range (LRANGE)Get a range of elements from a list
Raw CommandRun an arbitrary Redis command with arguments

Configuration

SettingTypeDescription
HostShort inputRedis host or IP address
PortShort inputRedis port (default: 6379)
UsernameShort inputRedis ACL username (Redis 6+, optional)
PasswordPasswordRedis password (optional)
Database IndexShort inputRedis database index (default: 0)
Enable TLSSwitchUse a TLS/SSL encrypted connection
OperationDropdownWhich Redis operation to run
KeyShort inputTarget key (most operations)
PatternShort inputGlob pattern for KEYS
FieldShort inputHash field name (HGET/HSET/HDEL)
ValueLong inputValue to store (SET/SETNX/HSET/LPUSH/RPUSH)
SecondsShort inputTTL in seconds (EXPIRE)
IncrementShort inputAmount for INCRBY
Start / StopShort inputIndex bounds for LRANGE
CommandShort inputCommand name for Raw Command
ArgumentsCode (JSON)Argument array for Raw Command

Outputs

FieldTypeDescription
resultjsonThe reply returned by the Redis command
errorstringError message if the command failed

YAML Example

- type: redis
  name: Cache lookup
  inputs:
    host: '{{ENV_REDIS_HOST}}'
    port: 6379
    password: '{{ENV_REDIS_PASSWORD}}'
    db: 0
    tls: true
    operation: get
    key: 'session:{{start.userId}}'

Tips

  • Raw Command covers anything not exposed as a dedicated operation (sets, sorted sets, GETRANGE, etc.) — supply the command name plus a JSON array of arguments.
  • TLS is required by most managed Redis providers (Upstash, AWS ElastiCache in-transit encryption, Redis Cloud).
  • Store host, password, and other secrets as environment variables and reference them with {{ENV_VAR}}.