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/10_single_stmt_control_flow.ts

single_statement_for

single_statement_if

single_statement_while

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/8_react_render.tsx

reactWorkflow

workflows/97_bench.ts

noStepsWorkflow

(1 arg)
[
  42
]

oneStepWorkflow

(1 arg)
[
  10
]

promiseAllStressTestWorkflow

(1 arg)
[
  5
]

promiseRaceStressTestLargeWorkflow

(1 arg)
[
  5
]

streamWorkflow

tenParallelStepsWorkflow

tenSequentialStepsWorkflow

workflows/98_duplicate_case.ts

addTenWorkflow

(1 arg)
[
  123
]

workflows/99_e2e.ts

addTenWorkflow

(1 arg)
[
  123
]

childWorkflow

closureVariableWorkflow

(1 arg)
[
  7
]

errorFatalCatchable

errorRetryCustomDelay

errorRetryDisabled

errorRetryFatal

errorRetrySuccess

errorStepBasic

errorStepCrossFile

errorWorkflowCrossFile

errorWorkflowNested

fetchWorkflow

hookCleanupTestWorkflow

(2 args)
[
  "a4e63yc1gr7",
  "3438sl3ss3k"
]

hookWorkflow

(2 args)
[
  "ohfqr9pjsw",
  "xjivjg9gwfb"
]

nullByteWorkflow

outputStreamInsideStepWorkflow

outputStreamWorkflow

pathsAliasWorkflow

promiseAllWorkflow

promiseAnyWorkflow

promiseRaceStressTestWorkflow

promiseRaceWorkflow

readableStreamWorkflow

sleepingWorkflow

spawnWorkflowFromStepWorkflow

stepFunctionPassingWorkflow

stepFunctionWithClosureWorkflow

thisSerializationWorkflow

webhookWorkflow

(3 args)
[
  "d6p9b2w3rig",
  "zf8w4dhrqhk",
  "xplw0tlrod"
]

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...