# User input grabbing

**URL:** <https://forum.rasa.com/t/user-input-grabbing/24671>\
**Category:** Rasa Open Source\
**Created:** [February 12, 2020, 9:49am UTC](https://forum.rasa.com/t/user-input-grabbing/24671 "2020-02-12T09:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iampkk](https://avatars.discourse-cdn.com/v4/letter/i/da6949/32.png) [@iampkk](https://forum.rasa.com/u/iampkk)\
**Post date:** [February 12, 2020, 9:49am UTC](https://forum.rasa.com/t/user-input-grabbing/24671/1 "2020-02-12T09:49:14Z")

</div>

Hi all. I want to grab the input entered by user and process in it in backend in actions.py. For example If user enters his address “3rd cross 4th main BDA layout Bengaluru India”, I want this whole address to be stored in an variable **without creating it’s entity or slots**. After that at later stage I want to process it in actions.py and display that address. Is it possible? Please help @Tanja @jonathanpwheat @JiteshGaikwad @amn41 @ashukrishna100 @imabhinav-am @akelad@juste_petr @Juste

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [February 13, 2020, 11:23am UTC](https://forum.rasa.com/t/user-input-grabbing/24671/2 "2020-02-13T11:23:17Z")

</div>

If you want to process the entire message text as the address, you can do that in a custom action, but if you want to store it for later use, a slot would be the way to go. You don’t have to extract it as an entity to do this. If you don’t want it to affect action prediction, you could make an unfeaturized slot.

---

<div class="post-metadata">

**Author:** ![iampkk](https://avatars.discourse-cdn.com/v4/letter/i/da6949/32.png) [@iampkk](https://forum.rasa.com/u/iampkk)\
**Post date:** [February 14, 2020, 9:40am UTC](https://forum.rasa.com/t/user-input-grabbing/24671/3 "2020-02-14T09:40:30Z")

</div>

Thanks @mloubser. Could you please help me on how to get the entire message text as address in custom actions? As per my knowledge, if we want some user input in custom action we access it tracker.get\_slot(“slot\_name”). But here we don’t have slot or entity. So how do I get whatever user enters in custom actions?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [February 14, 2020, 8:29pm UTC](https://forum.rasa.com/t/user-input-grabbing/24671/4 "2020-02-14T20:29:36Z")

</div>

In your custom action, you could do

```auto
address = tracker.get("latest_message").get("text")

```

Then you could set a slot based on that value e.g.

```auto
return [SlotSet("address", address)]

```

Might be helpful to explore the `tracker` a bit and see what’s available for other custom actions too

---

<div class="post-metadata">

**Author:** ![iampkk](https://avatars.discourse-cdn.com/v4/letter/i/da6949/32.png) [@iampkk](https://forum.rasa.com/u/iampkk)\
**Post date:** [February 17, 2020, 11:36am UTC](https://forum.rasa.com/t/user-input-grabbing/24671/5 "2020-02-17T11:36:19Z")

</div>

thanks @mloubser. This is exactly what I wanted. Thanks so much
