# Take Input from User On Button Click

**URL:** https://forum.rasa.com/t/take-input-from-user-on-button-click/697
**Category:** Rasa Open Source
**Created:** [August 27, 2018, 12:19pm UTC](https://forum.rasa.com/t/take-input-from-user-on-button-click/697 "2018-08-27T12:19:16Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![r4sn4](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/r4sn4/32/279_2.png) [@r4sn4](https://forum.rasa.com/u/r4sn4)
#### Post date: [August 27, 2018, 12:19pm UTC](https://forum.rasa.com/t/take-input-from-user-on-button-click/697/1 "2018-08-27T12:19:16Z")

</div>

Hi

I have a use case to recommend courses to users. Whenever a Bot shows a course, it asks from user to “mark it as done on completion”. If user replies yes, bot will recommend next module. If user replies “No”. Bot will not recommend any other course

Bot - Here is new course for you "Machine Learning for beginners. " Mark it as Done : YesButton NoButton

User : Clicks yesButton Bot - show next module and so on Mark it as Done : YesButton NoButton

I checked this example mentioned in Rasa Docs

templates:

utter\_greet:

- text: “Hey! How are you?” buttons:
  - title: “great”

  - title: “super sad”

This will just show buttons on UI. But I want to take some action on these button clicks.How do I implement this solution?

---

_[View the full topic](https://forum.rasa.com/t/take-input-from-user-on-button-click/697)._
