Skip to main content
Build production-ready workflows that continue when optional steps fail and leave an execution trace for debugging.
The user starts a multi-step workflow; optional steps can fail without aborting the run, with execution history for debugging.

How It Works

Quick Start

1

Simple Usage

2

With Configuration

Full YAML with retries, optional steps, and execution history:

Configuration Options


Task Parameters

skip_on_failure

retry_delay


Workflow History


Conditional Branching

if_() is deprecated. Use when() instead.

Best Practices

Enhancement and enrichment tasks should not block the main workflow path.
Set retry_delay=2.0 or more when calling external APIs with throttling.
Always set history=True while building workflows — inspect get_history() after failures.
Keep required steps strict (skip_on_failure: false) and flag enrichers as optional explicitly.

Workflows

Workflow patterns and orchestration

Workflow Error Recovery

Recover from workflow failures gracefully