Teneo Developers

Table of Contents

Was this page helpful?

Share to

Output nodes

Skip Conditions

Skip Conditions allow to specify a condition under which an Output node should be skipped by the conversational AI application. Skip Conditions are used to avoid redundant questions in dialogues when certain information is already known.

Imagine a Flow which allows the end-user to book a flight; if the user says I would like to book a flight, the AI application would need basic information such as the destination, and would with the above user input have to ask the user for the destination, i.e. Where do you want to fly to?

Now imagine the same scenario, but the user says I would like to book a flight to Heemskerk. In this case the question Where do you want to fly to? becomes irrelevant as the user has already stated the destination of the flight.

Therefore, as the Flow will need to contain an Output node with the question Where do you want to fly to? to be displayed when this information is not available in the input, Teneo Studio allows to add a Skip Condition to the Output node to skip this question when not relevant (because the end-user already provided the information).

So, Skip Conditions work in Flow Output nodes where user input is requested, or said in other words: where the Output node is followed by one or more transitions, and hence the Output node can be skipped and the next answer displayed instead.

Skip Conditions work with Listeners and Variables, and therefore before adding a Skip Condition, the user of Teneo Studio will need to set up a Listener and declare a Variable, so that any volunteered information, such as the destination of a flight, is recognized and stored.

Listeners and Variables
Expressions of Skip Conditions
Scripts and Groovy in Teneo Studio