# How do I reset the slot value during the conversation

**URL:** <https://forum.rasa.com/t/how-do-i-reset-the-slot-value-during-the-conversation/56223>\
**Category:** Rasa Open Source\
**Created:** [November 18, 2022, 12:04pm UTC](https://forum.rasa.com/t/how-do-i-reset-the-slot-value-during-the-conversation/56223 "2022-11-18T12:04:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayowa](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@mayowa](https://forum.rasa.com/u/mayowa)\
**Post date:** [November 18, 2022, 12:04pm UTC](https://forum.rasa.com/t/how-do-i-reset-the-slot-value-during-the-conversation/56223/1 "2022-11-18T12:04:30Z")

</div>

Please I’m having a problem with resetting the slot values back to null during the conversation. any idea on how I can do that?

---

<div class="post-metadata">

**Author:** ![frostz](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frostz](https://forum.rasa.com/u/frostz)\
**Post date:** [November 18, 2022, 12:28pm UTC](https://forum.rasa.com/t/how-do-i-reset-the-slot-value-during-the-conversation/56223/2 "2022-11-18T12:28:53Z")

</div>

You can add this as a custom action class ActionResetAllSlots(Action):

```
def name(self):
    return "action_reset_all_slots"

def run(self, dispatcher, tracker, domain):
    return [AllSlotsReset()]

```

after adding this in your story/rule all slots will get reset after this
