Telegram Bot for Car Dealerships: Inventory Alerts and Test Drives
A build guide to a Telegram bot for car dealerships: unit-level inventory alerts, three-state vehicle logic, test-drive booking, lead routing and the DMS/CRM integrations behind it.
Why a Car Dealership Needs a Different Bot From an Online Shop
Most dealerships that "get on Telegram" end up with a channel: one photo of a car, a price, a phone number. The car sells, the post stays up, and the next day someone calls the showroom to ask whether it is still there. The channel handled the easy part — posting — and skipped the part that matters: keeping the answer accurate.
A catalogue of unique units, not repeatable SKUs
An online shop sells the same SKU again and again. When stock runs out, the product page waits for a restock. A dealership sells VIN-level units: this car, in this colour, with this mileage, at this price. Each one appears once, gets reserved, and sells once.
That moves the bot's core job from listing to change detection. A sold vehicle has to disappear from every message thread at once. If a buyer gets an alert for a car that went two days ago, the bot stops being a source of information and becomes a source of wasted trips.
| Webshop bot | Dealership bot |
|---|---|
| Same SKU, restocks | Unique unit, sells once |
| Job: display catalogue | Job: detect and push changes |
| Stale listing is annoying | Stale listing is a lost customer |
Three jobs, one data source
A dealership bot does three things, and all three read from the same inventory:
- Alert — push new arrivals and price drops to buyers whose filters match.
- Book — take a test-drive slot inside the chat and remind the buyer before it.
- Qualify — capture trade-in and financing context, then route the lead to the right sales rep.
Reach where buyers already are
Telegram reported more than 700 million monthly active users in June 2022 (Wikipedia). That is reach, not a dealership statistic — but it explains why a bot can meet buyers in an app they already have open, instead of waiting for a form fill on a page they will never visit.
What follows is a build guide: what to build first, what the bot must connect to, and what belongs in version two.
Unique Units, Not SKUs: The Three-State Vehicle Model
A webshop bot publishes content. A dealership bot detects change. The same model can restock forever; a used vehicle exists once, gets reserved, and sells. If the bot treats inventory as a catalogue to write about, it will lag behind the lot by hours. If it treats inventory as a stream of state changes against one source of truth — a DMS export or a maintained inventory file — every message it sends stays correct.
The three states and what each one does
| State | Alerts | Test-drive booking | Availability in the feed |
|---|---|---|---|
| Available | Alertable: new arrival, price drop, returned to lot | Bookable, subject to slot rules | Shown as available |
| Reserved | Hidden from new alerts; existing subscribers notified only if you choose to | Blocked, or offered as a waitlist entry | Shown as reserved, no booking button |
| Sold | Never alerted again | Blocked | Removed from all feeds |
Sold is the state that most bots get wrong. The unit must leave every feed at once, and the original message thread should be updated — edited in place where the platform allows it — with subscribers who had it open offered comparable alternatives instead of a dead link.
One stable vehicle ID drives everything
Every vehicle needs an ID that never changes: the VIN, or an internal stock number if the DMS provides one consistently. The bot keys its records and its sent messages to that ID, so a price change edits the existing alert rather than posting a second one.
{ "vehicle_id": "STK-1042", "state": "reserved",
"changed_by": "sales_rep", "at": "…" }
Transitions are human, reflection is automatic
A sales rep confirms a reservation in the DMS or drops a command in the sales-team chat; the bot reflects the new state within the sync interval — no separate admin screen to keep in step.
When a reservation falls through, the unit returns to available and becomes a legitimate alert event, not spam. That is a real change buyers want to know about, and it should carry the same stable ID and the same message thread.
The failure mode to design against
The feed breaks. The bot goes quiet or, worse, quietly shows yesterday's cars as if nothing happened. Make it say so loudly: a status message to the sales-team chat naming the failed source and the time of the last successful sync, and a visible "inventory last updated" note in the buyer-facing feed.
If you want to see how a filtered alert feed and a test-drive flow look in practice, our Telegram bot work is a good place to start.
Inventory Alerts That People Actually Keep Switched On
A channel that posts every arrival to everyone gets muted. The alternative is a subscription where the buyer defines the feed, and the bot speaks only when something happens inside it.
Let the buyer narrow it down
On first contact the bot asks for brand, model, body type, price band, mileage ceiling and fuel/gear type, then stores the answers as a filter set. "All cars" is not a filter — it is a reason to switch notifications off. A buyer who chose "estate, automatic, within this budget" opens the message because the bot has already done the searching.
The four events worth pushing
- New arrival matching the filter, including units that came in as a trade-in.
- Price drop on a matched vehicle, with the previous and current price in one line.
- Back on the lot: a reservation fell through and the unit is available again.
- Last unit of a model year, when the next allocation will differ.
Everything else — brand news, service offers — belongs in the channel, not in the alert thread.
Full-feed mode for trade and wholesale buyers
Some subscribers want volume: trade buyers, wholesale contacts, other dealers. Offer a second mode that pushes every state change, read from the same inventory source. Same data, different delivery rule — not a second system to maintain.
Frequency control
| Control | Behaviour |
|---|---|
| Per-subscriber cap | Maximum alerts per day; the rest queue for the next digest |
| Quiet hours | No pushes during set hours in the subscriber's timezone |
| Grouping | Several matching units in one message instead of five separate pings |
| Pause | Stops pushes, keeps the chat and the saved filters |
The dealer side: edit, pause, leave
Filters must be editable from the chat, not through a support ticket. Pausing should keep the conversation intact so the buyer can switch alerts back on when budget or timing changes. Unsubscribe is one tap in every alert, and it actually deletes the subscription.
Telegram features that carry the flow
The subscription flow runs almost entirely on Telegram's own primitives. Telegram's release notes describe "Buttons in Messages to make any text interactive" and "Welcome Messages to greet new members of groups or channels" (telegram.org). That is enough for inline filter buttons, a two-line welcome message explaining the feed, and a persistent pause/unsubscribe row under each alert.
Anatomy of a Price-Drop Alert: A Worked Example
Alerts are templates, not ads. The message below is an example with placeholder text — no real dealer, brand or figure — and it is deliberately boring to read as prose and easy to read as data.
[EXAMPLE — placeholder content, not a real listing]
Price drop on a vehicle you follow
{{MAKE}} {{MODEL}} {{VARIANT}} · {{YEAR}}
{{FUEL}} · {{GEARBOX}} · {{MILEAGE}} km · {{BODY_TYPE}}
Dealer: {{LOCATION}}
Price: {{OLD_PRICE}} → {{NEW_PRICE}} (down {{DELTA}})
VIN {{MASKED_VIN}} · Ref {{VEHICLE_ID}}
[ Book a test drive ] [ Full listing ] [ Stop these alerts ]
### What each block is doing
| Block | Job |
|---|---|
| Identity line | Make, model, variant, year — enough for the buyer to recognise the car from their own filter, not from a photo |
| Change line | States what happened: old price, new price, difference |
| Specs line | Confirms the filter still matches (fuel, gearbox, mileage, body type) |
| Primary action | Book a test drive — the conversion the bot exists for |
| Secondary actions | Full listing for detail, unsubscribe for control |
| Reference | Stable vehicle ID and masked VIN, so later edits update this thread instead of opening a new one |
### Why the change line outranks the photo
The buyer subscribed to a filter, not to a brand campaign. They said "this model, this price band, this mileage" — so the first thing they should see is confirmation that their condition was met and then improved. A photo asks them to re-evaluate the car. The `{{OLD_PRICE}} → {{NEW_PRICE}}` line tells them their waiting paid off. Keep the photo behind the listing button.
### The state-aware variant
Same template, different state. If the unit moves to *reserved*, the booking button becomes a waitlist button — and the change line is replaced:
```text
[EXAMPLE] {{MAKE}} {{MODEL}} {{VARIANT}} · {{YEAR}}
Status: Reserved — another buyer has a hold on this unit.
{{NEW_PRICE}} · {{MILEAGE}} km · {{LOCATION}}
[ Join the waitlist ] [ Full listing ] [ Stop these alerts ]
### No dead buttons
Every button must answer the tap synchronously: an inline confirmation ("Test drive request sent — the team replies here"), an alert popup for a failed slot check, or an edited message after the waitlist join. Telegram's bot API lets you respond to a callback query directly, so there is no excuse for a button that does nothing visible. If the inventory feed is stale or the unit has just sold, the bot says so in that same tap instead of pretending the booking went through.
## Test-Drive Booking and Reminder Logic Inside the Chat
The test-drive flow starts where the alert ends. A buyer taps a vehicle in a pushed alert, the bot opens that unit's card, and the card carries one primary button: book a test drive.
### The flow in five taps
1. **Vehicle confirmed** — the bot restates the exact unit: model, variant, short vehicle ID, location.
2. **Slot picked** — real availability for that unit, not a static list of opening hours.
3. **Details captured** — name, phone, whether a driving licence is held, preferred contact channel.
4. **Confirmation sent** — time, dealership address, which entrance, what to bring (driving licence, ID), plus cancel and reschedule buttons.
5. **Sales team notified** — the booking lands in the sales-team chat and on the rep's calendar in the same step.
### Slots come from the calendar, not opening hours
The slot grid must be generated from the sales team's calendar — Google Calendar, Outlook or the CRM's own scheduling — with opening hours used only as an outer boundary. A hard-coded "Mon–Sat, 9–18" list will double-book the first busy Saturday, and the bot will look broken exactly when demand is highest.
### Buffers and caps
| Rule | Example setting | Why it exists |
|---|---|---|
| Per-vehicle buffer | 15 min before and after | handover, cleaning, fuel |
| Per-rep buffer | 10 min between drives | notes, walking to the lot |
| Daily cap per unit | 2 test drives | keeps a demo unit sellable and available |
| Upcoming bookings per customer | 1 | one buyer cannot block three slots |
### Reminders, cancels and no-shows
One confirmation at booking, one reminder ahead of the slot. Both messages carry cancel and reschedule buttons; cancelling frees the slot immediately and messages the rep. If a buyer does not appear, the rep marks the no-show in the sales-team chat, and the bot offers the buyer a new slot instead of silently dropping the lead.
### Deposits and contracts: the dealership's call
This article is not commercial or legal advice on deposits, reservation fees or contracts. Any deposit or contract terms belong to the dealership and its advisers.
## Qualify and Route: Trade-In, Financing and the Right Sales Rep
The third job is qualify. A test-drive request is not a booking yet — it is a lead with a vehicle attached, and the showroom needs a few answers before the slot is worth a salesperson's hour.
### Four answers, stored once
Ask only what the desk actually uses:
- **Trade-in:** yes or no. On "yes", the bot asks for one photo of the car and the mileage, and attaches it to the record.
- **Financing:** interested, not interested, undecided.
- **Timeline:** this week, this month, this quarter, just looking.
- **Language:** the language the buyer wants the handover call in.
Store these as fields on the lead, not as loose chat lines. A rep opening the record sees the vehicle, the answers, the requested slot and the timestamp in one place — no scrolling through a thread to reconstruct the conversation.
### Routing rules
| Rule | Match on | Fallback |
|---|---|---|
| Brand | Rep certified for the marque | General sales pool |
| Location | Nearest showroom to the buyer | Showroom holding the unit |
| Language | Buyer's preferred language | Rep with a shared second language |
| Shift | On-duty rep | On-call rep; lead queued with a timestamp |
### Claim instead of assign
Assignment needs someone to maintain a rota and a fair-share logic. Claiming is simpler and fits small teams. The bot posts the lead into the sales-team chat:
New lead #1841
Hatchback 1.6 · 2021 · 42,000 km
Trade-in: yes (photo attached)
Financing: interested
Timeline: 2–4 weeks · Language: DE
[ Claim lead ] [ Pass ]
The first rep to tap owns it, and the bot edits the card to show who claimed it. After a timeout, unclaimed leads escalate to the sales manager, then to a second chat. Reps see ownership in the open; the bot keeps the record; nothing sits in a private inbox where it can go cold overnight.
### Privacy, kept minimal
Collect the minimum needed to route and prepare the drive, say at the point of collection what it is for and how long you keep it, and honour deletion requests. Retention and consent wording are legal questions for a qualified adviser — this is not legal advice.
If the CRM and the bot ever disagree about a lead, see the FAQ at the end of this article.
## What the Bot Must Connect To: The Exact Integration List
Four connections carry the whole system. Everything else — analytics, ad pixels, review requests — is optional and can wait.
| System | Role | Minimum you need |
|---|---|---|
| Inventory / DMS | Source of truth for vehicles and their available / reserved / sold state | A recurring export with a stable vehicle ID, price, state and a last-updated timestamp |
| CRM | Where a lead becomes a record and, later, a deal | An API or form endpoint accepting name, contact, filters, enquiry type and source = Telegram |
| Calendar | Real test-drive availability, and the place bookings land | Write access to the sales calendar, or a two-way sync |
| Sales-team chat | Operational surface for lead claims, state changes and exceptions | A Telegram group the bot can post to and read replies from |
### On the inventory export
The export format matters more than the brand of the system behind it. A nightly CSV from the DMS, a JSON endpoint or a well-kept spreadsheet all work if the vehicle ID stays stable across runs. An export that is manual today can still ship in version one — but someone on your side must own the update, and the bot must flag stale data instead of quietly serving yesterday's lot.
### Polling or webhook
If the DMS offers a webhook, use it: the bot reacts to a change the moment it happens. If it only produces a file, poll it — every five to fifteen minutes is usually enough for a dealership — and record the last successful sync. When a sync fails, alert messages should pause and the sales-team chat should get a plain note, so nobody is pushing a sold car.
Telegram's rich text support for bots keeps those messages readable — bold price lines, links and structure instead of a wall of plain text ([telegram.org](https://telegram.org/)).
## Filtered Alert Bot vs Broadcast Channel vs Web Form
### Side-by-side
| | Filtered alert bot | Plain broadcast channel | Web form |
|---|---|---|---|
| How vehicles reach the buyer | Push per matched vehicle, in the buyer's chat | Every post hits every subscriber | Buyer comes to the page and searches |
| Filtering | Brand, model, body, price band, mileage, fuel/gear | None — one feed for all | Only if the listing page has filters |
| Sold-vehicle handling | Message is edited or closed via the stable vehicle ID | Old post stays up, buyer has to guess | Page refresh or nothing |
| Test-drive booking | Inside the chat, with slots and reminders | Not possible | Possible, but only after the form round-trip |
| Lead capture | Every tap carries the vehicle and the subscriber | None beyond channel views | Structured, but only for people who finish it |
| Effort per week for the dealership | Low after setup: keep the inventory feed clean | Medium: someone must write and schedule posts | High: someone must work the inbox |
| What the buyer has to do | Choose filters once | Read everything and hope | Find the page, fill fields, wait |
### Where a plain channel is still fine
Announcements, stock highlights, new-arrival roundups, brand content, opening hours. A channel is a megaphone with no memory of who wants what. It cannot tell a buyer "this is the wagon you asked for, and it just dropped" — so it complements the alert feed, it does not replace it.
### Where a web form still wins
Buyers who are not on Telegram. And long-form enquiries — financing, trade-in with a VIN, special orders — where the buyer needs to upload documents and the sales team needs a record, not a chat thread.
### The recommendation
Small lot, few leads: start with the channel plus a form, and add the bot when the vehicle count makes manual matching painful. Larger, fast-moving inventory with real lead volume: the filtered alert bot earns its keep first, because filtering is the only feature that scales with both.
## Build Order, and How WEB3 Build Studio Approaches It
The right first release is small enough to ship while the sales team can still check its output by hand.
### Version one
Five things, in this order:
1. **One source-of-truth feed** — a DMS export or a maintained inventory file, with a stable vehicle ID per unit.
2. **Filters and the three states** — available, reserved, sold, driving both alerts and booking availability.
3. **The alert message** — new arrival, price drop, reservation released, last unit of a model year.
4. **Test-drive booking** — slot logic, buffers, same-vehicle caps and reminders inside the chat.
5. **Lead routing** — trade-in, financing and general enquiries pushed into the sales-team chat with a claim control.
Do not add a second channel or a second data source until this loop is stable.
### Version two
Trade-in and financing flows with file uploads (photos of the car, documents) belong here, because they need storage, retention rules and an owner on the sales side. A rep-facing console — leads, claim status, booking calendar — is the next step once routing volume outgrows a chat thread. When the lot is large enough that scrolling the chat catalogue becomes the bottleneck, the optional step up is a **Telegram Mini App catalogue**: filterable, with images and detail pages, backed by the same feed and the same three-state model.
| Stage | Scope | Price (one-off) |
|---|---|---|
| Version one bot | feed, filters, states, alerts, test-drive booking, routing | Start $300 |
| Care | hosting, monitoring, backups, updates, maintenance | $59 per month |
### How a studio like WEB3 Build Studio works on this
One team from architecture to deployment, with no handoffs between a design shop, a development shop and a DevOps contractor. Every system is engineered around the actual problem — your feed format, your routing rules, your sales shifts — rather than bent onto a template. Telegram bot development here covers bots, Mini Apps, communities and automation platforms, built on Next.js, React, TypeScript, PostgreSQL, Prisma, Node.js and the Telegram platform itself.
If you want to see how a filtered alert feed and a test-drive flow look in practice, our Telegram bot work is a good place to start: [/#/services](/#/services), [/#/contact](/#/contact).
Tell us about your lot, your DMS and your sales team on the project brief form at [/#/contact](/#/contact) and we will scope the first version with you.
## Frequently asked questions
### Can a Telegram bot show our live vehicle inventory?
Yes. The bot should read from one inventory source, not a copied list. On each search or vehicle view, it queries your database or API and renders cards with make, model, year, mileage, price, photos and status. Inline buttons handle filters, pagination and “request test drive.” “Live” means sold or reserved vehicles are hidden or marked immediately. Use short cache times and webhook updates for status changes. Telegram file IDs can speed up photo delivery. Admin commands or a small back office should update status, price and availability without editing code.
### Do we need a Mini App or is a plain bot enough?
A plain bot is enough for alerts, search by filters, vehicle cards and test-drive requests. Choose a Mini App when buyers need a rich catalog, photo galleries, maps, saved favourites, a calendar UI, accounts or a manager dashboard. A practical pattern is a bot as the entry point and notification channel, with a Mini App for browsing and booking.
### Where does the bot get vehicle data from if our DMS has no clean export?
Build a small ingestion layer instead of coupling the bot directly to the DMS. Use the best available source: a read-only API, scheduled CSV report, database view or a manual admin form as fallback. Stage the data, normalise VIN, stock number, price, mileage, photos and status, then validate and deduplicate by VIN or stock ID. Keep one clear source of truth and sync status frequently. If the DMS vendor offers only scheduled reports, the bot can still work; sold and reserved vehicles just need a reliable status update path.
### How do we stop one buyer from booking the same car for every slot?
Make bookings identity-based and rule-bound. Require Telegram identity plus phone verification, then enforce one active booking per buyer per vehicle and a cap per week. Add a cooldown after cancellation or no-show, and require dealer approval or a deposit for high-demand cars. Store bookings with a unique constraint on user, vehicle and active status. Offer a waitlist instead of unlimited slots. Salespeople should see buyer history and be able to block repeat no-shows. These rules belong in the booking service, not only in the bot UI.
### What happens when a vehicle sells while someone has a test drive booked?
Treat vehicle status and booking status as separate state machines. When a car is marked sold or reserved, the bot should find future bookings, flag them for review, and notify affected buyers with clear options: a similar vehicle, waitlist or another slot. Notify the salesperson too. Do not silently cancel. Auto-reschedule only under rules the dealer approves; otherwise require confirmation. Keep an audit log of status changes, notifications and cancellations. If a deposit was taken, handle the refund according to your stated policy.
## Sources
- [Telegram – Wikipedia](https://de.wikipedia.org/wiki/Telegram)
- [Telegram Messenger](https://telegram.org/)