Overview
| Type | Description | Primary Use |
|---|---|---|
bash | Execute shell commands | Run tools, file operations |
function | Run utility functions | Conditions, logging, file checks |
foreach | Iterate over file lines | Process lists |
parallel-steps | Run steps concurrently | Parallel tool execution |
remote-bash | Per-step Docker/SSH | Mixed environments |
http | Make HTTP requests | API calls, webhooks |
llm | AI-powered processing | Analysis, summarization |
bash
Execute shell commands.Basic Command
Multiple Commands (Sequential)
Parallel Commands
Structured Arguments
Save Output to File
function
Execute utility functions via Otto JavaScript VM.Single Function
Multiple Functions
Parallel Functions
Use in Conditions
foreach
Iterate over lines in a file.Basic Loop
With Nested Variables
Fields
| Field | Required | Description |
|---|---|---|
input | Yes | Path to file with items (one per line) |
variable | Yes | Variable name for current item |
threads | No | Concurrent iterations (default: 1) |
step | Yes | Step to execute for each item |
[[variable]] (double brackets) for loop variables to avoid conflicts with {{templates}}.
parallel-steps
Run multiple steps concurrently.remote-bash
Execute commands in Docker or SSH without module-level runner.Docker Execution
SSH Execution
Fields
| Field | Required | Description |
|---|---|---|
step_runner | Yes | docker or ssh |
step_runner_config | Yes | Runner configuration |
command | Yes | Command to execute |
step_remote_file | No | Remote file to copy back |
host_output_file | No | Local destination for remote file |
http
Make HTTP requests.GET Request
POST Request
Auto-Exported Variables
After HTTP step execution:http_status_code- Response status codehttp_response_body- Response bodyhttp_response_headers- Response headers (JSON)
llm
AI-powered processing using LLM APIs.Chat Completion
With Tool Calling
Embeddings
Configuration Override
Common Step Fields
All steps support these fields:Next Steps
- Variables - Exports and propagation
- Control Flow - Conditions and routing
- Functions Reference - Available functions