Vercel Workflows
Inside Workflow DevKit: How framework integrations work

Inside Workflow DevKit: How framework integrations work

12/9/2025

What this post added

This post details the framework integration pattern for the Workflow DevKit (WDK), explaining the two-phase build-time and runtime process for generating and exposing workflow handlers. It highlights the use of SWC compiler plugins for client, step, and workflow transforms, and discusses how WDK integrates with file-based routing frameworks (Next.js, SvelteKit, Astro) and HTTP server frameworks (Express, Hono) via Nitro. It also covers Hot Module Replacement (HMR) for developer experience and the conversion of framework-specific request objects to standard Web Request API.

Read the original post ↗