# Cloudflare Workflows: The Newest Developer Platform Primitive at Cloudflare

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[Cloudflare Developers](https://www.youtube.com/@CloudflareDevelopers) · Published 2024-10-24 · 7:35 · B tier · Cloudflare

[Watch on YouTube](https://www.youtube.com/watch?v=slS4RBV0SBk) · [All RatTube videos](/tube)

## Summary

The video introduces [Cloudflare Workflows](/lore/queues-pipelines-workflows-and-k2-do-different-jobs) through a pun-publishing application. The request stores an entry, then starts a workflow with the new identifier instead of doing every processing step while the person waits.

Workflow steps perform moderation and AI processing before updating search data and publication status. The demonstration explains [retry](/lore/retry-needs-idempotency) behavior and configurable backoff, then introduces sleep for [pausing](/lore/durable-timers-need-recovery) work until a later time.

## Section notes

- [0:10](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=10s): The speaker describes the difficulty of moving multi-step work out of a request.
- [1:20](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=80s): The pun application uses semantic search backed by Vectorize.
- [2:48](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=168s): The request stores an entry and starts its publish workflow.
- [4:12](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=252s): step.do supplies retries and configurable backoff around a step.
- [5:28](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=328s): AI-generated categories feed a later Vectorize update.
- [6:43](https://www.youtube.com/watch?v=slS4RBV0SBk\&t=403s): The workflow updates publication status and the speaker introduces sleep.

## Key concepts

- [Cloudflare Workflows](/lore/queues-pipelines-workflows-and-k2-do-different-jobs)
- [retry](/lore/retry-needs-idempotency)
- [pausing](/lore/durable-timers-need-recovery)

## Our take

An introduction to Cloudflare Workflows: durable execution that runs in the background in steps, with built-in retries and the ability to sleep for a set time.

## Related videos

- [How to Build Event-Driven Applications: Cloudflare Queues](/tube/event-driven-applications-cloudflare-queues)
- [Cloudflare Workflows Just Got A Lot Better!](/tube/cloudflare-workflows-got-better)
- [Durable Objects Finally Make Sense](/tube/durable-objects-finally-make-sense)
- [Cloudflare Workers Explained](/tube/cloudflare-workers-explained)

Summary based on the transcript. Written 2026-11-15.
