Flows Overview
Reusable AI automation workflows defined in YAML
Flows are structured automation workflows — directed graphs of nodes connected by edges, carrying shared state between steps.
While chat is the primary Astonish experience (dynamic, adaptive, conversational), flows provide deterministic, repeatable automation. Use flows when you need a process to run the same way every time.
Use Cases
Section titled “Use Cases”- CI/CD pipelines
- Data processing and transformation
- Scheduled reports
- Multi-step workflows that require consistent execution
Creating Flows
Section titled “Creating Flows”A flow is defined in YAML and can be created in three ways:
- Visually in the Studio Flow Editor
- By hand writing YAML directly
- Via flow distillation — converting a chat session into a reusable flow
Flow Lifecycle
Section titled “Flow Lifecycle”- A START node begins execution.
- Nodes execute in order, reading from and writing to shared state.
- Edges connect nodes, optionally with conditions for branching.
- An END node completes the flow.
Running Flows
Section titled “Running Flows”From the CLI:
astonish flows run <name>Or use the Run button in Studio.
Parameters
Section titled “Parameters”Flows support parameters passed at runtime:
astonish flows run my-flow -p key="value"Sharing Flows
Section titled “Sharing Flows”Share flows through tap repositories:
astonish tap add <repo>See Taps & Flow Store for details on publishing and installing flows.