Free
Introduction
In this guide, you'll learn step-by-step how to create new subflows within your chatbot and efficiently manage them through the flow overview.
Subflows are essential components that help organize complex interactions, streamline processes, and enhance user experience.
Creating a New Subflow
To begin, every chatbot starts with a main flow, which acts as the entry point—such as onboarding or welcoming new users. Creating subflows allows you to modularize your chatbot's logic.
Steps to create a subflow:
Locate the top right corner of your interface.
Click the blue button labeled
+ New Subflow
.Choose the type of subflow from the options provided.
Types of Subflows
Type | Description | Use Case | Example |
---|---|---|---|
Channel-Specific Flow | Tailored to a specific messaging platform | Building platform-specific interactions | Telegram, Messenger, WhatsApp |
Function Flow | Handles repeated tasks | Prevents repetitive tasks, manages data | Email collection, user segmentation |
WorkFlow | Handle backend task |
1. Channel-Specific Flow
This is a standard flow designed for a particular channel. For example, if you're building a Messenger bot, the flow will be tailored for Messenger instead of Telegram. You can customize interactions specific to each platform.
2. Function Flow
This flow is used to perform backend operations. It helps avoid repetitive tasks such as asking for emails or other data. Once the function flow completes, it can return the user to the original flow, allowing seamless continuation.
Managing Flows Inside the Overview
The flow overview provides a visual map of all your flows and subflows.
You can edit, duplicate, or delete subflows directly from this interface.
Switching between flows is straightforward, enabling quick adjustments and testing.
Key Features of Function Flows
Prevents repetitive questions by automating backend processes.
Allows users to be redirected back to the main flow after completing backend tasks.
Supports complex workflows with conditional logic and data management.
Best Practices
Use channel-specific flows to customize user experience per platform.
Implement function flows to streamline backend operations and reduce user frustration.
Regularly review flow performance via the overview to optimize interactions.
Summary
Creating and managing subflows is crucial for building robust, scalable chatbots. By leveraging channel-specific and function flows, you can personalize interactions and automate backend tasks efficiently. The flow overview serves as a central hub for organizing and refining your chatbot's logic, ensuring a smooth user journey from start to finish.