I am somehow confused or maybe I am over-thinking it too much. How can I run a form at the beginning of the conversation. For example, I have the activate form rule:
I would like to only activate this form general_info_form for the first greet, and so I can save user information (name, phone, etc) which I only need to ask once. Once this form is filled I would like to answer in a different way to the user (i.e. utter_greet rather than activating the form again).
Should this go in a story? But I don’t know how to manage the case that this should only be triggered once. Thanks in advance
Problem at there is I can’t create a rule that executed at start of conservation and independent from user’s intent.
Let me try to explain scenario that I think in my head.
Conservation start → User types something (Not necessary) → Form activated and chatbot will explain “new user” situation to user and ask some personal information.
In @andrejankas, if user says anything but not greet, general info form will never activated (as I understand)
You can send the greet intent (or any other one of course) secretly from the user in your frontend application. This way, it will seem like the bot is the one that started the conversation.
@ChrisRahme Thanks for helping. I saw these type of solutions at forum about that topic. I am trying to create a more “deterministic” chatbot for my company which is independent than frontend side but it seems like that it isn’t possible for now.
This is possible with the help of ActionSessionStart. Even user says something unknown you know that session has been started so you can do anything when it starts even starting a form by returning FollowupAction(“form_name”)