Skip to content

Quick Start — Flow (DAG)

The flow half of Orvanta Quick Starts, shown in its own Orvanta Quick Starts — Flows section on an empty workspace’s Home page. Picking the Hello Orvanta (DAG) card opens this flow as an unsaved draft in the flow builder — nothing is deployed until you save it.

A minimal three-step flow wired as a DAG, to show how steps in a flow pass results to each other along the wires you draw between them rather than through shared variables. Each step is its own TypeScript (Bun) script:

Step 1 — Say hello

export async function main(name: string = "Orvanta") {
return { greeting: `Hello, ${name}!` }
}

Step 2 — Shout it, reading step 1’s result via an input transform:

export async function main(greeting: string) {
return { shout: greeting.toUpperCase() }
}

Step 3 — Combine both results into the flow’s final output:

export async function main(greeting: string, shout: string) {
return {
message: `${greeting} This ran as a 3-step DAG on Orvanta.`,
shout
}
}

Each step is a separate script execution with its own logs — this is the smallest possible example of composing scripts into a flow.

  1. Open an empty workspace’s Home page and click Hello Orvanta (DAG) under Orvanta Quick Starts — Flows.
  2. Press Run to execute all three steps in order.
  3. Open the run’s timeline to see each step’s individual input and output.
  4. Click Deploy if you want to keep it in the workspace — otherwise navigate away and the draft is discarded.