Skip to main content
Coming Soon - Workflow features are planned for Conductor v1.0.

What are Workflows?

Workflows define sequences of steps that coordinate agents, handle data, and implement business logic.

Workflow Definition (Planned)

name: customer-onboarding
version: 1.0.0
description: Automated customer onboarding workflow

triggers:
  - event: customer.signup
  - schedule: "0 9 * * 1"  # Every Monday at 9am

steps:
  - id: validate
    agent: validator
    input:
      data: ${{ event.customer }}
    onError: notify-admin

  - id: create-account
    agent: account-creator
    input:
      customer: ${{ steps.validate.output }}
    requires: [validate]

  - id: send-welcome
    agent: email-sender
    input:
      to: ${{ event.customer.email }}
      template: welcome
    requires: [create-account]

  - id: notify-sales
    agent: slack-notifier
    input:
      channel: sales
      message: "New customer: ${{ event.customer.name }}"
    requires: [create-account]

Workflow Features

Execute different paths based on conditions
- id: check-tier
  type: decision
  condition: ${{ customer.spend > 1000 }}
  onTrue: assign-premium-support
  onFalse: assign-standard-support
Process collections and repeat steps
- id: process-orders
  type: forEach
  items: ${{ customer.orders }}
  step:
    agent: order-processor
    input: ${{ item }}
Control execution timing
- id: wait-for-approval
  type: wait
  timeout: 24h
  onTimeout: escalate
Gracefully handle failures
- id: api-call
  agent: external-api
  retry:
    maxAttempts: 3
    backoff: exponential
  onError: log-and-continue

Workflow Patterns

Sequential

Parallel

Conditional

Loop

State Management

Workflows maintain state throughout execution:
  • Input: Initial workflow parameters
  • Context: Shared data across steps
  • Step Outputs: Results from each step
  • Variables: Workflow-scoped storage

Versioning

Workflows are versioned like components:
# Register workflow in Edgit
edgit add workflow customer-onboarding workflows/onboarding.yaml

# Tag version
edgit tag customer-onboarding v1.0.0

# Deploy to environment
edgit deploy customer-onboarding v1.0.0 --to production

Coming Soon

  • Workflow DSL reference
  • Built-in step types
  • Integration patterns
  • Testing workflows
  • Monitoring and debugging
Want to discuss workflow patterns? Join GitHub Discussions.