Workflow steps

Overview

Twenty-three types. Each one declares what it needs, and what it puts in output for the steps after it to read.

23 types30 steps per workflow3 need approval
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

A step

{ id: "write", type: "model.generate", name: "Draft the digest",
  config: { model: "gemini-3.5-flash", inputs: [{ type: "text", content: "…" }] } }
{"id": "write", "type": "model.generate", "name": "Draft the digest",
 "config": {"model": "gemini-3.5-flash", "inputs": [{"type": "text", "content": "…"}]}}
idstringrequired

A letter, then letters, digits, _ or -. Unique, 40 characters at most.

typestringrequired

One of the 23.

namestring

A label for an interface.

configobject

What this type needs. Checked when the workflow is saved.

Three types require an approval

TypeBecause it
mail.sendsends a message to someone
hosting.deploypublishes on the public internet
domain.recordswrites in the customer's DNS zone

Each needs a human step upstream, and a definition without one is refused when it is saved.

Every step has an output

It is what {{steps.<id>.output.…}} reads. Each page below says what its own holds — and runStep() shows it for real before you write the template.