I would suggest learning the basics of the shell. Either bash or now the Apple-preferred zsh. See the other topics I’ve previously mentioned. I’ve included some info and links on scripting. i’ve also included how to work with dates in the shell.
Launch Terminal.app and practice with the mkdir command. The core of this question is that pair of mkdir commands.
Automator passes two arguments into that shell command, which are represented as $1 and $2 in the mkdir commands. When the mkdir command is invoked, $1 is replaced with the first argument, and $2 with the second.
The first of the two mkdir commands creates the top directory. The second creates the second directory within.
Whoever coded that either didn’t know about or didn’t think about using mkdir -p, which creates intermediate directories when and as needed. Using mkdir -p, those two commands could become one. This one:
mkdir -p "$1$/$2/info"
Note that vertical double quotes are shown here and are necessary syntax, and not angle quotes that the forum software prefers to insert.
To make that mkdir command do what you want (if I understand your request here correctly), use this command:
mkdir -p "$1 $2/info"
That command creates a directory based on whatever is in $1 and a space and whatever is in $2, and a with a subdirectory named info.
This assumes you are passing the date into the mkdir command from your Automator script as the second argument.
If you want that date stuff to happen automatically, using one argument and the current date:
mkdir -p "$1 $(date -j +"%Y%m")/info"
That generates a four digit year and a two digit month in the path. Which will sort in the expected order in Finder and elsewhere, where %m%Y won’t.
A shell script can prompt users for input using an osascript call, as needed. Automator and Shortcuts are good for some stuff, but can get in the way for other tasks. This is one of those latter areas.
PS: Here are some of the zsh shell-scripting threads mentioned earlier:
... short cut date as file name - Apple Community
... How can I append wildcards to a variable? - Apple Community