Monitoring and Continuous Improvement of Flows in Controlled Flows
To ensure that the flows operate correctly, it is essential to monitor the processes of ClaudIA and Controlled Flows.
We have a platform called HUB, where all interactions that have gone through ClaudIA are recorded. In the HUB, it is
possible to view the services, track flows called by Controlled Flows, and identify opportunities for improvement,
ensuring increasingly efficient and well-monitored service.
Overview of the HUB: Main screen displaying the conversation history of ClaudIA
The HUB functions as a central dashboard that allows auditing, analyzing, and improving customer service. It offers a
detailed view of the conversation flow, helping to identify potential bottlenecks and facilitating actions for
continuous optimization.
Flow Tracking in HUB: Example of a conversation indicating the start of the flow in Controlled Flows and the return
signal to ClaudIA at the end of the interaction.
HUB Features
β Complete record of conversations: All messages exchanged between clients and ClaudIA are stored for analysis and
auditing.
β Monitoring of Controlled Flows: Whenever ClaudIA triggers a flow from Controlled Flows, the HUB displays a signal with
the flow name and the messages exchanged within it, allowing for tracking the customer journey.
β Indication of flow end: When a flow is completed, there is a return signal to ClaudIA, allowing understanding of when
the service returned to the AI.
β Audits for continuous improvement: The HUB allows for strategic adjustments, such as refining N1 and N2 content,
creating interactive flows, and identifying failure points that impact customer experience.
β Monitoring of errors in Controlled Flow requests: If there is any failure in API calls or integrations within
Controlled Flows, the HUB allows for the identification of these failures, enabling quick corrections to avoid impact on
service. A high-level block with a log is displayed at the moment of failure to facilitate problem identification.
Example of log in Hub: indication of failure in a Controlled Flow request
The Hub is an essential tool to ensure efficiency, transparency, and constant evolution of service, providing a
strategic view of the interaction between ClaudIA, Controlled Flows, and customers.
The following features are available for analysis and optimization:
Identification of Controlled Flow Call Moment
- In the Hub, it is possible to visualize exactly when a Controlled Flow was called within a conversation.
- The start and end of the flow are recorded, allowing for clear tracking of what happened during execution.
Suggested Process for Testing and Improving Controlled Flows
To ensure the quality and continuous evolution of the flows created in Controlled Flows, it is essential to follow a
structured process of testing and improvements. Since Controlled Flows does not have a native version control, best
practices include backups, isolated testing, and validation before publication.
Building and Modularization
- Whenever possible, break complex flows into smaller, reusable parts.
- Use calls between flows to facilitate maintenance and avoid rework.
- Ensure that all conditions (if/else) are correctly filled to avoid incorrect decisions.
Testing Before Publication
- Before publishing any changes, duplicate the flow and conduct tests in an isolated environment.
- Run complete simulations, checking decision logic, messages sent, and configured integrations.
- Validate response times by observing the interval between the client's message and ClaudIA's response in the HUB.
This helps identify potential slowdowns in requests, even without an exact detail of the duration. Avoid requests
that may exceed the 45-second timeout.
Backup and Change Control
- As there is no native versioning system, download a copy of the flow before any modification.
- Publish only after all changes are validated to avoid unexpected failures.
- If a downgrade is necessary, use the saved version to quickly restore the previous flow.
Monitoring and Continuous Improvement
- Monitor the execution of flows in the HUB, checking which were called and if there were any failures or unexpected
deviations.
- Analyze logs and error messages to identify optimization points.
- If recurring failures occur, adjust the decision conditions and alternative flows to ensure smoother service.
This structured process minimizes errors, optimizes Controlled Flows performance, and improves the customer experience,
ensuring that each flow works as effectively as possible.