Skip to main content

Interface: WorkflowOptions<TInput>

Defined in: packages/workflow-engine/src/core/workflow.ts:951

Options accepted by defineWorkflow's (id, options?) form.

Type Parameters​

TInput​

TInput extends z.ZodTypeAny

Properties​

description?​

optional description?: string

Defined in: packages/workflow-engine/src/core/workflow.ts:954


input?​

optional input?: TInput

Defined in: packages/workflow-engine/src/core/workflow.ts:956

Zod schema for the workflow's input. Defaults to z.unknown().


name?​

optional name?: string

Defined in: packages/workflow-engine/src/core/workflow.ts:953

Human-readable name. Defaults to the id.