iman.← Back to the islands
n8n Automation

AI customer support bot on Telegram

Demo project

Customers ask on Telegram and get answers straight from the company's own docs. When the bot can't answer, a human takes over in the same chat.

The problem

A demo built around a common small-business pain: support questions pile up in chat, and the team keeps answering the same FAQ, price and SOP questions by hand.

What I built

An n8n system in five parts. A Google Drive folder feeds a knowledge base: drop or edit a doc and it is split, embedded with OpenAI and stored in a vector database. Telegram messages are routed, and skipped by the AI if a teammate already owns the chat. An AI agent with memory answers only from those docs. If it can't, it saves a ticket to Google Sheets, tells the customer and alerts the team. The team replies in a group, the customer receives it, and a Done button closes the ticket and hands the chat back to the bot. An error workflow alerts on Telegram if anything breaks.

Screenshots & video

The bot learns from a Drive folder, then answers only from those docs
The bot learns from a Drive folder, then answers only from those docs
Answer from the docs, or hand off to a human and take the chat back when they're done
Answer from the docs, or hand off to a human and take the chat back when they're done
Want something like this? Let's talkNext case studyThe AI Company: 8 agents running an online store →