Changelog
You can now call create() without any arguments when using the Workers API for Workflows. Workflows will automatically generate the ID of the Workflow on your behalf.
This addresses a bug that caused calls to create() to fail when provided with no arguments.
Local development with wrangler dev now correctly supports multiple Workflow definitions per script.
There is no change to production Workflows, where multiple Workflow definitions per Worker script was already supported.
Workflows, a new product for building reliable, multi-step workflows using Cloudflare Workers, is now in public beta. The public beta is available to any user with a free or paid Workers plan.
A Workflow allows you to define multiple, independent steps that encapsulate errors, automatically retry, persist state, and can run for seconds, minutes, hours or even days. A Workflow can be useful for post-processing data from R2 buckets before querying it, automating a Workers AI RAG pipeline, or managing user signup flows and lifecycle emails.
You can learn more about Workflows in our announcement blog, or start building in our get started guide.