You can try the Run Shell action with command "input tap x y"
You can get the x y coordinated by going to Settings - Developer Options and enable show pointer location. Just get the coordinates of your enter key and replace on x and y
If i'm not mistaken you need to be rooted to be able to use the Run shell command.
If there is an easier way i'm sure someone else will step up to help out.