How to Build a Telegram Bot Customer Service: A Complete Tutorial from BotFather Registration to TG-Staff Agent Go-Live
关于作者
TG-Staff 致力于为 Telegram Bot 运营团队提供高效、可靠的客服与营销 SaaS 工具。
How to Set Up a TG Bot Customer Service: A Complete Tutorial from BotFather Registration to TG-Staff Agent Online
Want to set up how to build a tg bot customer service is a common challenge for overseas, Web3, and community operation teams. Manually replying to messages is inefficient, and coding a customer service system from scratch is too time-consuming. This article provides a no-code 5-step solution: from registering a Bot with BotFather to configuring agents, routing links, and auto-translation with TG-Staff, enabling you to launch a professional Telegram customer service system within 30 minutes.
What Do You Need to Prepare Before Setting Up a TG Bot Customer Service?
Before starting, confirm you have the following resources to avoid getting stuck midway.
You Need a Telegram Account and Bot Token
This is the foundation of all operations. Open Telegram, search for BotFather (the official bot), send the /newbot command, and follow the prompts to set the Bot’s name and username (the username must end with bot). After successful creation, BotFather will return an API Token, similar to 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11.
Why is the Token the core of the customer service system? Because TG-Staff needs this Token to take over the Bot’s message sending and receiving—essentially, you authorize the platform to control the Bot without writing any code yourself.
Tips
Keep your Token safe and do not disclose it to third parties. If you suspect a leak, use the /revoke command in BotFather to reset the Token, then return to the TG-Staff console to update it.
Determine Team Size and Customer Service Scenarios
Before configuring, first figure out how many customer service agents your team needs and whether you require multi-language support, internal controls, and other features. TG-Staff packages are divided by agent count:
| Package | Agent Limit | Suitable For |
|---|---|---|
| Free Trial | 3 | Small team testing, process validation |
| Standard | 5 | Small customer service teams needing分流 links and auto-translation |
| Pro | 20 | Medium to large teams needing content moderation, user profiles, and unlimited translation |
If you only need 1-2 agents for daily inquiries, the Free Trial is sufficient. For teams of 3-5 people involving multi-language (e.g., cross-border customer service), it’s recommended to choose Standard directly. Web3 or exchange teams should opt for Pro, as its built-in wallet address monitoring feature prevents agents from mistakenly sending payment addresses.
Step 1: Create and Configure Your Bot in BotFather
If you don’t have a Bot yet, follow these steps:
- Open Telegram and search for BotFather.
- Send
/newbot. - Enter the Bot’s name (e.g., “TG-Staff Customer Service Bot”).
- Enter the Bot’s username (e.g.,
MySupportBot, must end withbot). - Copy the returned Token.
Important Configuration: BotFather enables privacy mode by default, so the Bot can only see messages sent to it, not other messages in groups. This is sufficient for customer service scenarios. If you need the Bot to receive all messages in a group (e.g., community customer service), you can send /mybots in BotFather → select your Bot → Bot Settings → Group Privacy → disable.
Step 2: Connect the Bot to TG-Staff Console
This step is the core of the connection; once done, the Bot will automatically start receiving messages.
Create a Project and Bind the Bot
- Open the TG-Staff Console and register an account (Free Trial requires no credit card).
- Click “New Project”, enter a project name (e.g., “Main Customer Service Project”).
- Paste the Bot Token you just copied.
- Click “Confirm Binding”.
The entire process takes no more than 30 seconds and requires no code.
Verify the Bot is Receiving Messages
Use another Telegram account (or directly on your phone’s Telegram) to send a message to your Bot, such as “Hello”. Then go back to the TG-Staff console and click on the “Conversations” page on the left. You should see a new conversation appear, displaying the user’s message.
If you don’t see the message, check two things:
- Is the Bot Token pasted correctly (ensure no extra spaces).
- Ensure the Bot is not occupied by another platform or code—a single Token can only bind to one customer service system.
Step 3: Configure Agents and Team Permissions
Now that the Bot is connected, you need to add customer service agents so they can log into the web console to handle users.
Add Agent Accounts
- In the TG-Staff console, go to “Agent Management”.
- Click “Add Agent”, enter the agent’s email address.
- The system will send an invitation email (or set an initial password directly in the console).
- The agent logs in at app.tg-staff.com with their email and password to see the projects assigned to them.
Agent Limits: The Free Trial supports 3 agents, Standard supports 5, and Pro supports 20. If you have 4 customer service agents, the Free version is insufficient; you need to upgrade your package.
Note
Each agent must independently register for TG-Staff. Do not log in directly using the bot owner’s Telegram account. The agent’s login credentials are email + password, unrelated to the Telegram account.
Set Agent Scope
In project settings, you can specify which agents can handle conversations for this project. The default is “All Agents,” meaning all agents can see all conversations. If you have multiple projects (e.g., bots for different languages), you can assign different agent teams to each project to avoid confusion.
Step 4: Set Up Conversation Routing & Diversion Link
This step transforms your customer service system from “passive waiting” to “active engagement”—users click a link, automatically enter a bot conversation, and are assigned to an available agent.
Choose Routing Mode: Round Robin vs. Online First
In Project Settings → Conversation Routing, there are two modes:
| Mode | How It Works | Best For |
|---|---|---|
| Round Robin | Cycles through authorized agents in order, one per conversation | Fixed agent schedules, fair distribution |
| Online First | Assigns to currently online agents first; falls back to round robin when all are offline | Agents log in anytime, reducing wait times |
Best Practice: If your support team works 9-5, use “Round Robin”; for 24/7 shifts or part-time agents, “Online First” is more suitable.
Generate and Use Diversion Links
A Diversion Link is a short link provided by TG-Staff that captures visitor information before redirecting to your bot.
- On the console’s “Diversion Links” page, click “Create Link.”
- Select the associated project (your bot).
- The system generates a short link like
https://app.tg-staff.com/abc123. - Copy the link and paste it on your website, ads, or social media bio.
Advantages of Diversion Links: Regular Telegram links (e.g., t.me/YourBot) cannot track sources. TG-Staff’s diversion links record the visitor’s IP address, browser info, and URL parameters (like UTM tags), enabling ad attribution and multi-channel analytics.
For example, if you run ads on Google Ads and Facebook, you can append ?utm_source=google and ?utm_source=facebook to the diversion link. Later, in the console stats, you’ll see which channel generates the most inquiries.
Step 5: Optimize Agent Experience—Auto-Translate, Command Flows, and Content Moderation
Once the basics are set up, enable advanced features to boost efficiency.
Auto-Translate: Solve Multilingual Support
If your users come from different countries, enable auto-translate to avoid manual translation. In Project Settings → Auto-Translate, select source and target languages (e.g., user sends Chinese, agent sees English; agent replies in English, user sees Chinese).
- Standard Plan: Includes AI translation with daily quota.
- Pro Plan: Adds Google Professional Translation and DeepL Professional Translation with higher quotas.
Visual Command Flows: Build Interactions Without Code
Use drag-and-drop to build welcome messages, menus, and multi-step interactions. For example, user sends “/help,” bot auto-replies with a menu; user selects “Check Order,” bot prompts for order number. In the console’s “Command Flow” editor, simply drag nodes to complete.
Content Moderation: Protect Team Compliance (Pro)
For Web3, exchange, or sensitive businesses, content moderation is essential. In the Pro plan, you can create risk phrases, such as:
- Specific wallet addresses (TRC20/ERC20/BTC addresses or fragments)
- Sensitive words (e.g., “scam,” “refund”)
When an agent sends a message containing these terms, the system will pop up a confirmation dialog or block the message entirely. All trigger events are logged in the audit trail for tracking.
Best Practices
It is recommended to start with automatic translation and command workflows, which can be configured within 1 hour. Content moderation can be enabled later when the team expands or involves sensitive business.
FAQ
Q: How to set up a Telegram bot customer service? Do I need to know programming?
A: No. With no-code platforms like TG-Staff, you just get a Token from BotFather and paste it into the TG-Staff console. All agents log in via a web browser, no development required.
Q: How many seats does the free trial support?
A: TG-Staff offers a 3-day free trial upon registration, supporting 3 seats, allowing you to test full two-way chat, session routing, and routing links.
Q: What’s the difference between routing links and regular links?
A: Regular links open the Telegram Bot directly without tracking sources. TG-Staff routing links (short links) first capture the visitor’s IP, browser, and URL parameters before redirecting to the Bot, facilitating ad attribution and multi-channel analysis.
Q: How can agents transfer conversations?
A: On the TG-Staff console session page, agents can “transfer” the current session to another authorized agent with a transfer note. The Pro version also supports adding private notes within sessions for better collaboration.
Q: What keywords can content moderation monitor? Does it support cryptocurrency addresses?
A: The Pro version’s content moderation supports custom risk phrases, allowing you to input full TRC20/ERC20 wallet addresses or address fragments. Messages containing such words will trigger a second confirmation or be blocked, with audit logs recorded.
Next Steps
- Free Trial: Sign up at TG-Staff for a 3-day trial with no credit card needed, experience all features now.
- Need Help: Contact our support bot @tgstaff_robot for quick assistance.
- Read Docs: See the full guide at TG-Staff Documentation.
Related Articles
TG Bot Customer Service Transfer to Human Agent Guide: Keyword Triggers, Button Configuration, and Agent Assignment Rules Explained
Want to know how to trigger a transfer to a human agent in a Telegram bot customer service? This article explains keyword triggers, button jumps, session routing rules, and recommends TG-Staff for efficient human agent handling. Suitable for Telegram customer service operation teams.
Telegram Customer Service vs Freshdesk vs TG-Staff: How Cross-Border Teams Choose Between Multilingual Ticketing and Real-Time Seats?
Comparing Freshdesk's multilingual ticketing system with TG-Staff's Telegram real-time translation seat-based customer service. Analyze from five dimensions: agent seats, translation mechanism, conversation routing, content moderation, and pricing, to help cross-border teams find the best solution for Telegram Bot customer service scenarios.
Teleform Pro Pricing vs TG-Staff Standard: Key Comparison for Choosing the Right Telegram Customer Service Tool
Compare Teleform Pro pricing ($9.99/month) with TG-Staff Standard ($8.99/month). Analyze from dimensions such as feature matrix, customer service seats, conversation routing, and content moderation to help you make the best choice based on team size and budget. Includes FAQs and registration trial links.