Skip to content

Flow Builder & Templates

The Flow Builder is where you design how your AI agent talks to customers. It’s like building a conversation path step by step.

The Flow is the overall logic and conversation journey of your bot. It’s how your agent guides customers through different topics and helps them find what they need.

Templates interface

Templates are groups of related conversations. Think of them as folders that organize your agent’s different functions. For example:

  • “Greeting” template - How the bot welcomes customers
  • “Product Questions” template - How the bot answers questions about products
  • “Support” template - How the bot handles customer issues

Blocks are the individual building pieces of your conversation. Each block has a specific job:

  • Send a message to the customer
  • Ask a question and collect an answer
  • Make a decision based on what the customer said
  • Connect to another part of the conversation

The Flow Builder includes two main block categories for building conversational flows: Response Blocks for communication and Logic Blocks for flow control.

Templates interface

Response Blocks (Communication & User Experience)

Section titled “Response Blocks (Communication & User Experience)”

These blocks handle direct communication, user experience, and AI interactions.

Block NamePurposeUse WhenDetails
Message BlockSends text messages to customers, supporting static text or dynamic attribute values.You need to display information or send a greeting messageSee details
Buttons BlockOffers pre-defined selection options (Quick Replies) and stores the user selection as an Attribute.You want customers to choose from predefined options (e.g., menu categories, product types)See details
Typing Indicator BlockEnhances user experience by simulating a typing indication for a specified duration.You want to add a natural pause before displaying a responseSee details
LLM BlockEnables conversations with the LLM Agent; requires configuration of the Agent’s prompt and fallback message.You want the agent to provide AI-powered, context-aware responsesSee details

Logic Blocks (Flow Control & Data Management)

Section titled “Logic Blocks (Flow Control & Data Management)”

These blocks govern the flow structure, gather critical data, and manage external integrations.

Block NamePurposeUse WhenDetails
Condition BlockDirects the conversation to branch out based on attribute values collected in previous blocks.You need to create different conversation paths based on customer choices or dataSee details
User InputCollects structured data from users by prompting them to fill in a form field, including validation settings.You need to gather specific information from the customer (e.g., name, email, quantity)See details
Redirect BlockAllows for the reuse of existing blocks or templates to reduce flow construction time.You want to avoid duplicating similar conversation sectionsSee details
End BlockTerminates the conversation flow at a specified point.You want to end the conversation at a particular point in the flowSee details
Recommendation BlockProvides specific product or shop recommendations; requires prior API Integration setup.You want to suggest products based on customer interactions and integrated inventory dataSee details
  1. Create a new template - Organize your conversation topics
  2. Add blocks - Drag blocks into your template to create conversation steps
  3. Connect blocks - Draw connections between blocks to create the flow
  4. Configure each block - Set up what each block says or does
  5. Test your flow - Talk to your agent to make sure it works
  • Keep it simple - Don’t make customers click through too many steps
  • Be clear - Use simple language customers understand
  • Offer choices - Use buttons or menus to guide customers
  • Handle errors - Plan for when customers ask something your bot doesn’t understand
  • Test thoroughly - Before publishing, test every conversation path

Main Flow - The high-level view showing how different templates connect together (the big picture)

Templates - The detailed view where you design conversations within each topic area (the details)

Most of your work happens in Templates where you create specific conversations.

  1. Review how blocks work to understand each block type better
  2. Learn about templates to organize your conversations
  3. Review messages to see how real conversations are happening