Temporal Workflows
Durable, fault-tolerant workflows that power every operation in Steadybase.
Temporal Workflows
Every significant operation in Steadybase runs as a Temporal workflow — a durable, fault-tolerant execution that survives crashes, retries failures, and maintains state across long-running operations.
Why Temporal?
Traditional API-based AI applications are stateless and fragile:
| Problem | Temporal Solution |
|---|---|
| Server crash mid-execution | Workflow resumes exactly where it left off |
| LLM API timeout | Automatic retry with exponential backoff |
| Need human approval mid-flow | Signal-based pause/resume (waits days if needed) |
| Complex multi-step orchestration | Workflow defines the entire sequence declaratively |
| Observability | Full execution history, step-by-step replay |
The 6 Workflows
Drew Coordinator
9-step multi-agent orchestration. The centerpiece workflow that coordinates research, content, and cross-namespace calls.
Client Onboarding
5-step onboarding flow with compliance review and human approval gates.
Lead Qualification
3-step scoring and routing. AI-powered lead scoring (0-100) with intelligent routing.
Content Generation
4-step content creation with memory context. Generates QBR decks, proposals, and call briefs.
Ticket Resolution
AI-powered ticket analysis with SLA tracking and automatic escalation.
Memory Store
Long-running durable KV store. Handles memory reads, writes, compression, and health monitoring.
Workflow Execution Model
Signals and Queries
Temporal workflows communicate through signals (incoming messages that change state) and queries (read-only state inspection):
Task Queue
All Steadybase workflows execute on the steadybase-gtm task queue. The Temporal worker process polls this queue and executes workflow and activity code.
Activities
Activities are the individual units of work within a workflow — they're where the actual LLM calls, data fetching, and memory operations happen. Activities can be retried independently without re-executing the entire workflow.
Workflow Configuration
Workflows connect to Temporal Cloud via mTLS:
See Temporal Cloud Integration for full setup details.