To automate customer inquiry handling, loan officer assignment, and lead distribution for MFZ Zambia.
# MFZ AI Chatbot - Automated System
**Client:** MFZ Zambia (Microfinance)
**Platform:** Botpress (WhatsApp Cloud API & Webchat)
**Developer:** Seward Mupereri
**Objective:** To replace manual office-based lead distribution with an automated, 24/7 intelligent routing and support system.
---
## 1. Executive Summary
Previously, MFZ Zambia managed all customer inquiries and loan applications via a manual operator at the head office. This individual was responsible for answering WhatsApp messages, identifying customer needs, and manually assigning loan officers based on location.
The **MFZ AI Chatbot** fully automates this lifecycle. It qualifies leads, provides instant support via a curated Knowledge Base, and uses a smart distribution algorithm to assign customers to the nearest branch or loan officer without human intervention.
---
## 2. Core Operational Pillars
### ⚡ 24/7 Availability & Speed
Unlike manual processing, the bot is available every second of the year.
* **Zero Latency:** The bot processes natural language and queries internal databases in milliseconds.
* **Always Online:** Leads generated outside of business hours are captured and routed immediately, ensuring no customer is lost to a competitor due to a delay.
### 🎯 Absolute Accuracy & Compliance
The bot utilizes **Retrieval-Augmented Generation (RAG)** to ensure it only speaks from MFZ’s verified data.
* **Knowledge Base (KB):** Trained on specific MFZ policies and service descriptions.
* **Financial Boundaries:** To maintain compliance and professional standards, the bot is strictly programmed **not** to share interest rates, repayment amounts, or specific loan terms. These sensitive details are reserved for the assigned human loan officer to ensure a professional, personalized closing.
---
## 3. Key Technical Features
### A. Geographic Branch Routing
The bot uses a nested selection flow to guide users to the correct physical location:
1. **Province Selection:** User selects their region fro …