"AI-powered custom tool" is one of those phrases that sounds like a six-month project with a software house. For most Saudi service businesses it is much smaller than that. The most useful AI tool a clinic, real estate office, training centre or maintenance company can have is one that reads the enquiries that pour in every day, in Arabic and English, and turns them into clean records a person can act on.
This post walks through building exactly that: an enquiry triage tool. It takes a message (pasted from WhatsApp, email or a website form), uses an AI model to work out what the customer wants, pulls out the details, drafts a reply in the customer's language, and puts it on a shared board for the team. I'll show the data model, the prompts, where the AI call should live, and the mistakes to avoid.
The problem it solves
Walk into almost any Riyadh or Jeddah office that sells a service and you'll find the same thing: enquiries arrive on three or four channels, one or two people read them all, and the important details live in someone's head or a WhatsApp chat.
- A patient asks in Gulf Arabic about the price of a cleaning and whether Thursday evening is free.
- An expat asks in English about a two-bedroom flat in Al Olaya under SAR 90,000 a year.
- A company asks for a quotation for 20 employees on a first-aid course, with a purchase order.
Each message needs the same four things done: decide what kind of request it is, capture who it is and what they want, decide who handles it, and reply fast. A person can do this well for 20 messages a day. At 100, things get lost, especially on weekends and during Ramadan hours.
An AI model is good at exactly this kind of reading. It is not good at deciding prices or promising appointments, so the tool should keep a person in charge of those.
Step 1: Write down the data model first
Before opening any tool, decide what a "triaged enquiry" is. A good starting set of fields:
| Field | Example |
|---|---|
| received_at, channel | 2026-11-18 10:42, WhatsApp |
| raw_message | the original text, never edited |
| language | ar / en / mixed |
| category | booking, price question, quotation, complaint, other |
| customer_name, phone | if mentioned |
| details | service, date wanted, budget, quantity (as JSON) |
| urgency | normal / today / complaint |
| assigned_to | a team member |
| draft_reply | AI draft, in the customer's language |
| status | new, replied, won, lost |
Two rules matter more than the rest. Keep the raw message exactly as it arrived, so a person can always check what the customer really said. And keep the categories to five or six: an AI model will happily invent twenty, and nobody can work a board with twenty columns.
Step 2: Build the base app
I'll use Mythex here (I work on it), but the steps are the same in any tool that gives you a real database and server code. The first prompt describes the app, not the AI:
Build an enquiry triage tool for a service business in Riyadh.
Bilingual: Arabic (right-to-left, default) and English, with a language switch.
Database tables: enquiries (fields: received_at, channel, raw_message,
language, category, customer_name, phone, details as JSON, urgency,
assigned_to, draft_reply, status) and team_members (name, role, phone).
Screens: a "New enquiry" page with a big text box and a channel picker;
a board with columns New / Replied / Won / Lost; an enquiry detail page
showing the raw message next to the extracted fields.
Staff sign-in with email; only signed-in staff can open anything.
You get a working app with a Postgres database behind it and a live preview. Check the Arabic labels with a fluent reader at this point, before adding AI, because it's cheaper to fix wording now.
Step 3: Add the AI call, on the server, with your own key
This is the step most "AI tools" get wrong. The AI provider's key must never be in the browser, because anyone who opens the page could copy it and run up your bill. The model call belongs in server code, and the key belongs in a secret.
Get an API key from the provider you prefer (OpenAI, Anthropic, Google and others all handle Arabic well). In Mythex, the agent asks for it through a secrets card instead of the chat box, and stores it as a project secret:
Then the prompt:
When a new enquiry is saved, call the AI provider from the server
using the secret AI_API_KEY. Send the raw message and ask for JSON only,
matching this shape:
{ "language": "ar|en|mixed", "category": "booking|price|quotation|complaint|other",
"customer_name": string|null, "phone": string|null,
"details": { "service": string|null, "date_wanted": string|null,
"budget_sar": number|null, "quantity": number|null },
"urgency": "normal|today|complaint",
"draft_reply": string }
Validate the JSON against this shape before saving. If it fails,
save the enquiry with category "other" and show "needs manual review".
Never block saving the enquiry because the AI call failed.
The usage is billed by your AI provider, separately from the app builder. For a small office reading a hundred short messages a day, that's typically a small monthly amount, but check your provider's current per-token prices and set a spending limit in their dashboard.
Step 4: Write the instructions the model follows
The quality of the tool depends on a short set of instructions sent with every message. Keep them in a settings table so the office manager can edit them without a developer:
You read customer enquiries for [Business name], a [dental clinic] in [Riyadh].
Reply drafts must be in the same language and tone as the customer:
Gulf Arabic gets a polite Gulf Arabic reply, English gets English.
Never state a price, discount or appointment time that is not in the
price list below. If the customer asks for one, say a team member will confirm.
Price list: [paste]. Working hours: [Sun–Thu 9am–9pm, Sat 2pm–9pm].
Mark as "complaint" anything that mentions a refund, a bad experience or a
threat to post a review.
Two details from Saudi offices matter here. Customers often mix Arabic and English in one message and write phone numbers with Arabic-Indic digits (٠٥٥…), so ask the model to normalise numbers to Western digits in the phone field. And dates arrive as "بعد العيد" or "next Thursday", so store date_wanted as text and let a person confirm it, rather than trusting a parsed date.
Step 5: Routing and the board
Now make it useful for the team:
Assign enquiries automatically: bookings and price questions to the
reception team, quotations to the sales manager, complaints to the owner.
Show urgency as a coloured badge. On the detail page add buttons:
"Copy reply", "Open WhatsApp chat" (wa.me link with the phone number
and the draft reply filled in), and "Mark replied".
Add a daily summary page: enquiries by category and channel, and how
many are still New after 2 hours.
The "Open WhatsApp chat" button is deliberately simple. A person still presses send. Fully automatic WhatsApp replies need the WhatsApp Business Platform through Meta or a provider, approved message templates, and care, and I'd only add that once the team trusts the drafts.
Step 6: Test it with real messages
Before anyone relies on it, collect 30 real enquiries from last month (remove names and phone numbers), paste them in, and score the results:
- Was the category right?
- Were the extracted details right, or did it invent any?
- Would you send the draft reply with small edits?
If the drafts promise things they shouldn't, tighten the instructions. If categories are wrong, rename them to words the model can't confuse ("price question" vs "quotation for a company"). Expect to adjust the instructions two or three times. That is the real "development" in an AI tool.
What the team gets
- One board for every channel, in Arabic and English.
- Every enquiry stored in a proper database, with the original message kept.
- A draft reply in seconds, which a person checks and sends.
- Its own web address, and on a paid plan your own domain (for example
enquiries.yourclinic.sa). - On Mythex Pro, the same app as an Android app (Google Play internal testing) or an iPhone app (TestFlight) for staff who live on their phones.
Honest limits
- Personal data. Enquiries contain names, phone numbers and sometimes health details. Saudi Arabia's Personal Data Protection Law applies, and sending text to an AI provider means it is processed by that provider, often outside the Kingdom. Read your provider's data terms, choose options that don't train on your data, collect only what you need, and if your data must stay in-country, confirm hosting before you build. For clinics, take this especially seriously.
- The model will sometimes be wrong. That's why the raw message stays visible and a person sends every reply.
- It doesn't read WhatsApp by itself in this version. Staff paste or forward messages. Connecting WhatsApp directly is a separate, bigger step.
- Someone has to own the instructions. When prices or hours change, the instructions must change too.
For teams
If reception, sales and the owner all use the tool, keep it in a shared team workspace rather than one person's account. On Mythex that's the Business plan, from $50/month: shared workspace, roles, members-only apps that only signed-in colleagues can open, and Google Workspace sign-in for your company domain. Pricing is on the pricing page. If you're comparing AI app builders for Saudi Arabia in general (Arabic support, bilingual apps, mada payments, where Salla and Zid fit), there's a longer guide for Saudi businesses.
Start with one channel
Don't connect everything on day one. Pick the channel that loses the most enquiries (for most offices that's WhatsApp on weekends), paste those messages into the tool for two weeks, and see whether replies get faster. If they do, add email and the website form. That's an AI-powered custom tool your team will actually use, and you'll have built it in an afternoon rather than a quarter.

Top comments (0)