workflowCall
workflowCall(
input:WithMeta<WorkflowCallInput>):WorkflowCallModel
Create a workflow call trigger model for reusable workflow interfaces.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
Inputs, outputs, secrets definitions and optional model metadata. |
Returns
Section titled “Returns”WorkflowCallModel
A WorkflowCallModel for use in an OnInput.
Example
Section titled “Example”workflowCall({ inputs: { environment: { description: "Target environment", required: true, type: "string", }, }, secrets: { DEPLOY_TOKEN: { description: "Deployment token", required: true }, },})