Action Followups

Action Followups


Action Followups defines what the bot should recommend the user after executing an action, in order to engage the user further in conversation. The bot can display a list of suggestions or ask if it can invoke another action, that might be contextually useful to the user after completing an action.

The actions configured as followups can be the same action or some other actions, but those respective actions should be available under that corresponding Skill.

Displaying a list of suggestions

The bot can be made to proactively suggest the users with what more they can interact with the bot. This would facilitate the user to easily trigger the next action that would be contextually helpful, after the execution of an action. By configuring such contextually helpful actions as followups, the bot would immediately display a list of predefined suggestions when the running action completes. When the user selects an apt suggestion, the action configured for that suggestion would be invoked as the next action.

Example :
Consider a bot that is built for a task management application. After creating a new task, it would be contextual to display the following as suggestions to the user - "Start this task", "Show my open tasks", "Mark this task as Importantand so on. If the user clicks on "Mark this task as Important", the action to update the task status would be invoked.


Configuring Dynamic Followup Suggestions

To make your bot to display a list of suggestions dynamically in runtime as a followup, that can be passed as a Map value to the 'followup' key of the Execution handler output, as shown in the following format.

You can also set the param values for the followup action so that they will not be prompted again to the user while executing that action.
{
 "followup":{
   "suggestions":[
                  {
                   "message":"<chat suggestion that needs to be displayed to the user>",
                   "action":{
                             "name":"<namespace of the action that needs to be invoked>",
                             "params":[ 
                                       {
                                        "name":"<param_name>",
                                        "value":"<param_value>"
                                        } 
                                        //add other params as necessary  
                                       ]
                            }
                  }
                  //add other suggestions as necessary
                  ] 
            }
      }

Configuring Static Followup Suggestions

If you wish to configure Action Followups statically without using any code, then that can be configured in the Action's Details page itself by following the steps given below.
  1. Go to the Action's Details page of the Action to which you wish to configure the Followup Suggestions. Click ADD FOLLOWUP SUGGESTIONS under the FOLLOWUP SUGGESTIONS section.
  2. In the FOLLOWUP SUGGESTIONS pop-up window, do the following.
    1. Enter the appropriate suggestion texts in the text box under the SUGGESTIONS section.
    2. Click the drop-down under the MAPPED ACTIONS section and select the appropriate action to map with the given suggestion text.

      If the parent action is private, then all the public and private actions available under a particular skill will be listed in the dropdown. If the parent action is public, then only the public actions available under that skill will be listed in the dropdown.
    3. You can add more suggestions and map them with their appropriate actions by clicking on  icon, and remove any suggestion from the list by clicking on  icon. 
    4. Note:  Maximum of 5 suggestions can be added as followup suggestions to an action.
  3. The suggestions can be reordered using the  reorder icon next to each suggestion's text box.
  4. Click the UPDATE button after configuring all suggestion texts and their mapped actions.
  5. The configured followup suggestions would be listed under the FOLLOWUP SUGGESTIONS section as shown in the screenshot below.
  6. To make any changes to the existing followup suggestions list, click Configure in the FOLLOWUP SUGGESTIONS section and you can update them as per the requirements. 
    Note: If a particular action configured as followup suggestion was deactivated/deleted, then that action will be removed from the Followup Suggestions list automatically. 
    After configuring Followup Suggestions, the sample chat window would appear as shown below.


Prompting to invoke another action

In some cases, one action would be more appropriate to execute after an action rather than multiple actions. By configuring this action as a followup, the bot would ask the user with a prompt message to invoke this as the next action. The user can reply to the prompt with an appropriate message, and proceed with the conversation further.

Example : 
In the same task management bot, the user might have an action to view his next task. After viewing the next task, it would be contextual to ask him, "Would you like to start this task?". The user can reply to this prompt with an appropriate message to invoke the action which would start that task.


If the followup action has many params, and if you wish your bot to prompt a particular param for its value as first among other params, then you can specify that param name in the followup action's configuration. You can also set the param values for the followup action so that they will not be prompted again to the user while executing that action.

To make your bot to prompt the user to invoke any particular action as a followup, that can be passed as a Map value to the 'followup' key of the Execution handler output as shown in the following format.
{
   "followup":{
       "prompt":{
             "message":"<the message that needs to be prompted to the user>",
             "param":"<name of the param that needs to be prompted for value  at first when this action is executed>",
             "action":{
                            "name":"<the namespace of the action that needs to be invoked>",
                              "params":[
                                                 {
                                                    "name":"<param_name>",
                                                    "value":"<param_value>"
                                                  }
                                                   //add other params as necessary   
                                             ]
                                }
                          }
                   }
   }




    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION









                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Action Execution function

                                                                                                                The Execution function is the endpoint to an action execution. It defines the fulfillment of an action. This does the actual execution of the action and gives a final success (or failure) message to the user, as a result of the completion of an ...
                                                                                                              • Defining an Action

                                                                                                                Adding a New Action To add a new Action to a Skill, follow the steps as given below. In the Skill's details page, under the ACTIONS tab, click the + ADD ACTION option. The Create New Action page appears. Give a meaningful name for the action. Based ...
                                                                                                              • Testing an Action

                                                                                                                To ensure that your action doesn't have any functional issues, you may have to test your action before deploying it to production. In addition to that, you can also verify the user experience and ensure that it works as you have configured. To test ...
                                                                                                              • FAQ - Actions

                                                                                                                What is an action? An action is a single ability or a task that the bot performs when you give an instruction as a part of your conversation. For example, you can ask the bot to fetch your appointments for the day or ask it to schedule a meeting to ...
                                                                                                              • Model & Flow of Actions

                                                                                                                An Action of a Zia bot is characterized by its Sample sentences, Params and Functions. Params Params are the input data that are required to fulfill or execute an action. If we consider the execution of an action analogous to filling a form, then the ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources