← Back to all posts
10 min readCentrali Team

Introducing Workflow Orchestration: Multi-Step Automation for Centrali

Build complex multi-step workflows without writing code. Chain compute functions, add conditional branching, schedule delays, and monitor every execution with our new visual workflow editor.

ProductFeatureAnnouncementorchestration

Automation is at the heart of modern backend development. Whether you're processing orders, sending notifications, or synchronizing data across services, you need reliable workflows that handle complexity without breaking.

Today, we're excited to announce Workflow Orchestration—a powerful new feature in Centrali 2.9.0 that lets you build complex, multi-step workflows with a visual editor, no custom infrastructure required.

Why Workflow Orchestration?

Until now, building multi-step processes in Centrali meant writing compute functions that called other functions, managing state manually, and implementing your own retry logic. This worked, but it was tedious and error-prone.

Common challenges included:

  • Error handling — What happens when step 3 of 5 fails? Do you retry? Start over?
  • State management — How do you pass data between steps?
  • Conditional logic — How do you route workflows based on data values?
  • Timing — How do you wait before sending a follow-up email?
  • Observability — How do you debug a failed run?

Workflow Orchestration solves all of these with a visual editor and declarative configuration.

What You Can Build

Workflow Editor

Order Processing Pipeline

Chain validation, payment, inventory, and shipping into a single workflow:

  1. Validate Order (compute) — Check inventory, validate addresses
  2. Process Payment (compute) — Charge the customer
  3. Check Result (decision) — If payment failed, route to error handling
  4. Reserve Inventory (compute) — Decrement stock levels
  5. Send Confirmation (compute) — Email the customer

Approval Workflows

Build multi-stage approval processes with timeouts:

  1. Submit Request (trigger: on-demand)
  2. Notify Approver (compute) — Send email to manager
  3. Wait for Response (delay) — Wait up to 48 hours
  4. Check Status (decision) — Route based on approval state
  5. Execute or Escalate (compute) — Complete request or escalate

Data Synchronization

Keep systems in sync with event-driven workflows:

  1. Record Updated (trigger: event)
  2. Transform Data (compute) — Map fields to external format
  3. Push to External API (compute) — Call third-party service with retry
  4. Log Result (compute) — Record sync status

Three Step Types

Orchestrations support three types of steps, each designed for a specific purpose:

Add Step Types

Compute Steps

Execute your compute functions with automatic retry and error handling:

  • Timeout configuration — Set maximum execution time
  • Retry policy — Configure max attempts and exponential backoff
  • Error handling — Route to fallback steps on failure
  • Context passing — Automatically receive input and previous step outputs

Compute Step Configuration

Decision Steps

Route workflows based on data conditions—no code required:

  • 10 comparison operators — equals, not equals, greater than, less than, exists, in array, and more
  • Multiple conditions per case — All conditions must match (AND logic)
  • Nested path support — Access input.data.order.status or steps.validate.output.isValid
  • Default fallback — Define what happens when no case matches

Decision Cases Editor

Delay Steps

Pause workflow execution for specified durations:

  • Millisecond precision — Wait exactly as long as needed
  • Perfect for — Reminder emails, rate limiting, approval timeouts
  • Durable — Uses the scheduler service for reliable resume

Delay Step Configuration

Four Trigger Types

Start workflows from multiple sources:

Event-Driven

Automatically trigger when data changes:

  • Record created
  • Record updated
  • Record deleted
  • Record restored
  • Bulk records created

HTTP Webhooks

Expose public endpoints for external integrations:

  • Custom webhook paths
  • Optional HMAC-256 signature validation
  • Secure by default

Scheduled

Run workflows on a schedule:

  • Cron expressions (e.g., 0 9 * * MON for every Monday at 9 AM)
  • Fixed intervals (e.g., every 5 minutes)
  • One-time execution
  • Timezone support

On-Demand

Trigger workflows programmatically via API:

  • Pass custom input data
  • Ideal for testing and manual runs
  • Full API support

Run Observability

Every workflow execution is tracked with detailed observability:

Run Details Overview

Step-by-Step History

See exactly what happened at each step:

  • Input received
  • Output produced
  • Execution timestamps
  • Link to compute function run details

Run Details Steps

Context Inspection

View the full execution context:

  • Trigger input data
  • Context variables (workspace, orchestration ID, run ID)
  • Accumulated step outputs
  • Trigger metadata

Run Details Context

Activity Log

Timeline of events during execution:

  • Run started
  • Step started/completed
  • Errors encountered
  • Run completed

Run Activity Log

Execution Logs

Low-level logs from the compute runtime:

  • Job received/created/published
  • Worker output
  • Error details

Run Execution Logs

Built-In Reliability

Orchestrations are designed for production workloads:

  • Automatic retry — Failed compute steps retry with exponential backoff
  • TTL expiration — Runs expire after a configurable time to prevent zombie processes
  • Concurrency limits — Prevent resource exhaustion with per-orchestration limits
  • Rate limiting — Distributed rate limiting per workspace
  • Durable messaging — NATS JetStream ensures messages aren't lost

Getting Started

Workflow Orchestration is available now in Centrali 2.9.0. To create your first workflow:

  1. Navigate to Orchestrations in your workspace
  2. Click + Orchestration to create a new workflow
  3. Choose a trigger type (event, scheduled, HTTP, or on-demand)
  4. Add steps using the visual editor
  5. Save and activate your orchestration

Check the Orchestration documentation for detailed guides and examples.

What's Next

This is just the beginning. We're working on:

  • Parallel steps — Execute multiple steps simultaneously
  • Sub-orchestrations — Call orchestrations from other orchestrations
  • Version history — Track changes to your workflows over time
  • Templates — Pre-built workflows for common patterns

We'd love to hear your feedback on Workflow Orchestration. Let us know how it's working for you and what additional features would be helpful.


Workflow Orchestration is available in Centrali 2.9.0. Update your deployment or check the changelog for details.

Building something with Centrali and want to share feedback about this feature?

Email feedback@centrali.io