# How to get the button Payload or Title value

**URL:** https://forum.rasa.com/t/how-to-get-the-button-payload-or-title-value/55788
**Category:** Rasa Open Source
**Created:** [October 16, 2022, 5:23am UTC](https://forum.rasa.com/t/how-to-get-the-button-payload-or-title-value/55788 "2022-10-16T05:23:52Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![sai4teja3](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@sai4teja3](https://forum.rasa.com/u/sai4teja3)
#### Post date: [October 16, 2022, 5:23am UTC](https://forum.rasa.com/t/how-to-get-the-button-payload-or-title-value/55788/1 "2022-10-16T05:23:53Z")

</div>

Hey, how to store the button payload to title value from a custom action I have tried with the tracker.latest\_message[‘text’] but it was not helpful to me.

My scenario is, I was making an API get call where I will display available doctors as buttons(and in every get call doctors’ names will be changed), My question is how to get the Payload or Title value that the user is selecting using custom actions.

Please help me I was stuck in this position.

Thank you in Advance

---

_[View the full topic](https://forum.rasa.com/t/how-to-get-the-button-payload-or-title-value/55788)._
