FNA Technology Header Logo
ServicesWorkAboutBlog
[ start a project ]
FNA Technology Footer Logo

Transforming your digital vision into reality. Software, AI, web & mobile — built for outcomes.

[email protected] footer link+91 8879510299 footer link
Share page:
MAIN
HomeOur ServicesProjectsCompany Blog
COMPANY
About UsContact UsLinkedIn
LEGAL
Privacy PolicyTerms & Conditions
© 2026 FNA TECHNOLOGY LLP — ALL RIGHTS RESERVEDIndia · UK · Middle East
Back to Projects
AI · SUPPORT · 2024

Khedmah - AI Chatbot

An AI-powered customer support chatbot built for Khedmah — Oman's trusted digital services platform. The chatbot assists customers with real-time order tracking and delivery support, providing instant, conversational help throughout the delivery experience.

Instant, bilingual, and intelligent — delivering a 24/7 conversational support experience for Oman's digital services platform.

Start a Similar ProjectView Live Site
Khedmah - AI Chatbot
conversation UI · order tracking
CASE ANALYSIS

Project Overview

Challenge

Khedmah needed a scalable way to handle high volumes of customer inquiries regarding digital services, bill payments, and order tracking. The existing human-only support model caused bottlenecks during peak hours, and customers expected instant resolution. The challenge was building an AI agent that could accurately understand bilingual queries (Arabic and English), integrate securely with Khedmah's backend to fetch real-time user data, and seamlessly hand off complex issues to human agents without dropping context.

Approach

We engineered a production-grade LLM architecture utilizing specialized intent-recognition models. The system was designed to classify user queries, securely retrieve transaction statuses via API integrations, and generate contextual responses in both English and Arabic. We implemented strict fallback mechanisms and human-in-the-loop escalation to guarantee reliability.

Outcome

The Khedmah AI Chatbot now autonomously handles a significant portion of tier-1 support queries, drastically reducing average response times and improving overall customer satisfaction. It operates 24/7 across multiple channels, including WhatsApp, providing a frictionless support experience for users.

CAPABILITIES

Key Features

Core capabilities built into the product to solve real user problems.

Bilingual Conversational AI

Natively understands and responds in both Arabic and English, handling regional dialects and mixed-language queries effectively.

Real-Time Service Tracking

Integrates with Khedmah's backend to instantly retrieve and communicate the status of bill payments, services, and orders.

Intelligent Handoff

Automatically detects when a user needs human assistance and seamlessly transfers the full conversation history to a live agent.

Multi-Channel Deployment

Deployed across web, mobile apps, and WhatsApp, ensuring users can get help on their preferred platform.

STACK ARCHITECTURE

Technology Stack

AI & NLP

  • Large Language Models (LLMs)
  • LangChain
  • Vector Embeddings

Backend

  • Node.js
  • Python
  • PostgreSQL

Integrations

  • WhatsApp Business API
  • Khedmah Core Systems

Short version: FNA Technology built and deployed a production-grade AI support chatbot for Khedmah, Oman's leading digital services platform. The agent deflects over 65% of incoming support tickets, handles bilingual queries (Arabic and English) natively, and executes real-time bill and order lookups via secure backend integrations, delivering a response time under two seconds.

The Bottleneck: Scaling Support for a Digital Nation

Khedmah is Oman's trusted platform for utility payments, mobile recharges, and government services. As user adoption surged, the volume of tier-1 support queries—predominantly users asking "Where is my order?" or "Has my bill been paid?"—began to overwhelm their human support team.

During peak hours, response times stretched, creating friction in an otherwise seamless digital experience. Traditional rule-based chatbots failed because they lacked conversational nuance, struggled with regional Arabic dialects, and required users to navigate rigid decision trees.

Khedmah needed an intelligent system that could interpret natural language in both Arabic and English, securely query user data, and provide instant resolutions—all while knowing exactly when to escalate to a human agent.

How Does the Khedmah AI Support Agent Work?

The AI support agent operates as a secure middleware layer between the customer (via WhatsApp or Web) and Khedmah's core backend systems. When a user submits a query, the system follows a deterministic pipeline to ensure accuracy and data security.

  1. Intent Recognition: The incoming message is processed by a fine-tuned Large Language Model (LLM) to determine the user's core intent (e.g., check_order_status, general_faq, human_escalation).
  2. Entity Extraction: The model extracts critical parameters like transaction IDs, phone numbers, or account numbers from the conversational text.
  3. API Orchestration: The agent triggers secure API calls to Khedmah's backend systems to fetch real-time statuses without storing sensitive user data.
  4. Bilingual Synthesis: The agent synthesizes a natural, context-aware response in the user's preferred language (Arabic or English) and delivers it in under two seconds.

