Upstash

Serverless Redis with Upstash

Overview

Connect to Upstash Redis to perform key-value, hash, list, and utility operations via the REST API.

How to automate Upstash with Sim

  1. Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. Add a Upstash block

    Open a workflow, drag a Upstash block onto the canvas, and authenticate your account.

  3. Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Upstash automation is live.

Supported tools

16 Upstash tools available in Sim

Get

Get the value of a key from Upstash Redis.

Set

Set the value of a key in Upstash Redis with an optional expiration time in seconds.

Delete

Delete a key from Upstash Redis.

List Keys

List keys matching a pattern in Upstash Redis. Defaults to listing all keys (*).

HSET

Set a field in a hash stored at a key in Upstash Redis.

HGET

Get the value of a field in a hash stored at a key in Upstash Redis.

HGETALL

Get all fields and values of a hash stored at a key in Upstash Redis.

INCR

Atomically increment the integer value of a key by one in Upstash Redis. If the key does not exist, it is set to 0 before incrementing.

INCRBY

Increment the integer value of a key by a given amount. Use a negative value to decrement. If the key does not exist, it is set to 0 before the operation.

EXISTS

Check if a key exists in Upstash Redis. Returns true if the key exists, false otherwise.

SETNX

Set the value of a key only if it does not already exist. Returns true if the key was set, false if it already existed.

LPUSH

Prepend a value to the beginning of a list in Upstash Redis. Creates the list if it does not exist.

LRANGE

Get a range of elements from a list in Upstash Redis. Use 0 and -1 for start and stop to get all elements.

EXPIRE

Set a timeout on a key in Upstash Redis. After the timeout, the key is deleted.

TTL

Get the remaining time to live of a key in Upstash Redis. Returns -1 if the key has no expiration, -2 if the key does not exist.

Command

Execute an arbitrary Redis command against Upstash Redis. Pass the full command as a JSON array (e.g., [

Frequently asked questions

Sim's Upstash integration lets you build AI-powered workflows that automate tasks in Upstash without writing code. Serverless Redis with Upstash You can connect Upstash to hundreds of other services in the same workflow — from CRMs and spreadsheets to messaging tools and databases.

Sim

Start automating Upstash today

Build your first AI workflow with Upstash in minutes. Connect to every tool your team uses. Free to start — no credit card required.

Build for free