Workflow syntax
This section is the reference for H2O Workflows YAML syntax. Each workflow you define is a YAML file that describes jobs, steps, inputs, triggers, and other configuration that the H2O Workflows platform compiles and executes. Each sub-page documents a specific aspect of the workflow definition language. Composite actions - reusable, published groups of steps invoked via uses - have their own section: see Actions.
What you will find
Top-level workflow structure and fields.
Independent units of work, runners, and dependencies.
Sequential operations within a job (run, upload, download, uses), including step outputs.
Typed parameters for workflows (string, boolean, integer).
Schedule workflows with cron expressions.
${{ .context.field }} syntax for dynamic values.
Prevent concurrent executions of the same workflow.
Run jobs across multiple configurations.
Call workflows from other workflows.
Upload and download files to H2O Drive.
Static key-value configuration.
Reference secrets from H2O Secure Store.
Control behavior when jobs or steps fail.
Maximum execution time for jobs and steps.
Complete CUE schema definitions.
Quick start
id: data-pipeline
name: Data Pipeline
jobs:
process:
name: Process Data
steps:
- name: Clone repository
run: git clone https://github.com/org/data-processing.git
- name: Download dataset
download:
source: drive://bucket/datasets/raw-data.csv
path: ./data.csv
- name: Process data
run: python data-processing/process.py --input data.csv --output results.json
- name: Upload results
upload:
path: results.json
destination: drive://bucket/processed/results.json
- Submit and view feedback for this page
- Send feedback about H2O Workflows to cloud-feedback@h2o.ai