Core Architecture and Technology Stack

To achieve high reliability and low latency, we designed a decoupled architecture prioritizing speed and security.

1. Conversational Engine (LLM & NLP)

We utilized a combination of LangChain and advanced Large Language Models for the conversational brain. By implementing Retrieval-Augmented Generation (RAG) with vector embeddings, the bot can accurately answer policy and FAQ questions by retrieving information directly from Khedmah's verified knowledge base.

2. Secure Backend Integrations

The agent does not rely on static answers for account-specific queries. It uses a secure Node.js and Python backend to execute live API queries against Khedmah's core systems. For example, if a user asks, "Did my electricity bill payment go through?", the agent authenticates the request, checks the transaction ledger, and replies with the exact status.

3. Multi-Channel Deployment via WhatsApp Business API

Recognizing that users prefer interacting on platforms they already use, we integrated the AI agent directly into WhatsApp using the WhatsApp Business API, in addition to the web and mobile app interfaces.

Overcoming Bilingual Challenges in AI Chatbots

A significant technical hurdle was ensuring the agent performed equally well in Arabic and English, particularly with Omani dialects and "Arabizi" (Arabic written in Latin characters).

Many out-of-the-box NLP solutions struggle with Arabic syntax and right-to-left context. We addressed this by implementing robust preprocessing pipelines and selecting LLMs that demonstrated high proficiency in cross-lingual transfer. The resulting agent natively understands context switching and can seamlessly handle a conversation that begins in English and shifts to Arabic.

Verifiable Metrics and Business Impact

The implementation of the AI support agent delivered immediate and measurable business outcomes for Khedmah.

  • 65%+ Ticket Deflection Rate: Over 65% of tier-1 support queries are now resolved autonomously by the AI agent without human intervention.
  • Sub-2-Second Response Time: Users receive instant, accurate answers to their queries, eliminating wait times during peak usage hours.
  • 24/7 Availability: Customers can track orders and resolve issues at any time of day or night.
  • Enhanced Human Agent Efficiency: By automating repetitive queries, Khedmah's human support agents are now freed to focus on complex, high-value customer interactions.

Comparing AI Agents to Traditional Rule-Based Bots

FeatureTraditional Rule-Based BotsFNA AI Support Agent
Interaction ModelRigid decision trees and keyword matching.Natural language understanding and context awareness.
Language SupportOften limited; struggles with dialects.Fluent in English and regional Arabic dialects.
Data IntegrationUsually disconnected from core systems.Real-time API integration for account-specific answers.
EscalationDrops context when transferring to humans.Seamless handoff with full conversational history.

Frequently Asked Questions

The system is designed with a privacy-first architecture. It does not store sensitive personally identifiable information (PII) or transaction data in the conversational logs. All data queries are executed securely via encrypted APIs, and data is only held in memory long enough to synthesize a response.

Currently, the agent processes text-based interactions. However, the architecture is designed to support audio transcription models (like Whisper) in future iterations to handle voice note queries.

The agent features a sophisticated confidence-scoring mechanism. If a query falls below a predetermined confidence threshold, or if the user explicitly requests human assistance, the agent triggers a seamless handoff to a live support representative, passing along the entire conversation history so the user doesn't have to repeat themselves.

PORTFOLIO

Related Projects

All Projects →
Pilot Compass - Aviation School Comparison Platform
WEB · PLATFORM

Pilot Compass - Aviation School Comparison Platform

A comprehensive web platform helping aspiring pilots find and compare DGCA, FAA, and EASA-approved…

View case study
LLM-Based Chatbot
SOFTWARE · SOLUTION

LLM-Based Chatbot

An advanced chatbot powered by Large Language Models, capable of context-aware conversations,…

View case study
AI Sales Bot
SOFTWARE · SOLUTION

AI Sales Bot

A conversational AI sales assistant trained to engage leads, answer product questions, qualify…

View case study
LET'S COLLABORATE

Need Similar Results?

Tell us your business goals and constraints. We will propose the right scope, stack, and timeline.

Start Your ProjectView More Case Studies