Chatbot Watson - Limit the number of times the dialog falls on a node

1

I'm developing a chatbot in Watson Conversations and I came across a useful need for dialogue. I need if the dialog drops into anything_else 3 times the bot jumps to a dialog requesting user's contact information to get in touch with him. Everything is ready in general. I just have this difficulty and I did not find any solution that would solve my problem.

    
asked by anonymous 13.12.2017 / 14:46

1 answer

2

I've solved it! Tip given by a friend on the Stack in English. He suggested initializing a variable at the beginning of the zeroed dialog, and incrementing it every time the dialog fell into a specific node I needed. And then use this variable as the criterion for the node you wanted to trigger. It worked exactly as I needed it.

    
13.12.2017 / 18:23