import type * as Extend from "../../../../index"; /** * @example * { * name: "Updated Invoice Processing" * } * * @example * { * steps: [{ * type: "TRIGGER", * name: "name" * }, { * type: "PARSE", * name: "name" * }] * } */ export interface WorkflowsUpdateRequest { /** The new name for the workflow. */ name?: string; /** * The new step definitions for the draft version. Replaces all existing draft steps. * * See the [Configuring Workflows via API guide](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api) for step definitions, branching patterns, and examples. */ steps?: Extend.WorkflowStepDefinition[]; }