# How to set slots without using return in the action

**URL:** <https://forum.rasa.com/t/how-to-set-slots-without-using-return-in-the-action/26006>\
**Category:** Rasa Open Source\
**Created:** [March 12, 2020, 3:26pm UTC](https://forum.rasa.com/t/how-to-set-slots-without-using-return-in-the-action/26006 "2020-03-12T15:26:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asmacats](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/asmacats/32/21372_2.png) [@Asmacats](https://forum.rasa.com/u/Asmacats)\
**Post date:** [March 12, 2020, 3:26pm UTC](https://forum.rasa.com/t/how-to-set-slots-without-using-return-in-the-action/26006/1 "2020-03-12T15:26:36Z")

</div>

Hi all,

I would like to know if there is a way to set slots without using return SetSlot ??

If a use return SetSlot my actual utter\_\_resonse will not take into consideration the new slots.

Help pleeease !!

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [March 13, 2020, 2:13pm UTC](https://forum.rasa.com/t/how-to-set-slots-without-using-return-in-the-action/26006/2 "2020-03-13T14:13:28Z")

</div>

You can use create a string with the full response and send it, like

```auto
response = "Helo " + name + ". How are you?"
dispatcher.utter_message(response)

```

after that you can use return to set the slots.

---

<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:** [March 18, 2020, 9:14am UTC](https://forum.rasa.com/t/how-to-set-slots-without-using-return-in-the-action/26006/3 "2020-03-18T09:14:46Z")

</div>

Hi @Asmacats, you can always send the `utter_` response after the custom action is run as well.
