Skip to content

remora-monorepo


remora-monorepo / lib / WorkflowStep

Type Alias: WorkflowStep

WorkflowStep = typeof workflowStepSchema.infer

Defined in: packages/core/src/types.ts:248

A single step in a workflow. Each step has a type that determines its behavior:

  • start — entry point, declares input schema
  • tool-call — calls a tool with literal or expression-based arguments
  • llm-prompt — prompts an LLM with template string interpolation
  • extract-data — uses an LLM to extract structured data from unstructured source
  • switch-case — branches to different step chains based on an expression value
  • for-each — iterates over an array, executing a chain of steps per item
  • agent-loop — delegates work to an autonomous agent with its own tool-calling loop (use sparingly)
  • end — terminates a branch, optionally producing workflow output