How can i use variable from GUI into Shell_commands or rest command?

I using some shell commands and rest command defined into configuration.yaml to send SMS
Like this:
shell_command:
openvindu: bash /config/sms.bat (this sends http curl as the same in the rest command)

and

notify:

I trigger this by automation. (se attachment)

I would like to add receiver and text into the automation and not in the configuration.yaml.

Maybe to add a “global” line into configuration.yaml…
shell_command:
openvindu: bash /config/sms.bat {NUMBER} {MESSAGE}

and

notify:

Can this be done and how?