Cloudflare has released Dynamic Workflows, a ~300-line TypeScript library that enables multi-tenant platforms to route durable execution to tenant-provided code at runtime. Built on top of Dynamic Workers, it allows a single Worker Loader to dispatch Cloudflare Workflows to different tenants' code dynamically — without requiring the workflow class to be known at deploy time. Tenants write standard WorkflowEntrypoint code and get full durability features (retries, sleep, waitForEvent, pause/resume) while the platform handles routing via metadata envelopes. The library is MIT-licensed, available on npm, and runs on the Workers Paid plan. A key use case highlighted is CI/CD pipelines where each repo ships its own pipeline definition that runs as a first-class durable workflow, combining Dynamic Workers, Artifacts, and Sandboxes for near-zero provisioning overhead.
Table of contents
The gap between durable and dynamic executionDynamic WorkflowsHow it worksDynamic Workers are the primitiveWhat this unlocksTry itSort: