All templates
/
Scheduling
CURATED TEMPLATE / Cloudflare

A customer task takes several steps and must survive retries or interruptions.

Workflows starter

View original source

When this becomes useful

Some product promises happen after the current request ends. The important design question is how the product records, changes and observes that future work.

What the template offers

Workflows starter is a Workers starter from Cloudflare Templates. It offers a concrete implementation to inspect and adapt. A starting point for durable multi-step work. Define retry behavior and the product state shown while a workflow runs.

Technical shape

Inspect workflow steps, state and retry behavior. Map each technical state to a customer-visible status.

Questions worth answering

  • Can a customer cancel or reschedule the work?
  • What happens if a step runs twice?
  • How is a failed run surfaced and retried?

Inspect the source

Read the maintainer's README, license, setup instructions and current repository state before adapting the code.

Open Cloudflare Templates

Capabilities to plan next

A deployable pattern is one piece of the product. These guides cover behavior and decisions around it.