workflow

Create durable, resumable workflows with Vercel's Workflow DevKit.

1|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/lukemcdonald/gettreadtalks --skill workflow-lukemcdonald
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow
Source: https://github.com/lukemcdonald/gettreadtalks/tree/main/.agents/skills/workflow
Command: npx skills add https://github.com/lukemcdonald/gettreadtalks --skill workflow-lukemcdonald

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation of robust, long-running workflows that can pause, resume, and retry operations, ensuring task completion even through system restarts or external event delays.

Core Features & Use Cases

  • Durable Execution: Workflows automatically save their state, allowing them to resume from where they left off.
  • Event-Driven Pausing: Use hooks and webhooks to pause workflows until specific external events occur.
  • Automatic Retries: Transient errors are automatically retried, increasing reliability.
  • AI Agent Integration: Build stateful AI agents within workflows using DurableAgent.
  • Use Case: Orchestrate a multi-step data processing pipeline that involves fetching data, transforming it with an AI model, and then waiting for human approval via a webhook.

Quick Start

Use the workflow skill to define a durable function named 'myDurableFunction' that sleeps for 1 hour.

Frequently Asked Questions about workflow

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

FAQPage Schema
How do I build durable workflows that survive system restarts?

Durable workflows automatically save their execution state, allowing them to resume from the exact step where they stopped after a system restart or interruption. This ensures long-running tasks complete reliably without losing progress.

Can I pause event-driven workflows to wait for external webhooks?

Yes, event-driven workflows can use hooks and webhooks to pause execution indefinitely until specific external events occur. Once the expected webhook is received, the workflow automatically resumes from the paused state.

How do I orchestrate stateful AI agents within a multi-step workflow?

You can orchestrate stateful AI agents by using the DurableAgent component within your workflow. This integration allows agents to maintain context and state across multiple processing steps, ensuring resilient and stateful AI operations.

What is the best way to handle transient errors in long-running operations?

The best way to handle transient errors in long-running operations is through automatic retries. When a transient failure occurs, the workflow automatically retries the failed step, increasing overall task reliability without manual intervention.

Do I need external dependencies to manage resumable functions?

No external dependencies are required to manage resumable functions. The workflow skill provides built-in orchestration capabilities to handle state persistence, event-driven pausing, and automatic retries natively.

When should I use durable functions for task orchestration?

You should use durable functions for task orchestration when dealing with complex, multi-step operations that require long-term execution, need to wait for human approval, or must maintain resilience against external event delays.