I've created a IT help desk bot which aims to solve easy to answer problems for the end user. What I would like to do is capture a users first input into a variable for a couple of reasons.
- So that I can then raise an IT ticket if the bot can't solve the problem using the users input as the summary of the issue
- Report on the users questions so that I can improve the topics trigger phrases based on what they entered.
So is there a way of capturing what the user enters after the Greeting topic into a global variable?
For example, in the Greeting topic the last node is a message that says "What can I help you with today?". Then the bot waits for user input. The user could type something simple like "my iphone won't start". I have two custom entities. One to capture the thing that is causing the issue, in this case the "iphone", then another entity to capture the problem itself, in this case "won't start".
Then the relevant topic is started based on the user input
Thanks in advance