# Filling slots at bot's startup

**URL:** <https://forum.rasa.com/t/filling-slots-at-bots-startup/37462>\
**Category:** Rasa Open Source\
**Created:** [November 27, 2020, 12:27am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462 "2020-11-27T00:27:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wvalverde67](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/wvalverde67/32/12293_2.png) [@wvalverde67](https://forum.rasa.com/u/wvalverde67)\
**Post date:** [November 27, 2020, 12:27am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/1 "2020-11-27T00:27:25Z")

</div>

Hello everyone

I would like to fill some slots with values (from any source) but before the user prompt any intent. That is, the objective is to inform the user of the values I previously loaded. An example would be: “Hello, I’m Company X’s assistant and I would like to confirm your reservation. I have for {user\_name} the master suite on {booking\_date} …”

Is there an example on GitHub?

Any additional documentation besides [rasa.com/docs](http://rasa.com/docs)?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [November 27, 2020, 7:59am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/2 "2020-11-27T07:59:14Z")

</div>

Hi! You can customize [ActionSessionStart](https://rasa.com/docs/rasa/default-actions#action_session_start) to set the necessary slots at the beginning of the conversation.

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [November 27, 2020, 8:02am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/3 "2020-11-27T08:02:06Z")

</div>

Aside from documentation, there is also the [Rasa Masterclass](https://www.youtube.com/playlist?list=PL75e0qA87dlHQny7z43NduZHPo6qd-cRc). In addition, we have some examples on github, [this](https://github.com/RasaHQ/financial-demo/blob/58c079f72eab4d0da3c4c259a2d5ab576bb9b436/actions/actions.py#L786) is a good example for what you are trying to do.

---

<div class="post-metadata">

**Author:** ![siriusraja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/siriusraja/32/22306_2.png) [@siriusraja](https://forum.rasa.com/u/siriusraja)\
**Post date:** [November 27, 2020, 8:13am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/4 "2020-11-27T08:13:13Z")

</div>

Hi @fkoerner

How about setting the _initial\_value_ parameter for the respective slot ? Will this work in this scenario ?

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [November 27, 2020, 8:21am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/5 "2020-11-27T08:21:11Z")

</div>

Hi @siriusraja!

`initial_value` is set for a specific slot in the [domain file](https://rasa.com/docs/rasa/domain/#initial-slot-values). It will set the slot’s initial value for any instance of the slot.

It sounds like @wvalverde67 wants to set user-specific values (meaning: different for each user/instance of the slot), whereas `initial_value` is the same for that slot for any conversation. Does that make sense?

---

<div class="post-metadata">

**Author:** ![siriusraja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/siriusraja/32/22306_2.png) [@siriusraja](https://forum.rasa.com/u/siriusraja)\
**Post date:** [November 27, 2020, 8:25am UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/6 "2020-11-27T08:25:28Z")

</div>

Thanks for the clarification @fkoerner. that makes sense.

---

<div class="post-metadata">

**Author:** ![wvalverde67](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/wvalverde67/32/12293_2.png) [@wvalverde67](https://forum.rasa.com/u/wvalverde67)\
**Post date:** [November 27, 2020, 2:02pm UTC](https://forum.rasa.com/t/filling-slots-at-bots-startup/37462/7 "2020-11-27T14:02:01Z")

</div>

Exactly!!!. I really appreciate your help. I’m a real beginner.

greetings
