Durable Workflows (WDK)





Pattern
Sequential Workflow Pattern
Demonstrates a sequential workflow pattern using Workflow DevKit. Features step-by-step execution with quality gates and conditional regeneration.
IntermediateNov 2025View the full pattern on desktop


Problems solved
- Execute AI steps sequentially with Workflow DevKit
- Insert quality gates between generation stages
- Conditionally regenerate content when quality checks fail
- Persist sequential progress across durable workflow steps
Use cases
- Marketing copy generation pipelines
- Quality-gated content workflows
- Sequential AI operation demos
- Workflow DevKit sequential pattern tutorials
AI SDK APIs
generateObjectgenerateText
Tags
aiworkflowsequentialquality-gatemarketingcontent-generationai-sdkworkflow-devkitconditional-regeneration
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- OpenAI API key
- Workflow DevKit setup
Environment variables
OPENAI_API_KEYGet key
External services
openai
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Evaluator Workflow Pattern
Demonstrates an evaluator-optimizer workflow pattern using Workflow DevKit. Features iterative improvement through AI evaluation and optimization loops.
aiworkflow+6
View pattern β


Parallel Review Workflow Pattern
Demonstrates a parallel review workflow pattern using Workflow DevKit. Features concurrent code reviews (security, performance, maintainability) with result aggregation.
aiworkflow+8
View pattern β



