workflow

Orchestrate durable multi-step workflows with Vercel Workflow DevKit.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/quanngynx/GDGO-2026.Servexa-Warranty-AI --skill workflow-quanngynx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow
Source: https://github.com/quanngynx/GDGO-2026.Servexa-Warranty-AI/tree/main/servexa-warranty-ai/.agents/skills/workflow
Command: npx skills add https://github.com/quanngynx/GDGO-2026.Servexa-Warranty-AI --skill workflow-quanngynx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the challenge of orchestrating multi-step operations that must keep running reliably across restarts, pauses for external events, retries on failure, and long-running coordination.

Core Features & Use Cases

  • Durable execution with retries: Use Vercel’s Workflow DevKit so multi-step work survives interruptions and can resume deterministically.
  • Step vs workflow separation: Keep business logic in "use step" for full Node.js access while using "use workflow" for orchestration.
  • AI agents inside workflows: Use DurableAgent to stream AI results while maintaining state across pauses.
  • External event coordination (hooks/webhooks): Pause workflows with createHook() and resume them via resumeHook() when events arrive, or integrate with webhooks.
  • Error handling and observability: Use FatalError and RetryableError to control retry behavior and use Workflow CLI tooling to inspect runs.

Quick Start

Ask your AI assistant to “Create a durable workflow that orchestrates step-based logic, waits for an approval event using hooks, then resumes to finalize results with retryable error handling.”

Frequently Asked Questions about workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build AI agent workflows that survive server restarts?

To build AI agent workflows that survive restarts, use the Vercel Workflow DevKit with durable constructs like "use workflow" and "use step" to ensure multi-step operations resume deterministically after interruptions.

How do I pause a workflow to wait for an external webhook event?

You can pause a workflow to wait for external webhook events by using the createHook() function to suspend execution, and then calling resumeHook() to resume the durable workflow once the external event arrives.

What is the difference between use workflow and use step in Vercel?

The difference between "use workflow" and "use step" is that "use workflow" handles orchestration, while "use step" executes business logic with full Node.js access within the durable workflow.

How do I handle retryable and fatal errors in durable workflows?

To handle errors in durable workflows, use RetryableError for transient failures that should trigger automatic retries, and use FatalError for permanent failures to stop execution and prevent further retry attempts.

Can I stream AI responses inside a durable workflow?

Yes, you can stream AI responses inside a durable workflow by using the DurableAgent component, which streams AI results while maintaining state across pauses and external event coordination.

What is the best way to coordinate parent and child workflows in Node.js?

The best way to coordinate parent and child workflows in Node.js is using Vercel Workflow DevKit's durable constructs, enabling resumable automation and queue-like coordination for long-running multi-step operations.