I have created a chatbot using dialogflow using four intents and I am passing contexts form one intent to another intents .
- welcome intent
- GetName intent
- GetEmail intent
- GetDOB intent
I wanted to know how to call fallback intent if user entered wrong name. It should call GetNameFallback
intent , for wrong email it should call GetEmailFallback
intent. For wrong DOB it should call GetDOBFallback
intent.
For each specific intent it should call its specific Fallback intents
Here is the list of contexts I am passing:
(welcome intent) -
output context : awaiting_name
(GetName intent )
input context : awaiting_name
andoutput context : awaiting_email
(GetEmail intent )
input context : awaiting_email
andoutput context : awaiting_dob
(GetDOB intent )
input context : awaiting_dob