In order to trigger an Alexa routine, you need a virtual sensor. It’s OK if that device is both a virtual switch and a virtual sensor, which is the DTH that most people use.
FAQ: Can I trigger an Echo Action without Speaking to It?
And here’s the code:
[Release] Virtual Alexa Switch/Button
The Alexa virtual device creator, though, as far as I know it doesn’t create one of those.