How to pass parameters before chatbot starts

So basically, I have a requirement in which I have a no. of categories, followed by relevant subcategories… Now when user chooses a category and then sub-category, I want to pass those params to rasa chatbot so that the chatbot could ask questions for that sub-category only and then make necessary responses.

One solution was to create multiple chabots and then redirect user to the relevant chatbot, but it is quite tedious.

Other solution was to let the chatbot itself handle the category and sub categories, but that is a little bit out of my project scope.

Is there any other way? Either way, what is the best practice? I might have 5-7 categories and 4-5 subcategories in each category.

Thanks!

1 Like