I just created an Alexa routine that does it. Example, it’s called, ‘open xxxx’. In my case, I don’t want anyone to be able to just say open gate, so I have a unique keyword to do that.
You need to understand, if someone knows you can do open gate or other via voice, in this crappy country , someone could break your window, and tell it to open gate.
I know ,cos I sometimes just talk through an open window to ask Alexa to that.
Our domestic, definitely doesn’t know what those commands are, but has her own ‘routine’ which if she says it, then opens gate and garage door for her to leave house and then closes them. I then get a notice that she activated that routine.