Handling small talk correctly when in middle of task when entity value can not be validated

Hi,
I have a dialog task where user is asked to provide description of issue they are facing. With this entity value, i am calling API with service node and displaying the output of API to user as resolution of issue. The entity type is description. There is no validation as description is a free form text. So, message node has prompt - ‘Please provide description of the issue’. If user replies with ‘Sure’, then then instead of considering this value as description, it should respond with small talk response, something like ‘Ok great’ and then repeat the message asking user to provide description. I have configured Sure in small talk and tried with interruptions settings but it is always calling the API with sure as entity value. Can you please guide me on how can I resolve this?

Hello Vyas,

Welcome to Kore.ai Community, we are glad to have your here.

Please find the below response for your query.

If you want to handle the “Sure” case explicitly, add a conditional branch within the message node.
Use the captured text to check if it matches “Sure”.
If it matches, trigger a separate message node with a small talk response like “Ok, great!”
If it doesn’t match, continue processing the captured text as the issue description.

Hope this helps.

Thank you,
Srujan Madderla
Kore.ai Community Team