Telegram Bots and GDPR: Where Customer Data Lives, What Not to Ask, and How to Delete on Request

A bot collects names, phone numbers, sometimes addresses and health details — personal data, and GDPR applies as it does to a website form. Who is the controller, what Telegram sees and what it does not, and how to build the bot so that export and deletion are a button, not a week's work.

6 min read

In this article
  1. Who sees what
  2. What not to ask
  3. Consent and notice in the bot
  4. Export and deletion as a button
  5. Retention periods
  6. How much it changes the price
  7. What to do tomorrow
  8. Frequently asked questions

"What about GDPR?" is the question every second client asks, and rightly so. A bot is a data processing tool like any website form or CRM: it collects a name, a phone number, a booking time, sometimes an address or health notes. The good news: GDPR requirements for a bot are no harder than for a form, and a well-built bot meets them more easily, because all the data lives in one place. Here is the practical part without legal jargon.

Who sees what

First, where everything lives, because everything else depends on it:

Who What they see and store Who is responsible
Telegram the conversation between the customer and the bot (like any chat), the customer's Telegram ID, their profile name Telegram under its own privacy policy — that is the customer's relationship with Telegram
Your server (the bot) what the bot saves in its database: what the customer chose, the phone number they entered, bookings, notes you — the data controller
We (the developer) or the hosting provider technical access to the server under contract a processor acting on your instructions, under a data processing agreement

The key point: not everything said to the bot has to be stored. The bot can ask for a phone number, pass it into the booking, and keep no conversation history. What to store is your decision, and less is better. How a bot is built technically is covered in how Telegram bots work.

What not to ask

Every field in the bot must answer the question "why do I need this?". No answer — no field. In practice:

  • Name and phone — needed for the booking and the reminder. Yes.
  • Email — needed if you send a confirmation or an invoice. Otherwise no.
  • Address — only for delivery or home visits.
  • Date of birth — almost never. A "birthday discount" does not justify storing the date; the month is enough.
  • Health data (allergies, conditions, medication) — a special category. Sometimes necessary for beauty, massage or fitness services, but then: explicit separate consent, the field only for services that need it, short retention, and no health details in Telegram notifications to staff — only "notes present, see the card".
  • National ID numbers, document numbers — not through a bot. Ever.

The rule that settles half of all GDPR questions

The bot processes a booking, not a person. If the data is no longer needed after the visit, it is deleted or anonymised automatically. Data that does not exist cannot leak.

Consent and notice in the bot

Two different things that are often confused:

Notice — always required. Before the first data entry, the bot says in one sentence who processes the data and why, with a link to the privacy policy: "Your name and phone are used only for this booking and its reminder. Processed by Company X. [Privacy policy]". No consent button is needed here — a booking is performance of a contract.

Consent — needed only for what is not the contract: marketing messages ("we'll remind you when it's time to come back", promotions), health data, sharing data with a third party for anything other than delivering the service. In the bot that is a separate question with two buttons, not pre-ticked. A "no" changes nothing about the booking. The consent is recorded with a date; an /optout command withdraws it at any time — and that must actually stop the messages the same second.

Export and deletion as a button

A customer has the right to receive their data and to ask for it to be deleted. On a website that often means an email and a week of manual work. In a bot, two commands:

  • /mydata — the bot sends a file (JSON or PDF) with everything it holds about the customer: bookings, contact details, consents with dates. Without internal system identifiers that mean nothing to the customer.
  • /delete — the bot asks "are you sure?", and on confirmation deletes or anonymises the personal data (name → "Customer 4821", phone → empty), while keeping what you are legally required to retain under other laws — invoices for accounting, typically 10 years. The customer gets a confirmation; you get a log entry that the request was fulfilled.

Both actions are logged: who, when, what scope — that is your evidence if a regulator ever asks. It matters to design this from day one: when a new type of data enters the system, it goes into both export and deletion the same day. Adding it later costs ten times more.

Retention periods

Set them, write them into the privacy policy, and let the bot enforce them automatically:

  • Booking data — e.g. 12 months after the last visit, then anonymised (statistics remain, the person does not).
  • Conversation history in the bot — as short as possible: 30 days, or not stored at all.
  • Marketing consent — until withdrawn, but if the customer is inactive for 24 months, re-ask or delete.
  • Invoices — per accounting law, separately from the bot's database.

A nightly script applies the periods; the log records "anonymised 37 records". That beats any promise in a policy.

How much it changes the price

Almost nothing if done from the start: the notice text, the consent question, two commands and the nightly retention script are 1–2 days of work in any bot, and with us they are included, not sold separately. Adding them a year later to a bot that stored every conversation without structure takes several times the work plus a data clean-up. Like every technical decision: cheapest at the beginning.

What to do tomorrow

Write down what data the bot (or form, or CRM) collects today, and next to each item — why. Cross out everything where the answer is "might come in handy". Check your privacy policy: does it mention the bot as a channel, and retention periods? If not, that is a half-hour fix. For the bot itself, ask your developer to show you how /delete works; if the command does not exist, that is the first job.

Frequently asked questions

Telegram is not in the EU — can I use it under GDPR?

Businesses in the EU can use Telegram — just as they use email or phone, which also run through third-party servers. You are responsible for what you store on your server (in the EU); Telegram is responsible for its service to the customer. Name Telegram as a communication channel in your privacy policy, and keep sensitive data out of the chat text — only in your own database.

Do I need a data processing agreement with the developer?

If the developer or hosting provider has access to the server holding customer data — yes (GDPR Article 28). It is a standard one- to two-page document; with us it is part of the project contract.

What if a customer types free text to the bot and volunteers sensitive information?

The bot cannot prevent that in advance, but it can avoid storing free text longer than needed for the reply, and keep it out of staff notifications. If the information matters for the service, a person transfers it to the customer card according to the rules; the chat text is deleted on schedule.

More posts

All posts