Getting Started - Upstash Documentation

2 min read Original article ↗

Overview

Upstash Workflow lets you write durable, reliable and performant serverless functions. Get delivery guarantees, automatic retries on failure, scheduling and more without managing any infrastructure.

Quickstarts

Upstash Workflow supports Next.js, Cloudflare Workers and many other frameworks in TypeScript and Python.

Key Features

Example Use Cases

Here are some example real world use-cases for Upstash Workflow:

Agents

Use LLM Agents equipped with custom tools to achieve tasks

AI Data Processing

Download a large dataset without timeouts, process the data in chunks and generate a report.

Waiting For Events

Control workflow execution with events, log event data and send emails

Authorization Webhook

Start a workflow from a webhook. Handle user creation, trial management, email reminders and notifications.

Customer Onboarding

Register a new user, send welcome emails, and periodically check and respond to the user’s activity state with emails.

E-Commerce Order Fulfillment

Receive an order request, verify the stock, process the payment, and handle order dispatch and customer notifications.

Image Processing

Manage uploading images to the data store. Apply filters and resize the images to different resolutions in parallel.

Retry Payments

Retry payments with a day of delay, send emails, and suspend account if payment fails after the retries.

How it works

Upstash Workflow builds on the principle of steps. Instead of defining a single, complex piece of business logic, workflows contain multiple individual steps. Each of the steps are executed by a separate request to your application, by preserving the output of previous steps. In case of an error, a failed step is retried individually without needing to re-run any previous steps. Instead of the entire business logic, each step can take up your serverless function execution duration, and many more benefits.

Support

Need help or have questions? We’re here to support you:

  • Join our Discord community to ask questions and share feedback
  • Open a ticket through the Intercom chatbox in the dashboard for any issue