Learn Build Community Opportunities Hosted n8n Blog About Careers Contact Log in

Home / Blog / Explainer

Explainer

Reply to Customers in Hausa, Yoruba or Igbo with AI and n8n

An Arena brief about a Lagos phone shop whose WhatsApp fills up in three languages, and how to build an n8n first responder that knows when not to answer.

This Arena brief asks builders to reply to customers in Hausa, Yoruba or Igbo with AI, using n8n and WhatsApp, for a phone shop in Ikeja. The bot detects the customer's language, drafts a reply from the shop's own FAQ, sends simple answers on its own, and holds anything sensitive for a staff member to approve.

The business behind the brief

The brief's shop, Prime Phones, is an Arena scenario: a retail phone shop handling sales, warranties and accessories, with one WhatsApp number receiving 50 to 150 messages a day, many of them in Hausa, Yoruba or Igbo. Two sales staff share the chat between serving walk-in customers.

Messages pile up outside business hours and whenever both staff are on the shop floor. Staff spend 8 to 12 hours a week on replies, and the brief estimates about ₦70,000 a month in missed or delayed sales to faster competitors. Language makes it worse: the staff are fluent in two of the three languages, so customers writing in the third wait longest. Anyone who has sold in Lagos knows the customer who does not get a quick answer has already messaged the next shop.

What the automation has to do

  • Receive WhatsApp messages through GreenAPI, ignore duplicates and log everything.
  • Detect the language and draft a reply in that language, grounded in the shop's FAQ and policies.
  • Return structured output: language, reply, confidence and a sensitive flag.
  • Send the reply automatically only when the message is routine and the model is confident.
  • Escalate returns, warranty claims, refunds, complaints and price negotiation to staff, who can approve or edit the draft before it goes out.

How to approach the build

  1. Normalise and deduplicate. A Code node turns GreenAPI's payload into a fixed set of fields, and a lookup on the Logs tab by message ID stops repeats. A customer who receives the same answer twice notices.
  2. Ground the model in the shop's own answers. Pass the relevant rows of the FAQ tab into the prompt and instruct the model to answer only from them. A reply in perfect Yoruba is worthless if it quotes a price the shop never set.
  3. Ask for structure, at temperature 0. Use a JSON schema with language, reply, confidence and sensitive. A structured answer is something the workflow can make decisions on; free text is not.
  4. Decide with rules, not with the model. An If node sends the reply only when sensitive is false and confidence is above your threshold. Also check for keywords such as refund or warranty yourself, as a second line of defence.
  5. Build the approval loop as a second workflow. Escalations go to the Escalations tab and to staff by email, with links that call a second webhook. Staff approve the draft as it is, or edit it, and the final text goes out through GreenAPI with the ticket updated.
  6. Remember each customer's language. Store the detected language in the Customers tab, so staff replies and future messages start in the right language.

The hard parts

Mixed language is normal

One of the brief's test messages is "I fit give me better price for two phones?", English with pidgin, and a negotiation. Real customers switch languages mid-sentence. The safe design treats uncertainty as a reason to escalate, and treats price negotiation as sensitive whatever language it arrives in.

Quality you cannot check yourself

If you do not speak all three languages, you cannot fully judge the drafts. That is a strong argument for the approval flow: in the first weeks, staff who speak each language review what the bot would have sent, and the FAQ is improved until auto-replies are trustworthy. Tell the client this plainly. It is part of a responsible launch, not a weakness.

Choosing what counts as sensitive

The brief lists returns, warranty claims, price negotiation, refunds and complaints. Each one either commits the shop to money or risks an angry customer. Writing that list down, and agreeing it with the owner, is as important as any node on the canvas.

What our graders look for

  • Workflow structure, deduplication and node naming (20%): a canvas another builder could maintain.
  • Deterministic OpenAI setup with FAQ grounding and JSON output (20%).
  • Automatic reply path with Logs and Customers updates (20%): routine questions answered in the right language.
  • Escalation and staff approval end to end (30%): the largest share, because it is what keeps the shop safe.
  • Documentation (10%): notes covering a technical issue, why human approval exists, and pricing.

Pricing and pitching this job

The brief values this at $250 to $600 fixed. The pitch is speed and reach: every customer gets an answer in their own language within seconds, at any hour, and the owner keeps control of anything involving money or complaints. Show the four test messages, two answered automatically in Hausa and Yoruba, two correctly held for approval, and the value is obvious.

New Arena briefs drop every Monday in the app at app.automatenaija.com, and every Beginner brief is free, so pick one and build it this week.

Frequently asked questions

Can AI reply accurately in Hausa, Yoruba and Igbo?

Current models handle all three, but quality varies with the topic and the model, and you should not assume it is perfect. Ground replies in your own FAQ, keep the wording simple, and have fluent staff review drafts during the first weeks. Use what they correct to improve the FAQ before letting more replies go out automatically.

Which messages should never be answered automatically?

Anything that commits money or carries risk: refunds, returns, warranty claims, price negotiation and complaints. Agree the list with the business owner. For these, the AI can still draft a reply in the right language to save staff time, but a person approves it before it is sent.

How does the bot know which language the customer used?

The AI model detects it as part of the same call that drafts the reply, and returns it as a field in its structured output. Store it against the customer's phone number so future messages and staff replies start in the right language, and treat mixed or unclear language as a reason to lower confidence.

Why use temperature 0 for customer replies?

Temperature 0 makes the model's output as consistent as possible, so the same question gets the same answer. For a business, predictability matters more than variety: staff need to trust what the bot says, and consistent behaviour is far easier to test, review and improve than creative answers that change every time.


Build it with us. The community is free and the build track teaches this kind of automation week by week: see pricing or join the community.

Comments

Questions, corrections and your own experience are welcome. Comments are posted by members in the Automate Naija community and moderated there.

Loading comments...

Add a comment

Keep reading

More guides on building, fixing and shipping automations with n8n, Make and Zapier.