Set
redis.set
ActionDatabases & warehousesconnection required
Runs SET (with optional EX) on the Redis connection.
Write a key's value to Redis, optionally with an expiry.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Redis
- Secret shape
- the password, or {"password": "…"} (may be empty)
- Config it needs
- host, port, db, username, ssl
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
key Key to write. Supports {{ }}. | string | Yes | — | — | — |
value Value to store. | string | Yes | — | — | — |
ttl_seconds Expiry in seconds (blank = no expiry). | number | No | — | ≥ 0 | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
key | string | — |
{
"key": "",
"ok": false
}See Set run in a workflow.
In a technical demo we add the Redis connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.