How to build a Telegram lead generation bot

By the Botable team

A Telegram lead generation bot replaces a contact form with a short conversation. It asks a few qualifying questions, stores the answers, and routes the promising ones to a person. Describe your questions and Botable builds the flow.

What is a lead generation bot?

A Telegram lead-generation bot converts better than a web form for one structural reason: a form asks for everything at once, and a conversation asks for one thing at a time, so abandonment costs you the last answer rather than all of them. The design is a short qualifying sequence — three to five questions, buttons wherever the answer is a choice, free text only where it genuinely varies — followed by a contact step and a routing decision. Partial answers are the asset most of these bots throw away: someone who answers two questions and stops has still told you their budget and their timeline, and that is a warmer lead than an empty form. So each answer should be written as it arrives rather than at the end. Scoring the answers lets the bot escalate a hot lead to a human immediately and let a cold one down gently without occupying anyone's afternoon.

What commands does it have?

Commands a lead generation bot typically has, and what each one does
CommandWhat it does
/startOpens the qualifying sequence
/skipMoves past an optional question
/restartClears the answers and begins again
/leadsAdmin list of captured leads by score
/exportSends the leads as a CSV

What do you need before you start?

  • A Telegram bot token from @BotFather
  • Three to five qualifying questions that actually change what you do next
  • A destination for hot leads: an admin chat, a group, or a CRM endpoint

How do you build it?

Which questions belong in a qualifying sequence?

Only the ones that change your response. Budget, timeline, and what they are trying to do usually qualify; company size often does not. Every extra question costs completions, so if an answer would not alter how you follow up, cut it.

Why save answers as they arrive?

Because most people do not finish. If you write each answer immediately, someone who drops out after two questions is still a partially qualified lead with a Telegram handle you can reach. Saving only on completion throws that away.

How does the bot decide a lead is hot?

Score the answers and set a threshold. Above it, notify a human immediately with the transcript and the handle; below it, send useful material and stop. Say the scoring when you describe the bot — an unscored bot makes every lead the sales team's problem equally.

How do you ask for contact details without losing people?

Ask last, after they have invested a few answers, and remember that Telegram already gives you a handle to reply on. Requesting an email up front is where most of the drop-off happens; requesting it after value has been established is where it converts.

A prompt you can use as-is

Paste this into Botable and adjust the details. It is specific on purpose — a vague description produces a vague bot.

Build a lead qualification bot. /start asks four questions one at a time, with inline buttons where the answer is a choice: what are you trying to build, what is your timeline, what is your budget range, and how should we reach you. Save each answer to the database as it arrives, not at the end, so partial responses are kept. Score the answers and, above the threshold, send the full transcript plus their @handle to my admin group immediately. Below it, reply with a link and end politely. /leads lists captured leads sorted by score, /export sends a CSV.

Build this bot

Who is this bot for?

  • Agencies and consultants qualifying inbound before a call
  • B2B teams whose audience already messages rather than emails
  • Anyone replacing a contact form that nobody completes

What goes wrong with this kind of bot?

  • Saving only on completion discards every partial lead, which is most of them
  • More than about five questions and completion falls off a cliff
  • You are collecting personal data — say what you will do with it, and honour your privacy policy

Questions about lead generation bots

Can it push leads into our CRM?

Yes, if the CRM exposes an API. Describe the endpoint and the field mapping and each qualified lead can be posted as it is captured, with the bot's own database kept as the backup record.

Can it book a call at the end?

Yes — combine it with the booking flow so a hot lead picks a slot in the same conversation rather than receiving a link they never open. That combination is usually where most of the value is.

All twelve build guides