# Multiple utterances after a button

**URL:** <https://forum.rasa.com/t/multiple-utterances-after-a-button/29283>\
**Category:** Rasa Open Source\
**Created:** [May 25, 2020, 4:12pm UTC](https://forum.rasa.com/t/multiple-utterances-after-a-button/29283 "2020-05-25T16:12:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awoo424](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/awoo424/32/9144_2.png) [@awoo424](https://forum.rasa.com/u/awoo424)\
**Post date:** [May 25, 2020, 4:12pm UTC](https://forum.rasa.com/t/multiple-utterances-after-a-button/29283/1 "2020-05-25T16:12:09Z")

</div>

I want my bot to be able to utter both “job” and “year” with the intent /ask\_job, but I don’t know why this would not work with a button passing the /ask\_job intent. Every time I choose the button, the trained bot would just respond with “utter\_year”.

```
 // Part of domain.yml 
 utter_age:
 - text: "I am 21 years old."
    buttons:
    - title: "Ask his age"
      payload: "/ask_age"
    - title: "Ask his address"
      payload: "/ask_address"
    - title: "Ask his job"
      payload: "/ask_job"
    - title: "I've got no more questions to ask."
      payload: "/goodbye"

 // Part of stories.md
 ## ask age and job
 * ask_age
   - utter_age
 * ask_job
   - slot{"question_asked" : "age"}
   - utter_job
   - utter_year
```

---

<div class="post-metadata">

**Author:** ![chkoss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chkoss/32/7186_2.png) [@chkoss](https://forum.rasa.com/u/chkoss)\
**Post date:** [June 8, 2020, 10:01am UTC](https://forum.rasa.com/t/multiple-utterances-after-a-button/29283/2 "2020-06-08T10:01:40Z")

</div>

Hi, what does the response for `utter_job` look like in your `domain.yml`?

If this contains more buttons, too, which again have intents in their payload, then the conversation will deviate from the story. E.g. say `utter_job` has a button with `payload: "/goodbye"` and the user clicks on that. Then the conversation at that point will be

```auto
* ask_age
  - utter_age
* ask_job
  - slot{"question_asked": "age"}
  - utter_job
* goodbye

```

This is not following the `## ask age and job` story anymore, so the bot might not continue with `utter_year`.
