# Rasa with sqlite

**URL:** <https://forum.rasa.com/t/rasa-with-sqlite/13256>\
**Category:** Rasa Open Source\
**Created:** [July 21, 2019, 7:37pm UTC](https://forum.rasa.com/t/rasa-with-sqlite/13256 "2019-07-21T19:37:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hajoura](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@hajoura](https://forum.rasa.com/u/hajoura)\
**Post date:** [July 21, 2019, 7:37pm UTC](https://forum.rasa.com/t/rasa-with-sqlite/13256/1 "2019-07-21T19:37:14Z")

</div>

my dataset for hotel can provide for you price and area and also rating of hotels in my customer actions I set three slots one of price and also for rating ,area but I have no idea how to manage my slots with sql dataset in my code nothings work any idea …and based on my slots give you the equivalent answer should I use . format() but I have two slots also how I manage that in my code …??? i have no idea to solve it … .and thx

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [July 24, 2019, 4:20pm UTC](https://forum.rasa.com/t/rasa-with-sqlite/13256/2 "2019-07-24T16:20:46Z")

</div>

So I imagine a workflow like

1. Triggering a custom action
2. Querying the database in custom action
3. Return `SlotSet` events with the results.\

Is that somewhat similar what you are trying to do? In which of these steps are you struggling?

---

<div class="post-metadata">

**Author:** ![hajoura](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@hajoura](https://forum.rasa.com/u/hajoura)\
**Post date:** [July 24, 2019, 4:54pm UTC](https://forum.rasa.com/t/rasa-with-sqlite/13256/3 "2019-07-24T16:54:31Z")

</div>

hey thanks for your replay @Tobias_Wochinger , but I do not know the three steps can you help me I use three slots for price and rating, area and also how to query the database and event in slots please help of give clear view thank you a lot
