Workflow DevKit Examples

Select a workflow to start a run and view its output

Available Workflows

workflows/1_simple.ts

simple

(1 arg)
[
  42
]

workflows/2_control_flow.ts

control_flow

workflows/3_streams.ts

streams

workflows/4_ai.ts

agent

(1 arg)
[
  "What is the weather in Muscat?"
]

ai

(1 arg)
[
  "What is the weather in San Francisco?"
]

workflows/5_hooks.ts

withCreateHook

withWorkflowMetadata

workflows/6_batching.ts

batchInStep

batchOverSteps

workflows/7_full.ts

handleUserSignup

(1 arg)
[
  "user@example.com"
]

workflows/97_bench.ts

noStepsWorkflow

oneStepWorkflow

tenParallelStepsWorkflow

tenSequentialStepsWorkflow

workflows/98_duplicate_case.ts

addTenWorkflow

(1 arg)
[
  123
]

workflows/99_e2e.ts

addTenWorkflow

(1 arg)
[
  123
]

closureVariableWorkflow

(1 arg)
[
  7
]

crossFileErrorWorkflow

fetchWorkflow

hookCleanupTestWorkflow

(2 args)
[
  "200f9recoy4",
  "8s4a0liufx"
]

hookWorkflow

(2 args)
[
  "fifc2q14hm",
  "g9nusvcpm1"
]

nestedErrorWorkflow

nullByteWorkflow

outputStreamInsideStepWorkflow

outputStreamWorkflow

promiseAllWorkflow

promiseAnyWorkflow

promiseRaceStressTestWorkflow

promiseRaceWorkflow

readableStreamWorkflow

retryableAndFatalErrorWorkflow

retryAttemptCounterWorkflow

sleepingWorkflow

stepFunctionPassingWorkflow

stepFunctionWithClosureWorkflow

webhookWorkflow

(3 args)
[
  "o8arei6n8m8",
  "m50ra39hoac",
  "medtnf7wa8"
]

workflowAndStepMetadataWorkflow

Workflow Invocations
No workflow runs yet. Click "Start" on any workflow to begin.
Terminal Output
No logs yet. Start a workflow to see output...