Many B2B portals fail in the same quiet way. A shop owner gets a login, opens the portal twice, forgets the password, and goes back to sending orders by phone or in a chat. A manager then retypes each order into the accounting software, and mistakes creep in at that step.
Your wholesale customers already have one app open all day. In many markets it is Telegram. A Telegram Mini App puts the catalogue and the cart inside that app, with no separate install and no password to forget. This article explains how such an ordering app is built, what has to connect behind it, and when a classic web portal is still the better choice. We built one for Octolab, and we use that project as the example.
What a Telegram Mini App is
A Mini App is a web application that opens inside Telegram. The customer taps a button in a bot chat or a link, and a full-screen page loads on top of the conversation. It runs on iOS, Android and desktop Telegram from the same code, because it is HTML and JavaScript underneath.
Three things make it useful for B2B ordering:
- Identity comes with it. Telegram passes the app a signed block of data about the user. Your server checks the signature with the bot token and knows which Telegram account opened the app. You link that account to a customer record once, and the customer never types a password again.
- The bot is the notification channel. Order confirmations, status changes and delivery details go to the same chat the customer opens the app from.
- No store review. You ship a new version by deploying the web app. Nobody waits for Apple or Google to approve a fix to the cart.
What it does not give you is the business logic. Price rules, stock, credit terms, the link to the accounting software and the manager’s side of the process are all yours to build.
Portal, chat or Mini App: a comparison
| Web portal | Orders by chat or phone | Telegram Mini App | |
|---|---|---|---|
| Customer effort to start | account, password, bookmark | none | tap a button in a chat |
| Order data | structured | free text, retyped by a manager | structured |
| Notifications | email, often unread | in the chat | in the bot chat |
| Works for customers outside Telegram | yes | yes | no |
| Large orders with hundreds of lines | comfortable on a desktop | painful | fine on desktop Telegram, harder on a phone |
| Release of changes | deploy | not applicable | deploy, no store review |
The chat column is what many distributors actually run on, whatever their official portal is. The Mini App keeps the convenience of the chat and adds the structure of the portal.
Octolab: what we built
The client wanted wholesale customers to order in Telegram, with every order reaching the accounting system without retyping, and a tool built around its own process in place of the CRM it used before.
We planned the app in July 2026 and ran a pilot with real wholesale customers in August. Since then we have kept iterating. The result, as published in the case study:
- shops and dealers place orders in a Telegram Mini App;
- orders go into the accounting system in one step, with no retyping;
- managers get new orders and a daily report in Telegram;
- the sales team works in a web CRM we built: orders, customers, catalogue, banners, access and roles;
- the CRM has analytics: turnover by month, customer segments, churn risk, and conversion and response time for each manager;
- the new tool replaced the previous CRM for wholesale orders.
Retail customers now also get order status and the delivery tracking number from the bot. The stack is Python with FastAPI, PostgreSQL, aiogram for the bot, a Telegram Mini App front end and Docker.
The analytics part matters more than it sounds. Once orders are structured data, the owner can see which customers have stopped ordering and which manager takes longest to respond. With orders in chats and phone calls, nobody has those numbers.
What has to work behind the app
The Mini App is the visible part. Most of the work sits in four places behind it.
Customer identity and onboarding
Decide how a Telegram account becomes a known customer. Common options are an invitation link generated in the CRM, or a request the customer sends from the bot that a manager approves. Either way, a manager links the Telegram user to the customer record in your accounting software, and from then on the app knows whose terms apply.
Verify the signed launch data on the server for every request. If you skip that step, anyone who can call your API can pretend to be a customer.
Catalogue and terms from the accounting software
The catalogue, stock and each customer’s commercial terms usually live in the accounting software already. Copying them by hand into a second system creates two versions of the truth. Pull them from the accounting side on a schedule, and decide what happens when an item goes out of stock between the customer opening the app and pressing “order”.
Orders into accounting without retyping
This is the step that saves the most manager time and removes the most errors. The order the customer confirms in the app should arrive in the accounting software as a document with the right customer, items and quantities. Plan for failures: the accounting side may be unavailable for a few minutes, so orders need a queue and a retry, and a manager needs to see any order that did not go through.
The manager’s side
Customers order, and then people process those orders. Managers need a list of new orders, a customer card with order history, and roles that control who sees what. Notifications in Telegram help managers react quickly, and a daily summary keeps the owner informed without opening the CRM.
When a Mini App fits and when it does not
It fits when:
- your customers already message you in Telegram;
- orders are repeat purchases from a known catalogue;
- customers order from a phone, often from the shop floor;
- you want to release changes without store reviews.
Keep a web portal, or build both, when:
- a large share of customers do not use Telegram or are not allowed to use it at work;
- orders run to hundreds of lines and are usually assembled on a desktop from spreadsheets;
- procurement requires formal punch-out or EDI integrations;
- your customers expect a branded app in the stores.
A Mini App and a web portal can share one backend. The CRM, the accounting integration and the customer records stay the same, and only the front end differs. If you start with the Mini App, a browser version added later reuses everything except the screens.
Rolling it out without disrupting sales
Wholesale customers dislike changes to how they order. A pilot keeps the risk small:
- Pick a group of active customers who already message you, and ask them to order through the app for a few weeks.
- Keep the old channel open. A manager can still take a phone order and enter it in the CRM.
- Watch for orders that fail to reach the accounting software and for questions customers ask. Both point to what needs fixing.
- Move the rest of the customers when the pilot group orders without help.
On the Octolab project we ran the pilot in August 2026 with real wholesale customers and then kept improving the app through the autumn.
Checklist before you build
- Most of your wholesale customers use Telegram for work conversations.
- You know where the catalogue, stock and customer terms live, and the accounting software can export them on a schedule.
- The accounting software can accept orders automatically through an API, a file exchange or a connector.
- You have chosen how a Telegram account gets linked to a customer record.
- Launch data from Telegram is verified on the server for every request.
- Orders have a queue and a retry, and managers see failed orders.
- Managers have roles and permissions in the CRM.
- You have decided which notifications go to customers and which to managers.
- A pilot group and a date to review the pilot are set.
- You know which customers still need a web portal or the old channel.
If you are planning wholesale ordering connected to your accounting software, our e-commerce development page describes how we approach stores, B2B ordering and integrations.
FAQ
Do customers need to install anything to use a Telegram Mini App?
No. The customer needs Telegram, which they already have. The Mini App opens from a button in the bot chat or a link, on a phone or on desktop Telegram.
Is a Telegram Mini App secure enough for B2B orders?
It can be, if the server does its job. Telegram signs the data it passes to the app, and your backend must check that signature on every request and link each Telegram account to a known customer. Roles in the CRM control what managers can see.
Can a Mini App replace our existing CRM?
It can replace the ordering part, and the manager tools can be built around it. For Octolab, the Mini App together with the web CRM we built replaced the previous CRM for wholesale orders. The accounting software stays where it is and receives the orders.
What if some customers do not use Telegram?
Keep a second way in for them. A web version can use the same backend, or managers can enter those orders in the CRM. Either way, all orders end up in one place.
What would you like to do next?
Discuss a project
Tell us about the task. Within one working day we reply with questions or a first view on scope and cost.
Ask a question
A short question about your app, website or idea. An engineer replies by email.
Get new articles
New articles and case studies by email, no more than once a month. Unsubscribe at any time.