← All posts

How to get website leads in Telegram instantly, and why it costs $0

A message from your website form can reach your phone in a Telegram chat a few seconds after the visitor presses Send, and sending it costs $0. Most sites still deliver the same message to an email inbox, where it waits until somebody opens the mail.

The first half of this article is for the owner of the site: why speed matters, how the setup works and what it costs. The second half is for developers: how to build it so that no lead is lost when something fails.

$0
to send messages through the Telegram Bot API
Telegram Bots FAQ, 2026
42 h
average first reply to a web lead
Harvard Business Review, 2011
~7x
more likely to qualify a lead when you reply within an hour
Harvard Business Review, 2011

Why do website leads go cold in email?

Because nobody watches an inbox all day. The best known study on this is old but has not been replaced: in 2011 Harvard Business Review audited 2,241 US companies by sending each a request through its website. Among the companies that answered within 30 days, the average first reply took 42 hours.

How fast companies answered a website request
2,241companiesWithin an hour37%In 1 to 24 hours16%After more than 24 hours24%Never23%
Harvard Business Review, "The Short Life of Online Sales Leads", March 2011. The study is dated, so read it as a pattern, not as today's exact shares.

The same study found that companies which tried to reach a person within an hour were nearly seven times as likely to have a real sales conversation as those that waited even one hour longer. A person who fills in a form is comparing options at that moment. An hour later they have often written to someone else.

A messenger fixes the slow part. The phone is in the pocket, the notification has a sound, and the whole team sees the request in one chat. Telegram says it passed 1 billion monthly users in 2025, so in many markets the team already has it installed.

How do website leads get into Telegram?

Through a bot: a Telegram account that a program controls. Your website's server tells the bot to post a message into a chat, and everyone in that chat gets a notification.

From the form to the phone
Visitor sends theformWebsite serverchecks and savesTelegram Bot APIsendMessageTeam chatnotification insecondsDatabase
The request is saved first and sent to the chat second, so the chat is a fast copy and not the only record.

The setup is short:

  1. Create the bot. In Telegram, write to the official @BotFather account. It gives the bot a name and a secret key called a token.
  2. Create a group for requests and add the bot and the people who answer leads.
  3. Connect the form. When a visitor sends it, the server saves the request and calls the bot with the text.

One rule surprises people: a bot cannot write to a person first. Someone has to start the bot or add it to a group. That is why a shared group is the usual choice, and it also means a new colleague starts getting leads the moment they are added.

Is the Telegram Bot API really free?

Yes. Telegram's Bots FAQ says bots can message their users at no cost. There is no subscription and no price per message. What you get instead of a bill is a set of limits, and a lead chat is far below all of them.

Telegram Bot API limits that matter for alerts
LimitValueWhat it means for a lead chat
Messages to one group20 per minuteUp to 28,800 requests a day
Messages to one private chatAbout 1 per secondEnough for personal alerts
All chats togetherAbout 30 per secondMatters only for mass mailings
Length of one message4,096 charactersLong texts must be cut or split
Above 30 per second0.1 Stars per messagePaid option for very large bots
Telegram Bots FAQ and Bot API reference, version 10.5 of 22 November 2026.

The 28,800 figure is simple arithmetic: 20 messages a minute for 1,440 minutes. The real costs are elsewhere: a developer's time to build it, and a server that your website already has.

One thing to decide before launch: the request contains a person's name and contact, and it will be stored in Telegram. Mention the messenger in your privacy policy and send only what the team needs to react.

For developers: how do you build it so no lead is lost?

The call itself is one HTTPS request to https://api.telegram.org/bot<token>/sendMessage. The work is in everything around it. This sample for a Next.js route handler is illustrative:

// app/api/lead/route.ts
const URL = `https://api.telegram.org/bot${process.env.TG_TOKEN}/sendMessage`;
const esc = (s: string) =>
  s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");

export async function POST(req: Request) {
  const { name, contact, message } = await req.json();

  // 1. save first: the chat is a copy, not the record
  const lead = await db.lead.create({ data: { name, contact, message } });

  // 2. then notify, with a timeout
  const text =
    `<b>New request</b>\n${esc(name)}\n${esc(contact)}\n\n` +
    esc(message.slice(0, 3000));
  const res = await fetch(URL, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      chat_id: process.env.TG_CHAT_ID, text, parse_mode: "HTML",
    }),
    signal: AbortSignal.timeout(5000),
  }).catch(() => null);

  // 3. on failure, retry later (a 429 answer carries retry_after)
  if (!res?.ok) await retryQueue.add(lead.id);

  return Response.json({ ok: true });
}

Five decisions in that sample matter more than the code:

  • Save before sending. If Telegram is slow or the token is revoked, the request is still in the database and the visitor still sees "thank you".
  • Keep the token on the server. A token placed in browser JavaScript can be read by anyone, and then anyone can post as your bot.
  • Escape the text. With parse_mode: "HTML", a visitor who types < in the form breaks the message and Telegram rejects it.
  • Respect the limits. When a limit is exceeded, the API answers 429 with retry_after in seconds. Wait that long and send again.
  • Protect the form. A spam bot that finds your form will fill the team chat. A hidden trap field and a limit per IP address stop most of it.
A request that survives a failed send
VisitorWebsite serverDatabaseTelegram Bot APIsubmit formsave leadsendMessage429, retry_after: 3thank you pageThe lead is saved, nothing is lost3 seconds latersendMessage (retry)200 ok

If the bot should also listen, for example to a "Taken" button under each request, set a webhook with a secret_token. Telegram then sends it in the X-Telegram-Bot-Api-Secret-Token header of every call, and your server can reject anything without it.

What else can you send to a messenger?

A lead is only the first use. The same bot and the same few lines carry any event that someone should react to quickly.

EventWho gets itWhy it helps
New order or paymentSales, warehouseWork starts without checking the admin panel
Failed paymentSupportThe customer gets help while still on the site
Error or downtimeDevelopersThe team knows before customers complain
Daily numbersOwnerYesterday's leads and revenue in one morning message
Approval requestManagerApprove or reject with a button in the chat

Other channels work on the same idea. Slack accepts messages through incoming webhooks. WhatsApp is possible too, but its Business Platform charges per message: since 1 October 2026 each business phone number gets 1,000 free service messages a month, and writing to a person first requires a template message. For a team that already uses Telegram, the bot is the cheapest and shortest path.

We have built many alerting systems of this kind, from lead notifications on landing pages to order and error alerts, and we usually keep email as a quiet second copy.

What should you take from this?

  • Send every form to a shared chat, not to one person's inbox.
  • Save the request in a database first and treat the chat as a fast copy.
  • Keep the bot token on the server and out of the page's code.
  • Handle the 429 answer with a retry instead of dropping the message.
  • Measure the time to first reply for a month before and after.
The short version

The request that reaches a phone in seconds gets answered first. The Telegram Bot API delivers it for $0, as long as the lead is saved before it is sent.

Lead and order alerts like these are part of our chatbot development and website and landing page development. For every new client the first MVP is free, built in 24 hours to one week, and a landing page with a form wired to your Telegram fits that well.

Building something similar?

Tell us what you are building and leave with a plan, or see what we do and how we work.

Talk to usOur services