























The Vercel World is a fully-managed workflow backend for applications deployed on Vercel. It provides scalable storage, distributed queuing, and automatic authentication with zero configuration.
When you deploy to Vercel, workflows automatically use the Vercel World - no setup required.
Deploy your application to Vercel:
vercel deployThat's it. Vercel automatically:
Enable Fluid compute before deploying. Workflow is designed to take advantage of
for efficient suspension and resumption. Without Fluid compute enabled, each workflow resume incurs a separate function cold start, which can result in significantly higher costs.
For complete details on pricing, usage limits, and included allotments on Vercel, see the official Vercel documentation:
For self-hosted deployments, use the Postgres World. For local development, use the Local World.
Single-region deployment - The backend infrastructure is currently deployed only in iad1. Applications in other regions will route workflow requests to iad1, which may result in higher latency. For best performance, deploy your Vercel apps using Workflow to iad1. Global deployment is planned to colocate the backend closer to your applications.
Data residency - The Vercel World is currently deployed in the iad1 region. This means independently of the deployment location of your application, the data for your workflows will be stored in the iad1 region.
Workflow observability is built into the Vercel dashboard on your project page. It respects your existing authentication and project permission settings.
The workflow CLI commands open a browser window deeplinked to the Vercel dashboard:
# List workflow runs (opens Vercel dashboard)
npx workflow inspect runs --backend vercel
# Launch the web UI (opens Vercel dashboard)
npx workflow web --backend vercelThe CLI automatically retrieves authentication from the Vercel CLI (vercel login) and infers project/team IDs from your local Vercel project linking.
To use the local observability UI instead of the Vercel dashboard:
npx workflow web --backend vercel --localUiTo override the automatic configuration:
npx workflow inspect runs \
--backend vercel \
--env production \
--project my-project \
--team my-team \
--authToken <your-token>Learn more in the Observability documentation.
Passing100% passing
Spec compliance is tested against Next.js (Turbopack) built in production mode and started with `next start`. View CI run →
90
Passed
0
Failed
2
Skipped
92
Total
945
Passed
0
Failed
67
Skipped
1012
Total
Last updated: 4/17/2026, 6:41:14 PM · Commit: 5889d84
The Vercel World requires no configuration when deployed to Vercel. For advanced use cases, you can override settings programmatically via createVercelWorld().
WORKFLOW_VERCEL_ENVThe Vercel environment to use. Options: production, preview, development. Automatically detected.
WORKFLOW_VERCEL_AUTH_TOKENAuthentication token for API requests. Automatically detected.
WORKFLOW_VERCEL_PROJECTVercel project ID for API requests. Automatically detected.
WORKFLOW_VERCEL_TEAMVercel team ID for API requests. Automatically detected.
WORKFLOW_VERCEL_BACKEND_URLCustom base URL for the Vercel workflow API. Automatically detected.
import { createVercelWorld } from "@workflow/world-vercel";
const world = createVercelWorld({
token: process.env.WORKFLOW_VERCEL_AUTH_TOKEN,
baseUrl: "https://api.vercel.com/v1/workflow",
projectConfig: {
projectId: "my-project",
teamId: "my-team",
environment: "production",
},
});On Vercel, workflow runs are pegged to the deployment that started them. This means:
This ensures long-running workflows complete reliably without being affected by subsequent deployments.
Workflow handler functions on Vercel are not accessible through public endpoints. During the build step, the Workflow SDK registers each handler as only reachable by Vercel Queue, by using the experimentalTriggers configuration in .vc-config.json:
{
"experimentalTriggers": [
{
"type": "queue/v2beta",
"topic": "__wkf_step_*",
"consumer": "default",
}
]
}Practically, this means:
This configuration is managed entirely by the Workflow SDK build step. You should not need to write this yourself. If you are writing a custom integration, see Framework Integrations — Security for more details.
The Vercel World uses Vercel's infrastructure for workflow execution:
For more details, see the Vercel Workflow documentation.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。