flow
(required): The input flow that triggers the node.selection
(required): The string value to switch on. This input determines which output flow will be activated.default
: The default output flow that is triggered if none of the specified cases match the selection
input.numCases
configuration.numCases
: Specifies the number of additional output cases to generate. Each case represents a possible string value to match against the selection
input.flow
to the desired trigger or previous node in your spell.selection
input to the string value you want to switch on. This can be a hardcoded string or a dynamic value from another node.numCases
option to specify the number of additional output cases you need.selection
input, the default
output flow will be triggered.selection
input dynamically based on other nodes or conditions.default
output for cases that don’t match any specified condition.selection
input is of type string. The Switch on String node only works with string values.