What they are and how to use Builder subflows May 15, 2023 21:06 Updated Index What are subflows? Advantages of using subflows in your chatbot How to use subflows in Blip? See how to create, configure and use subflows in building your chatbot and in Blip and bring more agility to the development of your conversational flow. What are subflows? Subflows are a Builder feature that allows you to group different conversation blocks, simplifying and organizing complex conversational flows. Advantages of using subflows in your chatbot In addition to favoring the organization of the chatbot, the use of subflows brings other advantages, including: The construction and simultaneous editing of the same chatbot by two or more people. One of them can, for example, build and edit a subflow, while the other can build and edit the main flow. Creating an expert stream within another stream. This simplifies the assembly and vision of some chatbots, eliminating the need to develop a structure with a router. Simplified export of subflows from one chatbot to another. It will only be necessary to connect the subflow in the chatbot flow that received the import. How to use subflows in Blip? To use subflows in your chatbot on Blip, you must follow the steps below to add a new subflow to your chatbot. 1. How to create a subflow To create a subflow in Blip, add a block of type Subflow. Click on the “+” icon in the left side menu of the Builder and select “New subflow"; Then fill in the following subflow information: Subflow name (minimum 3 characters): mandatory; Image, description and tags: optional; After that, click on “Save”. 2. How to configure a subflow Now, let's see how to configure and define rules on subflows in Blip. Click "Configure Subflow" and define the following rules for your subflow tile: Exit conditions. The output conditions of a subflow block are defined as the common block; Entry and exit actions. The input and output actions are also defined as for a common block. 3. How to build a conversational flow in the subflow To build your conversational flow using a subflow, click on “Edit subflow”. After that, insert and configure the conversation blocks that will be part of the subflow and direct them to the "End" block. Finally, publish the subflow in the left side menu of the Builder for the changes to take effect in the chatbot. 4. How to export a subflow To export the subflow created is very simple, access the subflow by clicking on: “Enter the subflow”, click on “Configuration”. Then go to the “Versions” tab and click on “Download flow”. 5. How to import a subflow The process of importing subflows is also very simple. First, access the subflow by clicking on “Enter subflow” and click on “Setup”. Access the “Versions” tab, then click “Load flow” and select the previously exported file. Learn more details about how subflows work in this documentation. For more information, visit the discussion on the subject in our community or the videos on our channel. 😃 Related articles Creating interactive messages in WhatsApp Exit Conditions in the Builder Action: HTTP request Validating user input How to configure an active message response redirecting for an attendant in Blip Desk