Skip to content
ActionUpstashUpdated May 2026

How do I store a value in Upstash Redis?

Short answer: Drop the "UpstashSet Key" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Key
key
stringRequiredKey
Value
value
stringRequiredValue
Expire (seconds)
ex
numberOptionalAuto-expire after N seconds
Sample request
{
"key": "{{trigger.key}}",
"value": "{{trigger.value}}",
"ex": "{{trigger.ex}}"
}
Returns
{
"result": "OK"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Set Key.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Set Key.

What does the Set Key action do in Upstash?
Sets a key/value pair in Upstash Redis with optional TTL. Pair with Get Key to share state between workflow runs or to build a poor-man's feature flag.
What inputs does Set Key require?
Required: Key, Value. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Upstash returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Set Key support batch operations?
Yes. Run Set Key inside a Loop node to process arrays. Tiny Command handles Upstash's rate limits automatically so you don't have to throttle manually.
More actions

Other Upstash actions.

Send set key from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.