An AI editor for a community chat
A residents' chat of several apartment buildings produces hundreds of messages a day. I built an AI editor that reads all of it and publishes only what matters — twice a day, without anyone touching it.
- Role
- Founder & sole engineer
- Idea to launch
- 2 days
- Schedule
- 08:00 & 19:30, every day
- Status
- Live
The problem
A building chat is where the important things happen — power and water outages, repairs, decisions of the management company, safety warnings. It is also where arguments, jokes and trolls live. On a busy day that is 200+ messages, so most residents mute the chat and miss exactly the things they need to know.
The solution
A read-only channel next to the chat. Twice a day an AI editor reads every new message, picks what is worth knowing and writes a short digest grouped by topic: utilities, the building, safety, community. Every item links back to the original message, so nothing is taken out of context. When nothing important happened, nothing is published.
A pinned post doubles as a daily board — the date, the weather and the exchange rate, refreshed every morning.
Engineering decisions
Never twice, never lost
Each edition remembers exactly where the previous one stopped. A late or repeated run cannot publish a duplicate, and a missed one catches up instead of skipping messages.
Self-healing schedule
An independent watchdog checks every edition. If one does not appear on time, it relaunches the job and notifies me — usually before anyone notices.
Resilient to AI outages
When a model is overloaded or out of capacity, the editor automatically falls back to the next one and records why, so a provider's bad day never becomes a missed edition.
Quality you can test
The AI answers in a strict structure, the output is sanitised, and every change to the instructions must pass an exam of realistic chats before it goes live.
A human when it matters
Special editions go to me as a draft with Publish / Skip buttons. Residents can message the channel through a bot, and I reply from my phone without revealing my account.
Observable by design
A private dashboard behind zero-trust login shows every run, reach and resource usage; an automated test suite runs on every change.
Results
- Two editions a day, published on schedule without manual work
- Hundreds of messages turned into a digest you read in about a minute
- Problems are detected and fixed by the system itself — I learn about them from a notification, not from residents
Built with
Node.js · Google Gemini · Telegram API · Cloudflare Workers & KV · Cloudflare Zero Trust · GitHub Actions
Want something like this?
The same approach works for any busy community, team chat or support inbox.
Let's talk