Take complaints in any language
Workflow purpose
This guide demonstrates how to use Proto's AI agent to take complaints in the languages people actually speak, while your team works in one language.
The workflow lets the person choose their language at the start, then runs every message, question and button in that language. Voice notes are transcribed, so people who prefer to speak than type can complain the same way. Live agents read and reply through live translation in the Inbox, and each ticket gets a translated summary in your working language, with the person's original words kept alongside.
A complaints channel that only works in an official or business language shuts out the people most likely to be harmed and least likely to complain. Proto supports low-resource languages such as Kinyarwanda, Oshiwambo, Tagalog and Cebuano for text, so the channel can reach them.
Who can benefit from this guide:
- Regulators and ombudsman schemes serving multilingual populations
- Government agencies with several official or widely spoken languages
- Banks, mobile money providers and telecom operators serving rural customers
- Health services taking patient complaints across language groups
- Grievance-redress units on development programmes
Take complaints in any language
This workflow runs complaint intake in the person's language and hands your team a ticket in its own. See how to build a multilingual complaints workflow.
1. Create a trigger
Let people choose or change their language at any point in the chat.
- Navigate to the Workflows tab in the AI agent settings.
- Click New workflow and select Message received as the Workflow type.
- Name the trigger (e.g. “Choose Language”) and add a short description (e.g. “Triggers if user asks to change language or to speak in another language.”).
- Add training phrases in each language you support (e.g. “Change language”, “Can I write in Kinyarwanda”, “Parlez-vous français”, “Nshaka Ikinyarwanda”).
Training phrases are stored per language, like every message in the builder – see Step 4.
2. Turn on your languages
Tell the AI agent which languages it works in.
On the AI agent’s Agent tab, open Languages:
- Languages: every language you’ll take complaints in, e.g. English, French and Kinyarwanda
- Default language: the language used when the person’s language can’t be detected
The AI agent detects the language of each message from the languages you’ve turned on and replies in it. Your plan sets how many languages one AI agent can have.
3. Offer a language choice at the start
Don’t rely on detection alone – a greeting like “hello” or a reference number tells the AI agent little about a person’s language.
In the default Chat started workflow, add a Send message action:
“Welcome. Which language would you like to use? | Murakaza neza. Ni uruhe rurimi wifuza gukoresha? | Bienvenue. Quelle langue souhaitez-vous utiliser ?”
Add quick replies, each written in its own language: English | Ikinyarwanda | Français. In the Choose Language workflow from Step 1, add a Jump action to this message, so people can change their mind later.
Under a Message received sub-trigger for each option (training phrases: the language name in English and in that language), add:
- A Switch language action with Target language set to that language.
- A Set variable action with Variable name
chat_languageand Chat script e.g."Kinyarwanda"– there is no built-in variable for the current language, and Step 6 needs it.
Switch language also offers Disable language detection. Add a second Switch language with that option after the first, so a person who chose Kinyarwanda but types one word of English isn’t switched mid-complaint. The language then stays fixed until they choose again. Because the AI agent now matches messages only in the chosen language, add phrases such as “English”, “Français” and “Change language” to the Choose Language trigger’s training phrases in every language, so a person can always find their way back.
4. Write every message in each language
Give the person a complaint journey that reads as if it were written in their language, because it was.
Use the language dropdown at the top right of the builder (e.g. English) to switch the language you’re editing. The text in each Send message, its quick replies, every Ask survey question and invalid reply, carousel titles and descriptions, and each trigger’s training phrases are stored separately per language. Switch to each language and fill in every action.
Build the complaint itself once. Add a Jump action to your complaints intake trigger, and translate the intake’s messages and survey questions in the same way. Variable names stay the same in every language, so tickets and routing don’t change.
Have a native speaker check the translations, especially invalid replies and legal wording. A machine translation of “Please provide a valid phone number” can read as an accusation in some languages.
5. Accept voice notes
Let people who prefer to speak – or who don’t read and write easily – make a complaint by voice.
On the AI agent’s Voice tab, under Speech-to-text, turn on Enable speech-to-text recognition and choose the Languages to transcribe – around 90 are available. Voice messages on WhatsApp and Webchat are then transcribed, and the transcript is treated as typed text, so survey answers, triggers and Auto fill field all work on it.
Under Text-to-speech, the AI agent can reply to a voice message with a voice message in the languages you select – Kinyarwanda and Oshiwambo use Proto’s own voice models, and other languages use a general-purpose voice. Turn on Include audio transcript so the person also gets the reply as text.
Tell people they can speak, in the opening message of intake:
“You can type your complaint or send a voice message.”
6. Keep the ticket in your working language
Give investigators a ticket they can read, without losing what the person actually said.
In the complaints intake, before Create ticket, add an LLM Processing action. Action title: Translate for the team
- Input:
{complaint_description} - Model: your preferred model
- Temperature: 0
- System Prompt: “Translate this complaint into English. Keep names, amounts, dates and reference numbers exactly as written. If a word has no clear translation, keep the original word in brackets. Reply with the translation only.”
- Resulting variable:
complaint_translated
Under the Error and Timed out branches, add a Set variable with Variable name complaint_translated and Chat script complaint_description, so the ticket is still created.
Then set the Create ticket fields:
- Subject: Complaint ({chat_language}) – {first_name} {last_name}
- Description:
{complaint_translated}, then a line Original ({chat_language}):, then{complaint_description} - Auto-apply tags: complaint, plus a tag for the language, e.g. lang-kinyarwanda, set under each language’s branch
The original stays in the ticket as the record. If an investigator questions the translation, a speaker of the language can check it against the person’s own words.
Send the confirmation message in the person’s language – it’s translated in the builder like every other message.
7. Hand over to live agents who can read the chat
Let any live agent help any person, whatever language each of them speaks.
In the Live agent handoff action, use Assign by language (optional) to send each language to the teams or live agents who speak it. Leave a language empty to use the main assignment. Turn on Live agent availability check.
When no speaker is available, live translation in the Inbox fills the gap. The live agent clicks Translate reply in the reply toolbar and chooses the person’s language. From then on:
- The person’s messages show a translation into the live agent’s own language beneath the original.
- The live agent writes in their own language, and the reply is translated before it’s sent.
Live agents can stop translating from the same button. Live translation works on tickets too, so a live agent can reply to a ticket in the person’s language.
8. Test the flow
Validate every path before going live using the AI agent tester side panel.
- Choose each language from the quick replies and confirm every intake message and survey question appears in that language, with no empty messages.
- Choose Kinyarwanda, then type a short English phrase, and confirm the chat stays in Kinyarwanda.
- Send a voice note on WhatsApp or Webchat and confirm the transcript is used as the complaint description.
- Check the ticket in the Inbox and confirm it has an English translation, the original text and the language tag.
- Build and test in an undeployed version (Duplicate the live version), then Deploy when every path passes.
Finalise the AI agent deployment by configuring your preferred channels and languages.
.png)