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
]

crossFileErrorWorkflow

fetchWorkflow

hookCleanupTestWorkflow

(2 args)
[
  "ib04dn1aly8",
  "mwcvn663gpk"
]

hookWorkflow

(2 args)
[
  "1jbbi37c5ra",
  "wn4f842qmyk"
]

maxRetriesZeroWorkflow

nestedErrorWorkflow

nullByteWorkflow

outputStreamInsideStepWorkflow

outputStreamWorkflow

pathsAliasWorkflow

promiseAllWorkflow

promiseAnyWorkflow

promiseRaceStressTestWorkflow

promiseRaceWorkflow

readableStreamWorkflow

retryableAndFatalErrorWorkflow

retryAttemptCounterWorkflow

sleepingWorkflow

spawnWorkflowFromStepWorkflow

stepFunctionPassingWorkflow

stepFunctionWithClosureWorkflow

webhookWorkflow

(3 args)
[
  "tbn8i88spp",
  "kodz0zec85",
  "eppebhszpf"
]

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