# Please help with RASA Button

**URL:** <https://forum.rasa.com/t/please-help-with-rasa-button/48890>\
**Category:** Rasa Open Source\
**Created:** [October 31, 2021, 7:05pm UTC](https://forum.rasa.com/t/please-help-with-rasa-button/48890 "2021-10-31T19:05:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsklearner](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@rsklearner](https://forum.rasa.com/u/rsklearner)\
**Post date:** [October 31, 2021, 7:05pm UTC](https://forum.rasa.com/t/please-help-with-rasa-button/48890/1 "2021-10-31T19:05:12Z")

</div>

Hi,

I tried to use Buttons in Rasa shell. After reading the Rasa docs, I tried this

Rules File:

```auto
- rule: What help can it provide
  steps:
  - intent: whathelp
  - action: utter_whathelp

```

Domain File:

```auto
utter_whathelp:
  - text: "I can assist with below"
    buttons:
    - title: "Plant Protection"
      payload: "/utter_ask_pp"
    - title: "Nutrient Management"
      payload: "/utter_ask_nm"
    - title: "Agri Officers contact"
      paylod: "/utter_ask_agricontact"

```

I’ve also added those utter response in domain.

```auto
  utter_ask_pp:
  - text: "Could you please give the crop name and disease?"
  utter_ask_nm:
  - text: "Could you please give the crop and their deficiency?"
  utter_ask_agricontact:
  - text: "Could you please give Agri officer's desg and ditrict name?"

```

But when I execute the Button and select the respective buttion, I get a value error for “utter\_ask\_pp”, though it has been added to domain file.

 ![Utter_Error](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/d/e/de486932db431ee6eea9e4c954c11895210254e9.png)

Please advise on how to fix this.

---

<div class="post-metadata">

**Author:** ![InnoOmnia](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/innoomnia/32/17290_2.png) [@InnoOmnia](https://forum.rasa.com/u/InnoOmnia)\
**Post date:** [November 1, 2021, 8:54am UTC](https://forum.rasa.com/t/please-help-with-rasa-button/48890/2 "2021-11-01T08:54:17Z")

</div>

You need to put those in **intents**

payload: “/utter\_ask\_pp”, this will be **intent** “utter\_ask\_pp” and then you need to make a **story** , where you have a rule that when you have intent “utter\_ask\_pp” then you do action “utter\_ask\_pp”

---

<div class="post-metadata">

**Author:** ![rsklearner](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@rsklearner](https://forum.rasa.com/u/rsklearner)\
**Post date:** [November 1, 2021, 11:28am UTC](https://forum.rasa.com/t/please-help-with-rasa-button/48890/3 "2021-11-01T11:28:14Z")

</div>

@InnoOmnia Thank you for the information! Will try now and update the outcome.

---

<div class="post-metadata">

**Author:** ![rsklearner](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@rsklearner](https://forum.rasa.com/u/rsklearner)\
**Post date:** [November 1, 2021, 12:25pm UTC](https://forum.rasa.com/t/please-help-with-rasa-button/48890/4 "2021-11-01T12:25:55Z")

</div>

@InnoOmnia Thank you! Now it is working fine!!
