I Built a 24/7 AI by Johnson Afolabi I Built a 24/7 AI by Johnson Afolabi

 I Built a 24/7 AI

Johnson Afolabi

Johnson Afolabi

 I Built a 24/7 AI Chatbot Inside Telegram Using n8n and DeepSeek Most businesses on Telegram still reply to customers manually. Someone sends a message at 11pm, nobody is there to answer, and by morning that customer has moved on. Today I am showing you exactly how I solved this with a fully automated AI chatbot that handles every single message, in any language, around the clock.
What This Bot Does A user sends your Telegram bot a message. Within 2 to 3 seconds, they get an intelligent reply powered by DeepSeek AI. No human needed. It works in English, Pidgin, Yoruba, whatever language the person writes in. The bot detects it and responds accordingly. It also sends a typing indicator so the person sees "Bot is typing..." just like a real conversation. If anything breaks, you get an instant alert on your personal Telegram so you know within seconds. How I Built It (7 Nodes Total) Here is the architecture: 1. Telegram Trigger Listens for every incoming message to your bot via webhook. Photos, stickers, text, it catches everything. 2. Normalize Incoming Text Extracts the message text, chat ID, user name, and language code into clean fields. If any value is missing, it falls back to a safe default instead of crashing. 3. Guard Empty Message Filters out non text messages like images and stickers before they hit the AI. Without this, sending a photo to your bot would cause an error. 4. Typing Indicator Sends "typing..." to the user so the experience feels natural and responsive. 5. Route User Command A Switch node with three paths. /start triggers a welcome message. Regular text goes to the AI. Unknown slash commands get a friendly fallback response. 6. DeepSeek LLM Chain The brain of the operation. A Basic LLM Chain connected to DeepSeek Chat Model. The system prompt injects the user name and language code so every reply is personalized and localized. 7. Error Handler If anything fails anywhere in the flow, an Error Trigger fires a Telegram message to my admin chat with the execution ID and timestamp.

What It Costs
n8n hosting: Already running (Railway) Telegram Bot API: Free DeepSeek API: Fractions of a kobo per message Total: Basically nothing compared to hiring someone to sit and reply all dayThe Business Value If you run a Telegram channel or group for your business and people message you expecting quick replies, this is the solution. Response time drops from hours to under 3 seconds. Coverage goes from business hours to 24/7. And the quality of replies is genuinely good because DeepSeek is a very capable model. This is not theory. I deployed this today and it is running live right now. I build these systems for businesses. If you need an AI chatbot, automated workflow, or any kind of business process automation, send me a DM. I will break down exactly what I can build for your specific use case. New automation drops in this thread every single day. Follow to stay updated.
Like this project

Posted Jul 7, 2026

 I Built a 24/7 AI Chatbot Inside Telegram Using n8n and DeepSeek Most businesses on Telegram still reply to customers manually. Someone sends a message at ...