Hey @miohana – indeed this won’t work, as this is the domain syntax for offering multiple options for the same utterances (i.e. the bot will choose randomly from them).
Depending on your output channel and how it renders newlines, doing
templates:
utter_greet:
- text: "hey \n how are you?"
may work. However, if you want to make sure that it works everywhere, the recommended way is to just create two utterances:
or if you really wanted to only have one action in the stories, you could create a custom action action_greet that dispatches both of the utterance templates.