cloudflare-workflows

Develop durable multi-step applications on Cloudflare Workers with Workflows.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/brendadeeznuts1111/tier-1380-omega --skill cloudflare-workflows-brendadeeznuts1111
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare-workflows
Source: https://github.com/brendadeeznuts1111/tier-1380-omega/tree/main/skills/cloudflare-workflows
Command: npx skills add https://github.com/brendadeeznuts1111/tier-1380-omega --skill cloudflare-workflows-brendadeeznuts1111

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and templates for building robust, long-running, and fault-tolerant applications using Cloudflare Workflows, preventing common development pitfalls.

Core Features & Use Cases

  • Durable Execution: Build multi-step applications that persist state and survive failures.
  • Reliability: Implement automatic retries, configurable backoff, and timeouts for critical tasks.
  • Event-Driven Logic: Integrate with external systems using step.waitForEvent for human-in-the-loop or webhook processing.
  • Use Case: Orchestrate a complex data processing pipeline that involves fetching data, transforming it, waiting for an external approval, and then updating a database, all while ensuring reliability and recoverability.

Quick Start

Use the cloudflare-workflows skill to create a new workflow project with a basic example.

Frequently Asked Questions about cloudflare-workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build durable, long-running tasks on Cloudflare Workers?▼

Durable execution on Cloudflare Workers involves building multi-step applications that persist state and survive failures. The Workflows framework provides automatic retries, configurable backoff, and state persistence for critical long-running tasks.

How do I wait for an external event or webhook in a Cloudflare Workflow?▼

To wait for an external event in a Cloudflare Workflow, use the `step.waitForEvent` function. This event-driven mechanism enables human-in-the-loop scenarios and webhook processing by pausing execution until an external signal is received.

What is the best way to handle errors and retries in Cloudflare Workflows?▼

Handle errors in Cloudflare Workflows by implementing automatic retries with configurable backoff and timeouts. For unrecoverable issues, throw a `NonRetryableError` to halt retries and manage I/O context failures robustly.

Can I test Cloudflare Workflows using Vitest?▼

Yes, you can test Cloudflare Workflows using Vitest. The framework supports Vitest integration to verify durable execution logic, retry patterns, and event-driven workflows before deploying your application to production.

How do I implement a human-in-the-loop approval process in a Cloudflare Worker?▼

Implement a human-in-the-loop approval process in a Cloudflare Worker by using `step.waitForEvent`. This pauses the durable execution flow to wait for external approval signals before resuming subsequent steps like database updates.