Skip to content
All customer stories

US-based team, youth business coaching in Uganda, Social impact and education

An n8n AI chatbot coaching young entrepreneurs

A Telegram AI coach now in daily use by young business owners in Uganda, in English, Luganda or a mix. The SalnetHub team built it in n8n: an AI router, four separate brains, one sender that never replies twice, and wellbeing first.

7
n8n workflows, from router to error alerts
3
languages handled, English, Luganda and a mix
Live
in daily use by young entrepreneurs in Uganda
n8n AI chatbot for small business on Telegram: a chat recording sales and profit, routed by an AI router to four brains and one Send Reply workflow

The challenge

Young people running market stalls, boda bodas, salons and chapati stands needed a coach on Telegram. It had to record daily sales and profit, answer business questions in their own language mix, never push a loan, and put their wellbeing ahead of business the moment someone was struggling. Telegram retries webhooks, so it also had to never reply twice.

What we built

Using our n8n automation services, the SalnetHub team built this AI chatbot for small business owners with Supabase Postgres: a router that classifies every message with an LLM and validates the JSON, four brain sub-workflows (Numbers, Coach, Care, Help), one Send Reply workflow that caps replies at 60 words and handles rate limits, and an error branch that alerts an admin instead of going silent. The bot is live and in use.

The client rated the work 5.0 on Upwork and endorsed it as Committed to Quality and Detail Oriented. The brief came from an experienced hirer: 72 reviews and more than 118 hires on the platform. Today the bot coaches young entrepreneurs in Uganda every day: recording their sales and profit at 7 pm, answering business questions in their own language, and making sure anyone who is struggling reaches a person.

“Solomon took a complex brief, with a router, four separate brains, Luganda and English, and wellbeing safeguards, and delivered a bot that works exactly as we hoped. We were thrilled with the result and are already planning the next phase with him.”
Edith, US-based youth coaching team, Uganda (Upwork, 5.0 stars)
1

Every message classified, then checked

One n8n router saves each Telegram update once, asks an LLM to classify it with the last 15 messages, and validates the JSON in code before anything acts on it.

“Leero natunze 120k, expenses 45,000”

Saved once

A duplicate update stops here

Classified by the LLM

With the last 15 messages

Checked in code

One repair retry, then a safe fallback

{

"route": "daily_numbers"

"confidence": 0.97

"language": "mixed"

"sales_ugx": 120000

"expenses_ugx": 45000

}

“50k”, “shs 45,000”, “1.2m” and “emitwalo ataano” all become whole UGX numbers.

2

Four brains, one rule: wellbeing first

Each route runs its own sub-workflow. Numbers and Help are deterministic, Coach uses AI with a hard no-loans guard, and Care takes over the moment a youth shows distress.

Numbers brain

Records sales and expenses, works out profit, sends a 7 pm reminder. No AI guessing.

Coach brain

60-word answers in the youth's own language mix. Never suggests a loan.

Care brain

Puts wellbeing first: a support line, a human flagged, coaching paused.

Help brain

Menu with four Telegram buttons, in English, Luganda or a mix.

Distress beats every other route, even mid-conversation.

On Telegram

Leero natunze 120k, expenses 45,000

Today: sales UGX 120,000, expenses UGX 45,000, profit UGX 75,000.

Njagala loan okugaziya bizinensi

Siyinza kukuyamba ku kwewola, naye nsobola okukuyamba okukuza amagoba go…

The second reply turns down the loan and offers to help grow profit instead.

3

Built not to break

Telegram retries webhooks, LLMs time out and rate limits hit. The bot is designed so none of that ever reaches the youth as a double reply or silence.

One way out

Only the Send Reply workflow talks to Telegram.

Never replies twice

Database constraints on every update and every reply.

60 words, always

Longer replies are cut at the last full sentence and logged.

Rate limits handled

On Telegram's 429 it waits and retries, 3 attempts.

Never silent

LLM retries 3×, then a friendly fallback, an error log and an admin alert.

Kampala time

Daily records land on the Kampala date, not the server's.

n8n Supabase PostgresOp OpenAI

Inside the build

The full system: a router that saves each update once and classifies it, four brain sub-workflows, one Send Reply workflow, an error branch and an Error Trigger alert, all on Supabase Postgres.
The full system: a router that saves each update once and classifies it, four brain sub-workflows, one Send Reply workflow, an error branch and an Error Trigger alert, all on Supabase Postgres.

Want a result like this?

A 30-minute call is enough. We tell you plainly what we would automate first, and what it would cost.

What happens on the call

  1. 1We look at how the work happens today
  2. 2We work out what the problem costs you
  3. 3You get a 14-day pilot plan. No obligation

Free, 30 minutes, on Google Meet.