Automation
Configuring AI Chatbots
In this article
Configuring AI Chatbots
Add an AI-powered chatbot to your Telegram group that can answer questions, provide information, and engage with your community members.
Setting Up an AI Chatbot
- Open Tools > AI chatbots in the dashboard.
- Click "Create AI Chatbot".
- Enter an OpenAI API key.
- Choose an available model and write its instructions in Prompt. You can also add File Search and select a vector store from your OpenAI account when the chatbot needs reference documents.
- Set the command Key that members will use in Telegram, choose the destination topic, and decide whether replies should be nested under the triggering message.
- Set the maximum number of uses per member per day, then save.
Test the command
The command key becomes a Telegram slash command. For example, a chatbot with the key helper responds when a member sends /helper followed by a question. Try it with a low-risk question in the intended group before announcing it, and check that its topic and prompt produce the response you expect.
System Prompt Tips
The system prompt is the most important configuration. Include:
- Who the bot is -- "You are the community assistant for [Group Name]"
- What it knows -- provide key information about your community, product, or topic
- What it should not do -- set boundaries (e.g., "Do not discuss competitor products")
- Tone guidelines -- "Be friendly and concise. Use emojis sparingly."
Rate Limiting
To control costs and prevent spam:
- Set a maximum number of uses per user per day
- Choose whether replies should be nested under the triggering message
- Limit the chatbot to a specific topic when needed
Plan Limits
AI chatbots require the Basic plan or higher. The number you can create per group depends on your plan:
| Plan | AI chatbots per group |
|---|---|
| Basic | 5 |
| Pro | 15 |
| Elite | Unlimited |
Best Practices
- Start conservative -- only respond when mentioned, then expand if needed
- Monitor responses regularly to ensure quality
- Update the system prompt as your community's needs evolve
- Provide a fallback -- tell the bot to suggest contacting an admin for questions it cannot answer
Was this article helpful?
Thank you for your feedback!