Subworkflow Deployment Node
vellum.workflows.nodes.SubworkflowDeploymentNode
Used to execute a deployed Workflow as a subworkflow within another workflow. This allows you to compose workflows from other deployed workflows.
Attributes
Either the Workflow Deployment’s UUID or its name
The inputs for the Subworkflow. Supports:
- Strings
- Numbers (float)
- Chat History (List[ChatMessage])
- JSON objects (Dict[str, Any])
The release tag to use for the Workflow Execution
The external ID to use for the Workflow Execution
An optionally specified configuration used to opt in to including additional metadata about this workflow execution in the API response. Corresponding values will be returned under the execution_meta key within NODE events in the response stream. See Execute Workflow: Expand Meta.
The metadata to use for the Workflow Execution
The request options to use for the Workflow Execution
Outputs
The outputs of this node are determined by the outputs defined in the deployed workflow. Each output from the workflow will be streamed through this node.