Each guide covers: install deps, configure framework, create first workflow, create route handler, run + verify.
3) Verify setup
Start the dev server per the guide.
Trigger the example endpoint with the provided
curl
.
Confirm logs show the workflow and steps executing.
Optional:
npx workflow web
or
npx workflow inspect runs
.
4) No framework yet?
If no framework exists, ask what the user wants:
Web app
Next.js / Nuxt / SvelteKit / Astro
API server
Express / Fastify / Hono
Minimal server
Nitro or Vite
Then follow the "Create Your Project" section of the chosen guide.
Concept questions (pre-install)
If the user asks conceptual questions before installing, fetch:
https://useworkflow.dev/docs/foundations/workflows-and-steps
https://useworkflow.dev/docs/foundations/common-patterns
Handoff
When setup is complete, tell the user:
Use
/workflow
for ongoing development
- it reads the versioned docs bundled in
node_modules/workflow/docs/
.