Call SlotSet before agent.handle_text

Hi, my bot is connected to third party system, that collect some data. For instance, name of user. So, when I switch to rasa bot I want to give it name of user. I’m trying to do this:

if not tracker.get_slot(‘first_name’): tracker.update(SlotSet(“first_name”, “Andrey”)) agent.tracker_store.save(tracker)

but when I do so, agent falls with action_default_fallback. Without it it’s ok. What should I do?

UPDATE: It’s working, I should add more stories, as core_threshold was very low.

Glad you figured it out and it’s working!