WorkflowNodeInputMapping

Represents a mapping of inputs to a workflow node.

KEY TYPE Description
isRequired bool Indicates whether the input is required. Defaults to True.
name str The name of the input variable of the node function.
variableType Union[WorkflowNodeInputType, str] The type of the input. If the type is `IGNORE`, the input will be ignored.
sourceProp None None
constantValue str The constant value of this input if variable type is CONSTANT. Only applicable for template nodes.
variableSource str The name of the node this variable is sourced from. If the type is `WORKFLOW_VARIABLE`, the value given by the source node will be directly used. If the type is `USER_INPUT`, the value given by the source node will be used as the default initial value before the user edits it. Set to `None` if the type is `USER_INPUT` and the variable doesn't need a pre-filled initial value.
description str The description of this input.