Skip to main content

Type

workflow_executor

Formats

JSON, Python DSL, Agent-based
Purpose: The Workflow Executor skill enables agents to run sophisticated multi-step workflows with support for conditional branching, parallel execution, and orchestration across multiple systems.

Common Use Cases

Multi-step deployment pipelinesBuild, test, and deploy applications across multiple environments

Complex orchestration tasksCoordinate operations across multiple services and systems

Dependent task executionExecute tasks with dependencies and data passing between steps

Conditional workflow branchingMake decisions based on runtime conditions and previous step outcomes

Workflow Formats

Format Selection: Start with JSON for simple workflows, use Python DSL for complex logic, Agent-based for multi-agent coordination.

Configuration

Example Configuration:

Quick Start

View Complete Examples

See full deployment pipelines, ETL workflows, and multi-agent orchestration examples

Workflow Features

Conditional Execution

Execute steps based on runtime conditions:

Parallel Execution

Run independent steps concurrently:

Data Passing Between Steps

Share outputs between workflow steps:

Error Handling and Retries

Configure retry behavior for resilient workflows:

Example Workflow

Deployment Pipeline


Security Best Practices

Always enable validation_enabled to catch errors before execution.
Limit allowed_executors to only necessary execution methods.
Configure timeouts to prevent runaway workflows.
Best Practice: Start with on_failure: "stop" for production workflows to catch issues early.

Solutions:
  • Check JSON syntax is valid
  • Verify all depends_on references exist
  • Ensure no circular dependencies
  • Validate executor types are in allowed_executors
Solutions:
  • Increase step-specific timeout
  • Increase global workflow timeout
  • Optimize step execution
  • Break into smaller steps
Solutions:
  • Verify enable_context_sharing: true
  • Check output_variable is set on source step
  • Ensure variable name matches in dependent step

Agent Communication

Delegate workflow steps to specialized agents

Shell Skill

Execute shell commands in workflow steps

Docker Skill

Build and deploy containers in workflows

View All Skills

Return to built-in skills overview