workflow

Create durable, resumable workflows with the Workflow SDK.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/browleytwilio/segmentdemobuilder --skill workflow-browleytwilio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow
Source: https://github.com/browleytwilio/segmentdemobuilder/tree/main/.agents/skills/workflow
Command: npx skills add https://github.com/browleytwilio/segmentdemobuilder --skill workflow-browleytwilio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrate long-running processes that must endure restarts, pause for external events, and coordinate multiple steps with reliable retries across distributed systems.

Core Features & Use Cases

  • Durable, resumable workflows powered by the Workflow SDK
  • Hooks for external event-driven pauses and resumes
  • Start, resume, and observe workflows with built-in observability
  • End-to-end orchestration across services with reliable fault tolerance

Quick Start

Create a simple durable workflow using the Workflow SDK and start it with start(myWorkflow).

Frequently Asked Questions about workflow

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

FAQPage Schema
What are durable workflows and when do I need them for orchestration?

Durable workflows are long-running processes that endure restarts, pause for external events, and coordinate multi-step execution across distributed services. You need durable workflows when orchestrating processes that require reliable retries and external event-driven pauses.

How do I start and resume a workflow after an external event?

You start a workflow using start(myWorkflow) and resume it by using hooks designed for external event-driven pauses. The Workflow SDK maintains serialization and sandboxing rules automatically to ensure resumable execution across services.

How do hooks handle external events in a resumable workflow?

Hooks enable external event-driven pauses and resumes within a durable workflow. By configuring hooks, the workflow suspends execution until an external event triggers, allowing multi-step coordination across distributed services without losing state.

Does the Workflow SDK support built-in observability for multi-step orchestration?

Yes, the Workflow SDK supports built-in observability for multi-step orchestration. You can start, resume, and observe workflows directly, ensuring end-to-end orchestration across services maintains reliable fault tolerance and state visibility.

What is the best way to handle restarts and retries in distributed system orchestration?

The best way to handle restarts and retries in distributed orchestration is using a durable workflow SDK. It maintains serialization and sandboxing rules, ensuring long-running processes endure restarts and execute reliable retries across distributed services.

When should I not use durable workflows for process orchestration?

You should avoid durable workflows for short-lived, stateless computations that do not require external event coordination or restart tolerance. Overhead from serialization, sandboxing rules, and observability makes them unsuitable for simple, synchronous tasks.