# Get Slots values after each message

**URL:** <https://forum.rasa.com/t/get-slots-values-after-each-message/56495>\
**Category:** Rasa Open Source\
**Created:** [December 12, 2022, 10:30am UTC](https://forum.rasa.com/t/get-slots-values-after-each-message/56495 "2022-12-12T10:30:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabble](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@fabble](https://forum.rasa.com/u/fabble)\
**Post date:** [December 12, 2022, 10:30am UTC](https://forum.rasa.com/t/get-slots-values-after-each-message/56495/1 "2022-12-12T10:30:22Z")

</div>

Hello,

I want to get the slot values after each message. If I look for a solution, I always see, that I have to modify the actions.py. But I don’t understand how it works for each message. In the examples I have to call the function in a rule or story.

I think that I have to use tracker.get\_latest\_entity\_values. But how can I do it for each message regardless of the intent.

Please help me 🙂

Edit: I think to create a new pipeline component is the best way. Would you agree?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [December 12, 2022, 10:24pm UTC](https://forum.rasa.com/t/get-slots-values-after-each-message/56495/2 "2022-12-12T22:24:03Z")

</div>

What do you want to do with the slot values?

You can configure an event broker but without understanding the use case this may not be the best approach.

---

<div class="post-metadata">

**Author:** ![fabble](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@fabble](https://forum.rasa.com/u/fabble)\
**Post date:** [December 13, 2022, 7:40am UTC](https://forum.rasa.com/t/get-slots-values-after-each-message/56495/3 "2022-12-13T07:40:17Z")

</div>

I want to modify the slot values with an external programme before the rules and stories are activated.

My idea is to use the tracker in a pipeline component. But I don’t know if this possible and I don’t see any examples fot that idea.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [December 13, 2022, 5:09pm UTC](https://forum.rasa.com/t/get-slots-values-after-each-message/56495/4 "2022-12-13T17:09:14Z")

</div>

You can read about custom nlu components [here](https://rasa.com/docs/rasa/custom-graph-components).
