Cloudflare Workflows

•
91
•

Builds and deploys durable, long-running serverless processes with automatic state persistence and retry logic on the Cloudflare platform.

This skill provides specialized guidance for architecting durable, multi-step workflows using Cloudflare Workflows. It helps developers implement complex orchestration patterns including relative and absolute delays, event-driven triggers with waitForEvent, and sophisticated retry configurations. By leveraging this skill, developers can ensure their workflows handle state persistence correctly, manage terminal failures via NonRetryableError, and maintain high observability through integrated CPU metrics and instance tracking. It is ideal for building resilient background tasks, payment pipelines, and multi-day automation sequences that require high concurrency and reliable execution.

主な機能

01Durable execution with automatic state persistence and JSON serialization
02Integrated testing support using Vitest and the cloudflare:test module
03Advanced orchestration using step.do, step.sleep, and step.waitForEvent
04Sophisticated retry logic with constant, linear, and exponential backoff
0591 GitHub stars
06High-scale instance management supporting up to 10,000 concurrent runs

ユースケース

01Building multi-day payment processing and subscription lifecycle pipelines
02Orchestrating complex, event-driven API integrations with external webhooks
03Implementing reliable background jobs with automated retries and error handling