The error responses is used when the chatbot is not able to understand the user’s response, that is, when it does not find a connection that meets the condition.
Wannabot offers different levels of error responses. Let’s see what types there are:
- General: It is the generic that we must include when we start to create our bot. At any point in the conversation, if the chatbot doesn’t understand the user, it will launch that message.
- Local: The error message is specific to each interaction and we can configure it within the interactions with the name “If the user’s response does not match”. In addition, we can include as many as we want to make the experience even better. For example, if the bot asks for an email and the user doesn’t give a valid email, we don’t want the general error to come out, we’ll configure one that tells you: check your email, please. This option is not available in all types of interactions. We usually use them within text and HTML.
- Global: The last case, we can also see it in the “Connections” section. Within the connections one of the options is “number of errors”. We can create a specific message to be sent when a certain number of errors have occurred. For example, the third time the chatbot doesn’t understand the user, it gives the option to call an agent.