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
- 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:
- text: "hey"
- text: "how are you?"
Which you can just put into your stories like
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.
Hope that helps!