Hi All,
I have a requirement. If the user sends a unrecognized response as first message in a new session I need to give a welcome message. But if the user give unrecognized response at any other place of the session i need to give a different response. How can i achieve that? I'm using nodejs to code and i dont have any API's
Note: all my other intents responses are defined in console itself. only for the fallback intent i have enabled fulfillment.
Expected response Example (Pizza ordering bot):-
User A - what is the temperature today?
Bot - I'm sorry. Welcome to pizza bot. I can help you with ordering pizza!
User A - i want to order pizza
Bot - Welcome to pizza bot. pls enter your name
User A - what is the temperature today?
Bot - I'm sorry, Can you rephrase?
______________________________________________
User B - i want to order pizza
Bot - Welcome to pizza bot. pls enter your name
User B - what is the temperature today?
Bot - I'm sorry, Can you rephrase?
User B - John
Bot - Thanks John. Please enter your zipcode
User B - who are you?
Bot - I'm sorry, Can you rephrase?