Fork Block

Fork Block

What is a fork block?

A fork block splits the conversation flow into two or more paths based on predefined conditions. The customer input received via a block is stored under a placeholder called "Block variables."
Conversation flows can take different paths, depending on the conditions set for these block variables. 
The conditions used in Fork can involve the following variables:
  • Block
  • Global
  • Local
Idea
For example, after a user selects a device and navigates to the problem section, they have to choose the type of problem. The options for the type of problems can be mapped to the customer's input in the following manner: 
  • Criteria 1: The input variable "@problem type" must be mapped with "Faulty display and Overheating battery." We can map this input variable "@problem type" to faulty display and overheating battery.
  • Criteria 2: The input variable "@problem type" must be mapped with "Faulty camera".
  • Criteria 3: The input variable "@problem type" must be mapped with "Broken screen".
Each problem will lead to a different path, so based on the customer's input, they will be directed to the appropriate direction.


Why use a fork block?

  1. Personalized user experience: The fork block allows for tailored responses, guiding users down different paths based on their input or preferences, creating a more personalized interaction.
  2. Dynamic conversations: By splitting the conversation into multiple paths, the chatbot can handle complex scenarios, making the conversation flow more adaptive and responsive to user needs.
  3. Efficient problem solving: It enables the chatbot to make decisions based on predefined conditions, helping users reach the right solution or action faster.
  4. Versatile use cases: It supports a variety of applications, from simple cases to complex scenarios like branching based on user data or behavior, increasing the bot's functionality.
  5. Improved user engagement: By guiding users through relevant paths, the fork block helps maintain user engagement by ensuring the conversation stays relevant and meaningful.

Steps to create a fork block

Learn how to create a flow here.

To add the Fork block to the flow:

 

1. Click the add block icon (+)

2. Choose Fork under the Action Cards section.



3. Add a unique name for the block in the Block name field.

4. Add Path Name.


5. Create a Criteria as required.

  1. Choose a variable.
  2. Select the required operation.
Info
Available operation includes:
=
<>
<
<=
>
>=
is empty
is not empty
6. Click the (+) icon to add multiple criteria to the same path, if required. 

Info
You can add the path name as "else" or whatever you prefer.

7. You can add multiple paths by clicking Add Path.

 

8. Click Save.

 

 

Steps to edit a fork block

You can edit a fork block whenever required, even after the flow is published or in the drafts section, by following these steps:

1. Open the flow and click Edit.


2. Click the
Fork Block, which you may have named differently.

3. Choose Edit Block from the displayed options.


4. Make the required changes to the block and click Save.

5. Click Save
6. Publish the flow.

Steps to copy the fork block  

The copy block option can be used when you need to reuse a block that you previously created; you can copy that block and add it to your flow as it is or edit it according to the requirement.

1. Click the Fork Block you wish to copy.
2. Choose the Copy Block option. The block will be pasted on the clipboard.
3. When you require to paste that block, click the Add block icon (+).  
Info
The pasted block would appear on the block listing section and be stated as From Clipboard.
4. Make any required edits, then click Paste.


Notes
To be noted while copying a fork block:
  1. The copied fork block can be pasted multiple times. If you no longer need to paste it, you can clear the clipboard by clicking the close icon corresponding to the clipboard option.
  2. When copying an existing fork block, all of its content, including any variables, will be copied as is. You can edit it as needed before adding it to the flow. Since the names of each block must be unique, the word '_copy' will be added to the copied blocks automatically; this can be changed if required.
  3. If you have copied a block and it is in the clipboard, deleting the copied block later will also remove it from the clipboard. 

Steps to delete a fork block

1. Open the flow and click Edit.


2. Click the
Fork block, which you may have named differently.

3. Select Delete Block from the displayed options.


4. Click Yes, Delete it to confirm.


Info
You can use the undo option to restore a deleted block as your following action, but not otherwise.



5. Click Save
6. Publish the flow.


Notes
To be noted while copying a fork block: 
  1. If you delete a fork block while an end user is engaged in a live session with the bot, the previous version of the flow will be rendered until they restart the conversation.
  2. After making changes, you will need to publish the flow for those changes to be reflected in an end user's session.

If the deleted block has dependencies, such as those given below, errors will be displayed.  

Path below the block:
selectedImg


If the block was used to jump to a different flow:

Idea

Use case

Zorro Tours is providing a kayaking experience with a maximum of ten participants. If the user chooses a number more than 10, the user has to be shown that it isn't allowed. This can be achieved in the GC bot through the fork block.

Input given in GC:



GC output:

Supported channels  

The fork block is supported in the following channels:

Notes

If you exceed the limit of 500 blocks in a flow, you have a couple of options to continue building the flow:

1. You can create a new flow and use a jump block to connect both flows. 
2. You can also remove any unnecessary blocks or paths to free up space within the existing flow.

    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






                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Offline Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                                                                              • Components of the GC Flow Builder

                                                                                                                The GC flow builder comprises three components: Blocks Paths Variables Blocks Blocks are the fundamental units of the flow builder. A text message that you want to display, a set of options that you want the customer to choose, the step where you ...
                                                                                                              • Button Block

                                                                                                                What is a button block? The button block is a type of choice block that presents users with one or more options in the form of buttons. This block enhances user interaction by allowing them to select their preferred option from a predefined list of ...
                                                                                                              • Number Block

                                                                                                                What is a number block? A number block allows you to ask questions and receive answers in the form of numbers. For example, if a customer has questions about their order and needs to provide an order ID, a number block can be incorporated into the ...
                                                                                                              • Text Block

                                                                                                                What is a text block? Text block lets you ask questions and receive answers in the form of a text. If the user wants to give a gist about a specific problem or positive feedback after using the product, incorporating a text block is an ideal method ...
                                                                                                              • URL Block

                                                                                                                What is a URL block? The URL block allows you to ask users for input in the form of a URL. By incorporating the URL block, chatbots can handle more complex interactions, improve problem resolution times, and provide a richer user experience. Why use ...
                                                                                                                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