Redis

The Redis node performs Redis operations: set, get, check key existence, and delete. Use it for caching, rate limiting, and key-value storage.

The Redis node performs Redis operations: set, get, check key existence, and delete. Use it for caching, rate limiting, and key-value storage.

Overview

PropertyValue
Inputs1
Outputs1
Output$nodeLabel.value, $nodeLabel.success, $nodeLabel.exists, $nodeLabel.deleted

Parameters

ParameterTypeDescription
credentialIdUUIDRedis credential from Credentials
redisOperation"set" | "get" | "hasKey" | "deleteKey"Operation type
redisKeyexpressionRedis key (supports expressions)
redisValueexpressionValue for set operation
redisTtlnumberTTL in seconds (set only, optional)

Operations

OperationRequiredOutput
setkey, valuesuccess, key, ttl
getkeyvalue, exists, key
hasKeykeyexists, key
deleteKeykeydeleted, key

Example – Cache

{
  "type": "redis",
  "data": {
    "label": "cacheResponse",
    "credentialId": "redis-credential-uuid",
    "redisOperation": "set",
    "redisKey": "cache:$userInput.body.userId",
    "redisValue": "$apiResponse.body",
    "redisTtl": 3600
  }
}

Example – Get

{
  "type": "redis",
  "data": {
    "label": "getCache",
    "credentialId": "redis-credential-uuid",
    "redisOperation": "get",
    "redisKey": "cache:$userInput.body.userId"
  }
}