From upstash
Defines, triggers, and manages serverless workflows using the Upstash Workflow TypeScript/JavaScript SDK with QStash. Covers endpoints, steps, context, client, invoke, reliability, flow control, webhooks, and local dev.
How this skill is triggered — by the user, by Claude, or both
Slash command
/upstash:upstash-workflow-jsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Upstash Workflow SDK lets you expose serverless workflow endpoints and run them reliably using QStash under the hood.
The Upstash Workflow SDK lets you expose serverless workflow endpoints and run them reliably using QStash under the hood.
Install:
npm install @upstash/workflow
Define a simple workflow endpoint:
import { serve } from "@upstash/workflow";
export const { POST } = serve(async (context) => {
await context.run("step-1", () => console.log("step 1"));
await context.run("step-2", () => console.log("step 2"));
});
Trigger it from your backend:
import { Client } from "@upstash/workflow";
const client = new Client({ token: process.env.QSTASH_TOKEN! });
await client.trigger({ url: "https://your-app.com/api/workflow" });
These files contain the full documentation. Use them for details, patterns, and advanced behavior.
context (steps, waits, webhooks, events, invoke, etc.).QSTASH_DEV=true) and tunneling.npx claudepluginhub upstash/skills --plugin upstashProvides expert guidance for Vercel Workflow DevKit when building durable workflows, long-running tasks, API routes, or agents needing pause/resume, retries, step execution, or crash-safe orchestration.
Creates durable, resumable workflows using Vercel's Workflow SDK. For workflows that survive restarts, pause for events, retry, or coordinate multi-step operations.
Implements durable multi-step workflows on Cloudflare Workers with retries, state persistence, sleeps, event waiting, and NonRetryableError handling. Use for long-running tasks.