How can we make the bot forward the failed question/utterance from the user to a registered email address?


(Yoga Ramya Mendu) #1

When the user is talking to the bot and if at any point the bot fails to understand the question, it should forward the failed question to the registered mail address. how does that work?


(Subrahmanyam Donepudi) #2

Please follow the below steps:

  1. At Natural Language, configure the default dialog to a hidden dialog (Say: intent not found)
  2. Have a service node in this dialog to trigger mail with data available in context as part of request payload
  3. Use the last message data available in dialog context to send to service which will trigger an email in the backend.

As an FYI, all intent not found records are listed under the respective tab of analyse section and may be this functionality could server the purpose. An export to CSV option is provided as well to download the utterances for which the intent has not been identified by the bot.