Skip to content

gitflarePublicPartly agent-ready50

cf-workflows-pipeline

Durable content pipeline on Cloudflare Workflows: ingest, extract, summarise with Workers AI via AI Gateway, human approval, publish.

Fix pipeline runs failing at ingest (steps.attempt NOT NULL)629b2fa
TypeScript15 lines275 B
export interface Env {  DB: D1Database;  AI: Ai;  ASSETS: Fetcher;  PIPELINE: Workflow;  AI_GATEWAY_ID: string;}export interface RunParams {  runId: string;  url?: string;  text?: string;  length: "short" | "medium" | "long";  failures: Record<string, number>;}