To hit the enter key, you can use the type action. Then, in the word to type field, include \n.

Did this answer your question?