# Intent in button payload with gui

**URL:** <https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195>\
**Category:** Rasa Open Source\
**Created:** [September 18, 2018, 10:31am UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195 "2018-09-18T10:31:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghibomar](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@raghibomar](https://forum.rasa.com/u/raghibomar)\
**Post date:** [September 18, 2018, 10:31am UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/1 "2018-09-18T10:31:10Z")

</div>

hello i want to send intent in button payload from web GUI. So, for this, do I have to write separate logic to send the payload or RASA automatically captures that intent from the payload. right now I am sending button’s title using javascript to HTTP server of rasa. help needed asap.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 18, 2018, 3:59pm UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/2 "2018-09-18T15:59:59Z")

</div>

if you pass the payload like this `/intent_name`, the intent should be picked up automatically

---

<div class="post-metadata">

**Author:** ![D063520](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@D063520](https://forum.rasa.com/u/D063520)\
**Post date:** [September 3, 2019, 12:57pm UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/3 "2019-09-03T12:57:15Z")

</div>

But then the bot renders “/intent\_name” as a response, can I specify also an alternative text?

---

<div class="post-metadata">

**Author:** ![D063520](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@D063520](https://forum.rasa.com/u/D063520)\
**Post date:** [September 5, 2019, 7:40am UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/4 "2019-09-05T07:40:23Z")

</div>

@akelad could you help me with that, or clarify if it is not 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:** [September 5, 2019, 8:28am UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/5 "2019-09-05T08:28:40Z")

</div>

@D063520 this depends 100% on your web gui and how it renders buttons. rasa provides a `title` and a `payload` for each button so that ideally your output channel would use the `title` as alternative text, but it’s up to the UI how to interpret the information rasa gives it.

---

<div class="post-metadata">

**Author:** ![D063520](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@D063520](https://forum.rasa.com/u/D063520)\
**Post date:** [September 5, 2019, 2:16pm UTC](https://forum.rasa.com/t/intent-in-button-payload-with-gui/1195/6 "2019-09-05T14:16:17Z")

</div>

thank you!
