Workflow Builder
Build and configure automated workflows.
The Workflow Builder allows you to create complex automation sequences using a visual editor or YAML configuration.
Workflow Structure
yaml
name: DailyReport
description: Generate and send daily reports
trigger:
type: schedule
cron: '0 9 * * 1-5' # 9 AM on weekdays
steps:
- id: gather-data
agent: DataCollector
action: query
config:
source: analytics
range: last_24h
- id: analyze
agent: DataAnalyzer
input: ${{ steps.gather-data.output }}
- id: send-report
agent: EmailAgent
action: send
to: team@company.com
template: daily-report
data: ${{ steps.analyze.output }}Conditional Steps
yaml
steps:
- id: check-threshold
condition: ${{ steps.analyze.output.errorRate > 0.05 }}
agent: AlertAgent
action: notify
channel: '#alerts'