Multilingual customer conversations with OrelFlow
Explore multilingual WhatsApp AI Swahili with OrelFlow: customer journeys, connected records, team handoffs and practical launch steps.
By OrelFlow Editorial

A practical design guide for English–Swahili WhatsApp service: language choice, code switching, glossary control, numerical ambiguity, human escalation and a . With OrelFlow, you can shape customer conversations around approved knowledge, permitted actions and a clear route to your team. This guide explains how to connect that design to your OrelFlow solution and the work your customers need to complete.
Define the service before choosing a language model
List the customer tasks the service should complete: answering an opening-hours question, collecting an appointment request, explaining an order status supplied by an approved system, or routing a complaint. Then classify each task by consequence. A mistaken greeting is inconvenient; a mistaken price, date, payment instruction or appointment confirmation can change a customer’s decision.
Define the supported service languages explicitly. For an English–Swahili launch, decide whether staff can also review mixed-language conversations and whether regional terminology needs separate review. Avoid treating “supports Swahili” as a single acceptance criterion: a service might write a fluent greeting yet misunderstand a customer’s code-switched request for a refund.
Document prerequisites before procurement or build: approved business answers in both languages, an owner for each answer, an escalation queue with language-capable staff, and a way to inspect conversation outcomes. Also confirm current WhatsApp account, messaging, consent and billing requirements against the Meta WhatsApp Cloud API overview. That developer reference establishes a messaging interface; it does not establish any OrelFlow integration or a particular deployment arrangement.
Let customers choose; use detection only as a fallback
Language detection is a useful signal, not consent to change how someone is served. A first message may contain only “Hi,” a product name, or a number. Phone region, name and past language are also unreliable substitutes for a current preference.
Offer a brief choice when the preferred language is unknown: “We can continue in English or Kiswahili. Which would you prefer?” If a customer answers in Swahili, store that selection for the conversation. Permit a later change without making them restart. If they mix languages, respond in the language they requested while retaining necessary terms in the form they used. A reviewer should decide whether a mixed-language reply sounds natural and remains unambiguous.
Keep three fields separate: detected language, customer-selected language and reply language. Detection can help route a conversation; customer choice should normally govern the reply. Record why an exception was made, such as a human agent taking over. This distinction prevents a stray English product name from silently changing an otherwise Swahili conversation.
Build an architecture with explicit boundaries
A proposed workflow can separate messaging, interpretation, retrieval, decision-making and handoff:
- Receive the WhatsApp message and associate it with the correct conversation, subject to the approved messaging setup.
- Read the current language choice and only the customer context needed for this task. Do not assume an old preference still applies.
- Identify the request, any code switching, and entities such as a date, amount or order reference. Preserve the original text.
- Retrieve an approved answer or request authorized data from a business system. If neither is available, do not fabricate an answer.
- Draft in the chosen language, validate critical terms and numbers, and decide whether to send, clarify or escalate.
- Save the outcome and enough decision evidence for a reviewer, under an agreed access and retention policy.
An AI model can help interpret and draft, but business rules should determine which tools it may use and which actions need confirmation. The Azure OpenAI Responses API documentation notes that a supported deployed model and authentication are required; regional and model availability need checking. It does not establish that OrelFlow uses Azure or that any model will meet this service’s language-quality standard.
If the workflow needs multiple tool calls or a qualified agent handoff, use a written tool contract rather than assuming the model can safely decide every next step. The related guide to agentic WhatsApp workflow architecture develops that boundary in more detail.
Specify inputs and outputs before writing prompts
A field map makes language behavior inspectable. Field names below are illustrative design fields, not documented OrelFlow product fields.
| Field | Example input or output | Why it matters |
|---|---|---|
| `message_original` | “Naomba booking kesho at 3” | Preserves the customer’s wording for review. |
| `language_selected` | `sw` or `unknown` | Separates a stated choice from detection. |
| `language_detected` | `mixed: sw/en` | Flags code switching without overriding choice. |
| `intent` | `appointment_request` | Selects an allowed workflow, not an automatic booking. |
| `entities_raw` | `kesho`, `3` | Keeps ambiguous values intact. |
| `entities_confirmed` | `null` | Prevents an inferred date or time becoming fact. |
| `knowledge_reference` | Approved policy ID and version | Lets staff verify the answer’s source and effective date. |
| `decision` | `clarify`, `reply`, or `handoff` | Makes the next action explicit. |
| `handoff_reason` | `time_ambiguous` | Gives the receiving agent useful context. |
For that input, an appropriate illustrative output record is: `decision: clarify`; `reply_language: sw`; `entities_confirmed: null`; `reply_draft: “Unamaanisha saa 3 asubuhi au saa 3 jioni? Tafadhali thibitisha tarehe pia.”` A bilingual reviewer must approve wording for the intended audience. The key point is that the workflow has not created an appointment or converted “3” into an unverified time.
Keep customer-facing replies separate from internal notes. An agent may need the original phrase, a proposed interpretation and the reason for uncertainty; the customer needs a short, clear question. Record any correction without overwriting what the customer originally sent.
Treat numbers, dates and terminology as high-risk content
Translation errors are not limited to words. “1,500” and “1.500” can represent different quantities under different conventions. “06/07” could mean different dates. A customer may write a time without specifying morning, evening or time zone. Currency symbols can be omitted, and a translated unit may change the meaning of a price.
Define a confirmation rule for values that trigger action. The system should repeat the interpreted amount, currency, date and time in an unambiguous format before an appointment, quotation or other consequential step. If it cannot determine the intended value, it should ask rather than guess. Log both the raw text and the confirmed value so a reviewer can trace a dispute.
Create a controlled glossary for product names, fees, service stages, prohibited promises and terms that should remain untranslated. Give each entry an owner, approved English and Swahili wording where applicable, and a review date. A glossary is not a complete answer library: it controls terminology, while approved policy content establishes what the business can say. For maintaining the underlying answers and their effective dates, see the related guide to customer-support knowledge engineering.
Walk through a mixed-language request
Illustrative scenario—not an OrelFlow customer case: A customer writes, “Habari, can I move my booking to Friday? Nililipa deposit ya 1,500.” They have previously selected Swahili.
The service should preserve the original message, identify a rescheduling request, and recognize that the customer mentions a deposit. It should not infer which Friday, which currency, whether payment was received, or whether the deposit is transferable. If an authorized appointment record is available, a permitted lookup could identify the booking; otherwise, the service should ask for the minimum identifier needed under the business’s approved process.
A suitable next step is a Swahili clarification asking for the intended date and stating that staff will check the deposit terms against the booking. If a verified policy and record support a specific answer, the response can refer to them. If records conflict, the policy has expired, or payment status cannot be checked, the workflow should hand off with the original message, language choice, unresolved questions and any verified facts. It should not tell the customer the appointment has moved until the booking system or a responsible person confirms it.
This design may require access to booking and payment data. Those connections, permissions and their costs must be verified with the team; the scenario does not imply that they are available in OrelFlow.
Design failure paths and daily operating controls
Multilingual quality degrades when exceptions have no owner. Define what happens if the model returns the wrong language, a knowledge lookup finds conflicting answers, a business system is unavailable, a message cannot be delivered, or no language-capable agent is online. A safe fallback may be a short acknowledgement and a human-review task—not a plausible-sounding policy answer.
Specify routing and escalation rules for complaints, requests to change sensitive records, disputed amounts and repeated clarification failures. Send the agent the customer’s original text as well as any translation or summary; otherwise, a mistranslation can become the only version staff see. Tell the customer that a person is taking over, and avoid claiming an immediate response unless staffing supports it.
Assign an owner to review sampled conversations in each language and a second path for reporting a harmful answer. Reviews should distinguish language quality from factual accuracy, tool behavior and delivery failures. Restrict access to conversation records, agree on retention, and check applicable privacy and messaging obligations with appropriate advisers. After an incident, record the cause, corrected content or rule, affected conversation scope and regression test added. A glossary edit alone is not evidence that the whole failure path is fixed.
Measure each language separately
A combined success rate can conceal a poor Swahili experience. Build separate evaluation sets for English, Swahili and mixed-language messages, including short greetings, ambiguous numbers, unfamiliar terms, outdated policies, unavailable tools and requests that must reach a person. Include paraphrases rather than testing only the wording used in a prompt.
Define measures before launch:
- Language-choice adherence: replies in the customer-selected language divided by replies where a selection was known; review justified exceptions separately.
- Supported-answer accuracy: reviewed answers consistent with the approved policy version divided by reviewed answers eligible for an automated answer.
- Critical-value confirmation: consequential actions with an explicitly confirmed amount, currency, date or time divided by consequential actions requiring those values.
- Appropriate escalation: reviewed cases correctly handed off divided by reviewed cases whose rules required handoff.
- Unsupported-claim rate: reviewed replies that assert an unverified price, status or policy divided by reviewed replies.
- Resolution evidence: cases with a verified completed outcome divided by eligible cases; a sent reply alone is not resolution.
Report sample sizes and disagreements between reviewers alongside each measure. Agree on minimum sample sizes, pass thresholds and who can approve a release before evaluating. Test each language and each critical risk category independently; do not let strong English results offset an unsafe Swahili failure. Re-run affected cases when terminology, policies, prompts or integrations change.
Use an implementation acceptance checklist
A pilot is ready for decision only when owners can demonstrate the following against an agreed test set. Treat these as acceptance checks, not claims of existing product functionality:
- [ ] In-scope tasks, excluded tasks and human decision points are documented and approved.
- [ ] English, Swahili and mixed-language test sets include ambiguous dates, times, amounts, policy conflicts and escalation requests.
- [ ] Explicit language choice persists for the intended conversation and can be changed by the customer; detection does not silently override it.
- [ ] Approved answer content and glossary entries have owners, versions and review dates.
- [ ] Every critical test requiring confirmation asks for it before an action; no critical test invents a verified value.
- [ ] Staff can inspect the original message, confirmed facts, knowledge version and reason for handoff.
- [ ] Tool outages, conflicting records, failed delivery and unavailable staff follow tested fallback paths.
- [ ] Separate language results meet thresholds approved in advance; all release-blocking failures are corrected and retested.
- [ ] Account requirements, access permissions, retention, staffing, model usage, message charges and support costs have named owners and verified figures.
Run a limited pilot with a rollback owner and a clear stop condition, such as an unsupported consequential claim or an unhandled escalation. Expand scope only after reviewing actual conversations and updating the evaluation sets. The checklist is valuable because it converts “sounds multilingual” into observable service behavior.
Evaluate OrelFlow against the proposed design
OrelFlow’s generative AI automation page is a relevant starting point for discussing the language and decision workflow. Use a demo discussion to ask the team to trace one English, one Swahili and one mixed-language message from receipt through answer, clarification or human handoff. Request evidence for each required integration, permission and operating control rather than assuming a page description proves deployment availability.
Ask who maintains approved content, how agents see the original and translated text, and what happens when a lookup or delivery fails. Confirm pricing, onboarding, language review responsibilities and any applicable WhatsApp charges with the team. If considering a starting template, inspect the available shop options and verify that any candidate fits the same acceptance tests; a template should not determine the service policy.
FAQ
Should the AI automatically reply in the language it detects?
Not when detection conflicts with a clear customer choice. Use detection to offer a choice or help route an unknown-language conversation. Store the choice separately, allow it to change, and test messages containing borrowed words or product names. If the service cannot confidently support the requested language, explain the limitation and route to suitable staff rather than continuing with an unreliable translation.
Can one translated answer library support both English and Swahili?
It can provide a starting draft, but it needs bilingual review, controlled terminology and policy ownership. Check whether the translated answer preserves conditions, exceptions, dates and amounts—not just the general meaning. Test questions originally written in Swahili as well as translations of English questions. When the two approved versions disagree, pause the automated answer until the content owner resolves the conflict.
What should a buyer ask to see in a pilot?
Ask for conversation records showing customer language choice, original messages, approved answer versions, clarifications and human handoffs. Include mixed-language and numerical-ambiguity cases, plus a failed lookup and an unavailable-agent case. Agree on language-specific acceptance thresholds and review the underlying examples, not just a combined score. Confirm integrations, staffing, charges and escalation ownership before treating a successful demonstration as a deployable service.
Continue your implementation journey
Continue with Agent Tool Calling for CRM and Order Lookups: A Practical Design Guide. A practical design guide to AI agent tool calling for CRM and order lookups, covering read/write boundaries, typed contracts, authorization, evidence, failure Use its implementation checklist alongside this guide when mapping your OrelFlow workflow.
Continue with Evaluate Agentic AI Before Production: Conversations, Tools and Outcomes. A practical framework for evaluating agentic AI conversations, tool calls, abstention, human handoffs and production rollout gates. Use its implementation checklist alongside this guide when mapping your OrelFlow workflow.
Continue with AI Follow-ups on WhatsApp: A Customer-Aware State Machine. Design WhatsApp AI follow-ups that respect consent, stop after purchases, respond to replies, handle expired quotes and give owners control. Use its implementation checklist alongside this guide when mapping your OrelFlow workflow.
Build this journey around your business
Start your OrelFlow setup with one specific customer request. Bring the current conversation, the records the team checks and the action that should follow. Define what the assistant can answer, what a connected workflow can change and which decisions stay with your people. You can shape customer conversations around approved knowledge, permitted actions and a clear route to your team.
Use the steps in this guide as acceptance criteria for your own configuration. Walk through a successful request, missing information, an unavailable connected system and a request that needs a person. Agree how your team will measure completion and review exceptions before expanding to another customer journey.
Explore the relevant OrelFlow workflow, browse ready-to-customize templates, or plan the setup with our team. Template purchases and any separately scoped setup work should match the actual requirements of your business.
Sources and further reading
- https://developers.facebook.com/docs/whatsapp/cloud-api/overview/
- https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/responses