Skip to content

workflowCall

workflowCall(input: WithMeta<WorkflowCallInput>): WorkflowCallModel

Create a workflow call trigger model for reusable workflow interfaces.

Parameter Type Description

input

WithMeta<WorkflowCallInput>

Inputs, outputs, secrets definitions and optional model metadata.

WorkflowCallModel

A WorkflowCallModel for use in an OnInput.

workflowCall({
inputs: {
environment: {
description: "Target environment",
required: true,
type: "string",
},
},
secrets: {
DEPLOY_TOKEN: { description: "Deployment token", required: true },
},
})