Issue
I want to pass some variable into the chatbot (eg. destination = living room, name = John) which is retrieve by the python from local host database. Is there a way to set a simple If/Else rules in the dialog flow chatbot.
Eg....
if (destination = "living room") {
if (location = "bathroom") {
response = "Please turn left";
}
}
Solution
Not the way you've described it. The easiest way to implement logic is through the Dialogflow fulfillment. You can do some basic logic with Contexts, but this gets overly complicated very quickly.
Answered By - Prisoner Answer Checked By - Timothy Miller (WPSolving Admin)