workflows
Installation
SKILL.md
Cloudflare Workflows
Build durable, long-running workflows that survive restarts and handle retries automatically using Cloudflare Workflows.
When to Use
Workflows are ideal for:
- Multi-step async tasks - Break complex processes into retriable steps
- Human-in-the-loop workflows - Pause execution waiting for external input
- Reliable background jobs - Automatic retries with exponential backoff
- Long-running processes - Minutes to hours of execution with state persistence
- Coordinated API calls - Chain multiple API calls with retry logic
Don't use Workflows for:
- Simple request/response handlers (use Workers)
- Real-time operations requiring <100ms response (use Workers)
- Tasks that complete in <1 second (use Workers directly)