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

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

contact@fnatechnology.com footer link+91 8879510299 footer link
Share page:
VERIFIED ON
TechBehemoths Verification
MAIN
HomeOur ServicesOur ProductsProjectsCompany Blog
SERVICES
AI DevelopmentAI ChatbotsAI AgentsWeb AppsMobile AppsSaaS DevelopmentCustom SoftwareProduct & UX DesignSupport & Maintenance
COMPANY
About UsContact UsLinkedIn
LEGAL
Privacy PolicyTerms & Conditions
© 2026 FNA TECHNOLOGY LLP — ALL RIGHTS RESERVEDBuilt in India · Clients in India, the UK & the 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 a production AI customer support chatbot for Khedmah, Oman's digital services platform. It understands Arabic and English natively, looks up bill payments, services and orders in real time through secure backend integrations, runs on WhatsApp, web and mobile, and hands complex cases to a human agent with the full conversation history attached.

Project Facts at a Glance

ClientKhedmah, Oman's digital services platform (khedmah.om)
Built byFNA Technology
Project typeAI customer support chatbot (LLM + RAG)
Year2024
LanguagesArabic (including regional dialects) and English, with mixed-language support
ChannelsWhatsApp Business API, web, mobile apps
AI & NLPLarge Language Models, LangChain, vector embeddings, intent-recognition models
BackendNode.js, Python, PostgreSQL
IntegrationsWhatsApp Business API, Khedmah core systems
EscalationConfidence-based handoff to live agents with full conversation context

The Challenge: Scaling Support for a Digital Services Platform

Khedmah is Oman's trusted platform for digital services, bill payments and order tracking. As more customers came onto the platform, the volume of routine questions grew with it. Most of them were variations of "Where is my order?" and "Has my bill been paid?"

The support model was human-only, and that created bottlenecks during peak hours. Customers expected an instant answer, and a queue was the opposite of what a digital-first service should offer. Traditional rule-based chatbots were not a realistic fix. They depend on rigid decision trees, they handle regional Arabic poorly, and they cannot fetch live account data.

The brief for FNA Technology had three parts:

  • Understand bilingual queries in Arabic and English, including dialects and mixed-language messages.
  • Connect securely to Khedmah's backend to fetch real-time user data.
  • Hand complex issues to human agents without dropping context.

How Does the Khedmah AI Support Agent Work?

The agent sits as a secure middleware layer between the customer (on WhatsApp, web or mobile) and Khedmah's core systems. Every message follows the same four-step pipeline, which keeps answers accurate and sensitive data protected.

  1. Intent recognition: Specialized intent-recognition models classify what the customer wants, for example checking an order status, asking a general question, or requesting a human.
  2. Entity extraction: The model pulls out the details needed to act, such as a transaction ID, phone number or account number, from natural conversational text.
  3. API orchestration: The agent calls Khedmah's backend through secure APIs to fetch the live status, without keeping sensitive user data in conversation logs.
  4. Bilingual response: The agent writes a clear, contextual reply in the customer's language, Arabic or English.

If a request falls below a set confidence threshold, or the customer asks for a person, the agent escalates instead of guessing.

Architecture and Technology Stack

We designed a decoupled architecture so each layer can be improved or scaled on its own, with speed, reliability and data security as the priorities.

Conversational engine: LLMs, LangChain and RAG

The conversational layer combines Large Language Models with LangChain for orchestration. For policy and FAQ questions, we use Retrieval-Augmented Generation (RAG) with vector embeddings. The bot retrieves the answer from Khedmah's verified knowledge base rather than improvising, which keeps responses grounded in approved content.

Secure backend: Node.js, Python and PostgreSQL

Account-specific questions never get a static answer. A Node.js and Python backend, with PostgreSQL, runs live queries against Khedmah's core systems. When a customer asks whether a payment went through, the agent authenticates the request, checks the transaction record and returns the actual status. Queries run over encrypted APIs, and data is held only long enough to compose the reply.

Multi-channel delivery: WhatsApp Business API

Customers prefer to ask for help where they already are. We integrated the agent with the WhatsApp Business API and deployed the same agent across web and mobile apps, so the experience and the logic stay consistent on every channel. If you are planning something similar, see our WhatsApp chatbot development services.

Solving the Bilingual Challenge: Arabic and English

Arabic support was the hardest technical requirement. Many off-the-shelf NLP tools struggle with Arabic syntax, regional dialects and right-to-left context, and customers often switch languages mid-conversation.

We handled this with preprocessing pipelines for Arabic input and by choosing models with strong cross-lingual performance. The agent understands mixed-language queries and replies in the language the customer is using. We apply the same approach to our Arabic chatbot development work for businesses across the GCC.

Privacy-First Data Handling

Support conversations about bills and orders involve sensitive information, so the agent was designed around privacy from the start. It does not store personally identifiable information (PII) or transaction data in its conversational logs. Every data query runs through an encrypted API, and the information is held in memory only long enough to compose the response.

This matters for two reasons. It limits what could be exposed if conversation logs were ever accessed, and it keeps Khedmah's core systems as the single source of truth. The agent reads live data, answers, and moves on, rather than building a second copy of customer records.

Human Handoff: Knowing When Not to Answer

A support bot is only as trustworthy as its willingness to step aside. The agent uses a confidence-scoring mechanism on every query. When confidence falls below a predetermined threshold, or when the customer explicitly asks for a person, it triggers a handoff to a live support representative.

The transfer carries the entire conversation history. The human agent sees what was asked, what the bot answered and which details were already provided, so the customer does not have to start again. This is the difference between a chatbot that deflects customers and one that actually resolves their issues.

What Is Next: Voice Notes

The agent currently processes text-based interactions. Because many WhatsApp users send voice notes, the architecture was designed so that audio transcription models, such as Whisper, can be added in a future iteration to handle voice queries without redesigning the pipeline.

Results: What Changed for Khedmah

The chatbot now handles a significant share of tier-1 support queries on its own, which has drastically reduced average response times and improved the overall customer experience.

  • Instant answers on routine queries: Order, bill and service status questions are answered by the agent in real time instead of waiting in a queue.
  • 24/7 availability: Customers can track orders and resolve issues at any hour, across WhatsApp, web and mobile.
  • Fewer repetitive tickets for the team: Human agents are freed to focus on complex, higher-value conversations.
  • No lost context on escalation: When a person does step in, they receive the full conversation history, so the customer never has to repeat themselves.

AI Agents vs. 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.Arabic (including regional dialects) and English, with mixed-language handling.
Data integrationUsually disconnected from core systems.Real-time API integration for account-specific answers.
Knowledge answersFixed scripted replies.RAG over a verified knowledge base.
EscalationDrops context when transferring to humans.Confidence-based handoff with full conversational history.

Build a Similar AI Support Agent

The Khedmah project is one example of how we deliver production AI agents: senior engineers, secure integrations with your existing systems, and a design that knows when to hand over to a human. To see the wider capability, explore our AI chatbot development services and AI agent development.

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.

SERVICES USED

Need something similar?

AI Agent Development Company →AI Development Services →Arabic AI Chatbot for Business →Food Delivery App Development →Support & Maintenance →
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