# Multiple texts

**URL:** <https://forum.rasa.com/t/multiple-texts/12868>\
**Category:** Rasa Open Source\
**Created:** [July 12, 2019, 11:55am UTC](https://forum.rasa.com/t/multiple-texts/12868 "2019-07-12T11:55:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miohana](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@miohana](https://forum.rasa.com/u/miohana)\
**Post date:** [July 12, 2019, 11:55am UTC](https://forum.rasa.com/t/multiple-texts/12868/1 "2019-07-12T11:55:38Z")

</div>

Hi everyone,

I wanted to answer with multiple “text” commands, in a way that the user can see separated messages, more dinamically.

Example of the ‘domain.yml’ archive (that didn’t work):

```
templates:
 utter_greet:
   -text: hey
   -text: how are you?

```

Is that possible?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [July 14, 2019, 6:08pm UTC](https://forum.rasa.com/t/multiple-texts/12868/2 "2019-07-14T18:08:58Z")

</div>

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

```auto
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:

```auto
templates:
 utter_greet:
   - text: "hey"
 utter_howareyou:
   - text: "how are you?"

```

Which you can just put into your stories like

```auto
* greet
  - utter_greet
  - utter_howareyou

```

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! 🙂

---

<div class="post-metadata">

**Author:** ![miohana](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@miohana](https://forum.rasa.com/u/miohana)\
**Post date:** [July 24, 2019, 5:13pm UTC](https://forum.rasa.com/t/multiple-texts/12868/3 "2019-07-24T17:13:53Z")

</div>

Huge thanks Ella! It worked!!!
