Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Fallback Function


When a bot receives an input message that it couldn't understand, it would reply with a "Sorry, I can't understand" message. If you wish to customize this default response message to give a reply of your own, you can customize that with Fallback function.

Enabling Fallback Function

  1. In a bot's detail page, under the ACTIONS section, click on  ellipsis icon beside the ACTIONS section's filter.

  2. Click the Enable Fallback Function option. A pop-up window will be displayed for confirmation. Click OK.
  3. With this, Fallback function will be enabled and you will be redirected to the Fallback Function page.
  4. Save the function after constructing the required response.
Options to modify and disable Fallback function will also be available under the ACTIONS sectionunder the  ellipsis icon, once the Fallback Function is enabled.

Any changes made to the Fallback function will reflect in the bot after the bot is published.

Invocation point

Fallback function is executed when the bot is unable to understand a user input message.

Input arguments

In addition to the system defined input arguments, the following input arguments are also available for Fallback Function.

Argument
Deluge data type
Description
userInput
String
Latest reply from user.

Return value

Fallback function should return a map whose structure is similar to the return map of the Action Execution function.

Helpful?160
Updated: 1 year ago
Share :