It's been a few months since I've looked at routines under the Alexa app...
They've added a custom action now where you can enter text exactly like voice commands and have it execute.
It seems to support any command that can be issued by voice
I will be adding support for this in the next release.