Skip to main content Skip to footer

Redis Set Documentation

Version: 3.2.0 

Retrieved: 2025-10-09 15:16:13


Redis Set Module

Will set a key/value pair in a Redis cache.

Redis Connection Strings

A few samples on how to write your Redis connection string.

  • The default Redis port is 6379.
  • Additional options are simply appended (comma-delimited).
  • Ports are represented with a colon (:) as is usual.
  • Configuration options include an = after the name.

Redis Options

ConfigurationOptions Default Meaning
connectRetry 3 The number of times to repeat connect attempts during initial Connect
connectTimeout 5000 Timeout (ms) for connect operations
ssl false Specifies that SSL encryption should be used
name null Identification for the connection within Redis
password null Password for the Redis server

You can read about all options here

Localhost

localhost

Multiple Redis

redis0:6380,redis1:6380

Microsoft Azure Redis example with password

contoso5.redis.cache.windows.net,ssl=true,password=superSecret


Settings

Name Requirements Purpose Default
Source Property string with length 1-64 Property containing the value to use as key in Redis  
Value Property string with length 1-64 Property containing the object to use as value in Redis  
Expires number 0 - Int.Max If larger than 0 the value stored in Redis will be removed on expiration 0
Expiration Unit string (Seconds, Minutes, Hours, Days) The unit used in combination with Expiration Seconds

Credential

This module contains an option to select credentials to use in the module. All credentials supported by the module are presented in a drop-down.

Input

The input has no specific requirements. However, the configuration should match so that it can find the key to use in the Set operation

Output

Same as input

Example

This example will store a key/value (test/123) in Redis for 1 minute

Settings

  • Source Property = key
  • Value Property = value
  • Expires = 60
  • Expiration Unit = Seconds

Input

{'key':'test', 'value':'123'}

Output

{'key':'test', 'value':'123'}