The "If/Else" action
Learn more about "If/Else"
Use the “If” action to run its child actions only if the comparison between the input and value is true.
The “Else” action only works when nested inside of an “If” action. Use it to perform actions if the original condition was false.
Example: Iterate through your current selection and set the text if the current item is a text layer, otherwise set the layer name.