I do not think you, in this case, needs to define any input to the Execute Shell Script action.
Maybe it does more harm than good in this case.
If a variable is defined before the shell script you can use it with the $KMVAR
syntax.
I think the with input from passes these paramters to STDIN to the script, but I have not read up on this.