Core Concepts
The Pipeline
Data flows through the system in these stages:
- Ingestion: An external system or code sends an
Eventpayload. - Outbox: The event is saved transactionally with an
Outboxentry (PENDING). - Dispatch: The
Dispatcherprocess picks up pending items, resolves matchingAutomations, createsExecutionrecords, and marks the Outbox itemPROCESSED. - Execution: The
Runtimeexecutes the steps defined in theWorkflowgraph.
Key Models
- Event: Immutable record of something happening (
type,payload). - Outbox: Queue state for an Event (
status,attempts,next_attempt_at). - Automation: Container for Triggers and Workflows.
- Workflow: Versioned graph of steps.
- Execution: A single run of an Automation for an Event.
- ExecutionStep: Log of a single step's input/output.