Skip to main content
Post

How to Create a Telegram Bot with BotFather and Add AI

Quickchat has a step-by-step walkthrough for building a Telegram bot with BotFather and connecting it to a Quickchat AI Agent that answers from your own knowledge. It needs no code and no server.

The example is Fernway Languages, a fictional English school. You create the bot in BotFather with /newbot, pick a name and username, then set a profile picture, description and a four-item command menu (prices, schedule, trial, help). You paste the bot token into Quickchat AI's credential field, not into the prompt or knowledge. In Quickchat AI you add the school's facts to the Knowledge Base and the response rules to the Main Prompt. Students can then ask about prices, tap /schedule, get a PDF course guide sent as an attachment, or ask for a person. The guide also covers handoff and keeping replies predictable in group chats.

A few conditions apply. The Free plan covers personal, non-commercial learning, and a real business deployment needs a commercial plan. AI replies and Simulation Testing use credits. A bot token can only deliver incoming messages to one webhook, so connecting the same bot to another service can replace the Quickchat connection. If you want a second inbound workflow, use a separate bot. The downloadable setup kit has the knowledge text, prompt, command list and sample PDF, but you paste them in by hand because it isn't an automatic Agent import.

Loading replies…