# Slot Filling help

**URL:** <https://forum.rasa.com/t/slot-filling-help/38660>\
**Category:** Rasa Open Source\
**Created:** [January 5, 2021, 11:07am UTC](https://forum.rasa.com/t/slot-filling-help/38660 "2021-01-05T11:07:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arkaprabha-majumdar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arkaprabha-majumdar/32/12446_2.png) [@arkaprabha-majumdar](https://forum.rasa.com/u/arkaprabha-majumdar)\
**Post date:** [January 5, 2021, 11:07am UTC](https://forum.rasa.com/t/slot-filling-help/38660/1 "2021-01-05T11:07:01Z")

</div>

Hey, today I ask a simple help… I have an action in my actions.py that needs to fill a single slot. I do not want to use a formAction for such a trivial task, so I want to ask. Will this work? :

```
if check_starter_or_main(food_items[0],restId):
                dispatcher.utter_message(text='Do you want that as a starter or main dish? The prices for each is different.')
                starter_or_main = self.from_text()
return [SlotSet('starter_or_main',starter_or_main)

```

Also are there slot properties? Say I want to add a 0-1 flag to a slot… how can I do that?

---

<div class="post-metadata">

**Author:** ![dakshvar22](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dakshvar22/32/3993_2.png) [@dakshvar22](https://forum.rasa.com/u/dakshvar22)\
**Post date:** [January 6, 2021, 12:55pm UTC](https://forum.rasa.com/t/slot-filling-help/38660/2 "2021-01-06T12:55:10Z")

</div>

@arkaprabha-majumdar `SlotSet` should work. Did you try it? What does the flag indicate? If the flag indicates extra information, it makes sense to create a new slot for it. But if the flag just indicates that the slot was set or not then you don’t need a flag and you can check it directly in your custom action code.

---

<div class="post-metadata">

**Author:** ![arkaprabha-majumdar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arkaprabha-majumdar/32/12446_2.png) [@arkaprabha-majumdar](https://forum.rasa.com/u/arkaprabha-majumdar)\
**Post date:** [January 7, 2021, 4:43pm UTC](https://forum.rasa.com/t/slot-filling-help/38660/3 "2021-01-07T16:43:06Z")

</div>

Yes, SlotSet worked…made two slots. I figured that whole portion out 😃
