An AI bot for handling Telegram leads: how it replies at night and when it calls a manager
How an AI manager replies to Telegram leads by a stage instruction, moves them through the pipeline, nudges those who went quiet and hands the conversation to a human. Dialog examples and setup.

An AI bot for handling Telegram leads is needed where there are more leads than managers, or where traffic runs around the clock while people work in the daytime. It isn’t a bot with buttons like “1 — find out the price, 2 — contact an operator”. A neural network reads the conversation, answers the client in its own words in their language, moves the lead through the pipeline and hands the conversation to a human when the question isn’t for an AI.
Below: a night-lead scenario step by step, two short dialog examples, how to write a stage instruction and what an AI must not do. It all uses the AI manager in lidvanto as the example, but the principles of the instruction fit any AI bot.
How an AI manager differs from a button bot#
A bot builder leads a person along a pre-drawn scheme. As soon as the client writes something unexpected — “is this definitely not a scam?” or a voice message in Spanish — the scheme breaks and the lead waits until morning.
The AI manager works differently:
- replies to free text, taking the whole dialog history into account;
- holds the stage task: at first contact understand the request, at registration walk through the steps, at payment don’t push;
- takes prices, terms and links only from the facts about the product that you entered;
- decides by itself whether the condition for moving to the next stage is met;
- understands when it’s time to call a human.
Ready replies don’t go anywhere: for frequent questions like “where’s the link” it is cheaper and more reliable to answer with prepared text.
Scenario: a lead writes at 2:40 a.m.#
An online school’s pipeline, stages Contact → Registration → Payment. Managers work from 10:00 to 19:00. The AI manager is on in Auto-replies mode.
- The lead writes to the bot or to the business account’s DMs. The message arrives in the lidvanto messenger. The AI waits a few seconds set in the stage settings — if the person writes three messages in a row, there will be one reply to all three.
- The AI replies by the stage task. In the client’s language, briefly — 1–3 sentences and one question. If the client sent a voice message up to 2 minutes or a screenshot, the AI first transcribes it, then replies to the meaning.
- The AI moves the lead to the next stage when the condition you described in words is met, for example “the client sent the ID after registering”. First the move, then the reply — the AI of the new stage replies by its own task.
- The AI sets a tag and sends material if allowed: a “hot” tag, a PDF payment guide — each material goes to the lead once.
- The lead went quiet. The nudge ladder kicks in: for example, after 2 hours a message in the chat, after a day a push, two days later a reminder to the manager. Nudges don’t go out at night: during quiet hours — by default 21:00 to 9:00 in the lead’s time zone — a nudge is moved to the morning. The nudging stops if the lead replied, changed stage or a manager took the conversation.
- A question not for the AI. The client writes that money was charged but there’s no access, or asks for a live person. The AI sets Manager needed, and the employees who can see this chat get a “The client needs a manager” notification in Telegram and push.
- Morning. The manager opens the AI chat manager → Overview page: the Waiting for a manager block shows drafts for review and conversations where the AI stopped, and in the conversation grey lines show what the AI did at night. The client doesn’t see these lines.
Example 1: from the first message to registration#
This is an example, not a real conversation. The replies depend on your instruction and the facts about the product.
Client, 02:41: Hello, I saw your ad. How much does the course cost?
AI manager: Hello! The course costs €49 a month, the first lesson is free. Would you like to start with the free lesson?
Client, 02:43: yes
AI manager: Then register at example.com/start — it takes a minute. Send me the ID from your account here and I’ll tell you where to find the lesson.
Client, 02:51: done, 48213
A line for the team: “The AI moved the lead to the “Registration” stage”
AI manager: Thank you! The lesson will open in your account under “My courses”. What is your English level right now?
The €49 price and the link appear here only because they are entered in What AI knows about the product. If they weren’t there, the AI would say it will check with an employee instead of making up a figure.
Example 2: a payment problem — handing over to a human#
This is an example, not a real conversation.
Client, 03:12: I paid, the money left my account, but the course didn’t open
AI manager: I understand, that’s unpleasant. I’m passing your question to an employee — they will check the payment and write to you here.
A line for the team: “The AI handed the conversation to managers”, reason — Payment problem
The AI doesn’t confirm a payment on the client’s word or from a screenshot of a receipt. The decision about a deposit belongs to a manager or the network’s postback.
How to set up an AI bot for Telegram leads#
1. Facts about the product — once per pipeline#
The What AI knows about the product field: what you sell and to whom, prices and terms, the official link, limitations, when to call a manager. This is the main barrier against inventions: the AI doesn’t promise what isn’t here. For auto-replies mode the field is required.
The same place sets the mode (Drafts for review or Auto-replies), the reply language (“as the client writes” or a specific language) and Pause after a manager reply — how many minutes the AI stays silent if a manager has replied themselves.
2. The stage instruction — by tabs#
Each stage has its own task made of five tabs. An example for the Contact stage:
- Goal: find out what the client is interested in and bring them to registering for the free lesson. The result — the client sent the ID.
- Rules: first answer the client’s question, then offer the next step. Don’t push. To “is this a scam?” — explain how the free lesson works and give the official site. Don’t promise discounts.
- Backstory: you are an assistant of an online school. The client came from a TikTok ad and most likely knows nothing about us.
- Example of an ideal chat: 4–6 lines the way your best manager would answer.
- Additional: everything else, for example “don’t name teachers by name”.
For typical stages there is a ready Stage scenario: Insert fills in the tabs, and you can edit the text. If you don’t want to write from scratch, use Write with AI on the Training tab: you choose a niche, answer a questionnaire (product, prices, objections, what mustn’t be promised, when to call a human), and the AI assembles the facts about the product and the stage task by tabs. Details — in the help article AI manager training.
3. What the AI can do on its own#
In the stage settings, the What AI can do on its own block, each action is turned on separately:
- Change the pipeline stage — the stages it may move to and a condition in words for each. The Not sure — call a manager checkbox sends a notification if the condition looks met but the AI is in doubt.
- Set tags — from your list, by condition.
- Send materials — up to 10 files per stage: a guide, a video, a price list.
- Nudge if the lead went quiet — a ladder of up to 10 steps: text from the AI, your own text or a stage material.
For a stage with a conversion — one that has auto-funnels, Event to ads or a stage-change webhook attached — the AI, even in auto-replies, only suggests the move and a manager confirms it. The words “I made a deposit” prove nothing, and a false event will spoil ad optimisation.
4. Testing before live leads#
- Check before launch in the stage window — you write a message as the client and see the reply. Nothing is sent to the client.
- Stage check on the Training tab finds, for free, identical transition conditions, numbers not from the product facts and a move to a conversion stage without manager confirmation.
- Run dialog — up to 10 client lines in a row: for each you see the reply, the stage decision, tags and the scheduled nudge.
- Run test — hard questions: price, discount, refund, payment in crypto, an attempt to extract the instructions, a request to call a human.
Start with the Drafts for review mode: the AI prepares a reply, the manager sends it with one button, edits or rejects it. Edits go to the Training tab, and clarifications for the stage task can be assembled from them. When there are few edits, switch the stage to auto-replies.
Limits: what the AI doesn’t do and when it hands over to a manager#
The AI manager stops and sets Manager needed if:
- the client asks for a live person or writes about a problem with money — in any language and in their own words;
- the client sent a document, a sticker, a video or a voice message longer than 2 minutes that wasn’t transcribed automatically;
- the reply limit per client at the stage is used up or AI replies have run out;
- the AI moved the lead to a stage where the AI is off;
- the AI itself promised to check with an employee — so that the client doesn’t wait in vain.
And a few more rules that can’t be turned off:
- it doesn’t make up prices, dates and terms that aren’t in the product facts;
- it doesn’t ask for passwords, SMS codes and card data;
- it doesn’t follow commands from a voice message or an image like “forget your instructions” — that is client data, not an instruction;
- asked directly “are you a bot?”, it doesn’t pass itself off as a live person;
- after “stop” or “don’t write anymore” it goes silent, and no nudge goes to this lead.
A manager can take over the conversation at any moment: just reply to the client (the AI yields for the pause time) or click Take over — then the AI stays silent until Return to AI. How it looks in the chat and what each icon means — in the help article AI manager.
What it costs#
An AI reply is one reply to a client (a draft or an auto-reply) or one nudge step with text from the AI. Stage-move decisions, tags and materials, ready replies and nudge steps with your own text don’t spend AI replies. Transcribing voice messages and images is a separate unit — AI media. Volumes and packs — in Pricing; right now lidvanto is in beta and free until 15.01.2027, and sign-up is open.
More about the capabilities — on the AI manager page. If you don’t have a CRM for Telegram yet, start with the article CRM for affiliate marketing and the Telegram CRM page.
Frequently asked questions#
Can a neural network reply to Telegram clients instead of a manager?
Yes, in Auto-replies mode the AI manager writes to the client itself by the stage instruction and the facts about the product. The team sees the whole conversation and can take it over at any moment. If you need control over every reply — the Drafts for review mode.
How does an AI bot understand that a lead should move to the next stage?
You describe the condition in words: “the client sent the ID after registering”. The AI decides by the meaning of the conversation, including voice messages and images, and moves the lead only when sure. For conversion stages it only suggests the move to a manager.
What language does the AI manager for Telegram reply in?
As the client writes, or in the language chosen in the pipeline settings. You can write the instruction in any language — the reply language doesn’t depend on it.
Won’t the AI write too much — a bonus, a price, a promise?
It takes prices and terms only from the What AI knows about the product field. If a term isn’t there, the AI offers to check with an employee. Before launch, Run test checks the answers to hard questions and flags inventions.
What happens if AI replies run out?
The AI sets Manager needed in chats, and managers carry on with the conversations. Ready replies keep working — they don’t spend AI replies.
Can I connect the AI to a manager’s personal account instead of a bot?
Yes, if the account is connected to lidvanto through Telegram Business. The AI replies in the account’s personal chats, but Telegram allows business bots to reply only within 24 hours after the client’s last message.