OneAI
Docs
ChainingValidationRetries

Workflows

Chain steps, enforce validation, and ship reliable automation.

Core idea

Workflows turn structured outputs into repeatable execution. Think: steps + validators + retries + exports.

Step 1: Prepare prompt
Step 2: Generate (LLM)
Step 3: Parse JSON
Step 4: Validate schema (AJV)
Step 5: Retry if invalid (maxAttempts)
Step 6: Export / Run next step