Estudos de Caso Empíricos e Registros de Decisão (ADRs)

Building an Intuitive Experience for Chatbot Construction

As new paths, questions, integrations, and business rules are added, it becomes increasingly difficult to visualize the chatbot's complete behavior through form-based configuration or config files alone.

chatflowcomposerinterfacequalityuser-experience

ChatFlowBuilder Composer: Building an Intuitive Experience for Chatbot Construction

Introduction

Creating service flows for chatbots can quickly become a complex task.

As new paths, questions, integrations, and business rules are added, it becomes increasingly difficult to visualize the chatbot's complete behavior through form-based configuration or config files alone.

The tool's goal is to let any user — technical or not — visually build service flows through a simple, intuitive, and highly interactive interface.

Instead of thinking in code, the user starts thinking in conversation.


The Challenge

Imagine needing to create a flow like:

text
Mensagem de Boas-vindas
        ↓
Perguntar Nome
        ↓
Perguntar Setor
        ↓
Se Atendimento
        → Transferir Atendimento

Se Suporte
        → Transferir Suporte

Caso contrário
        → Transferir Geral

When this flow is represented only through forms or lists, visualizing it becomes difficult. The user loses context.

Maintenance becomes more complex. And small errors can go unnoticed.


Visual Construction with Boxes

The main proposal of the ChatFlowBuilder Composer is to use a visual, block-based approach.

Each chatbot action is represented by an independent box.

Examples:

The user can see the entire flow just by looking at the canvas.

ChatFlowComposer flow

Visual Connections Between Components

Beyond the boxes, the connections between them play a fundamental role.

Each connection represents the next step in the conversation.

Example:

text
Mensagem
    ↓
Pergunta
    ↓
Condição
   ↙ ↓ ↘
 A   B  C

This visualization makes it easier to:

The flow becomes understandable in seconds.


Smart, Self-Explanatory Boxes

Each block displays important information directly in the interface.

For example:

A question can display:

text
Qual setor deseja falar?

as well as:

text
Salvar em: setor

This way the user quickly understands:

This significantly reduces the learning curve.

Message example

Configuration Through Detailed Modals

Clicking on a box opens a dedicated configuration screen.

Each modal has:

The goal is to turn configuration into a guided experience.

Question example

Features That Improve Productivity

When building large flows, small features make a huge difference.

That's why the Composer includes features such as:

Clone Box

Allows quickly duplicating similar components.

Example:

text
Pergunta Nome

Can be cloned to create:

text
Pergunta Telefone

with just a few adjustments.


Delete Box

Quick removal of unnecessary components.

Keeping the flow clean and organized.


Initial State

The flow has a clearly defined entry point.

This makes it easier to:

The user knows exactly where the conversation begins.


Benefits of the Visual Approach

Using a flow-based editor brings several advantages:

In many cases, simply observing the flow is enough to spot bottlenecks and opportunities for improvement.