A Telegram bot needs to be implemented for a restaurant with a loyalty system. The question is which platform this can be done on so that we can manage the bot ourselves in the future. The logic involves automatic bonus accrual for orders in the dining area, a separate self-pickup scenario with a -10% discount via QR code, customer segmentation, and the ability to launch mailings without involving a developer. An important condition is maximum automation of processes.
Main functionality
1. Registration
/start
receiving Telegram ID, name
collecting phone number
saving user data
2. Bot menu
My bonus balance
Self-pickup -10%
How loyalty works
New items and events
3. Bonus system
bonuses are accrued only for orders in the dining area
5% of the bill amount
1 bonus = 1 UAH
can pay up to 30% of the bill
bonuses do not apply to self-pickup
bonus validity period — 365 days
4. Self-pickup (-10%)
when choosing self-pickup, the customer receives a -10% discount
the bot records the tag SelfPickup
implementation via QR code / session_id
bonuses are not accrued for self-pickup
5. Segmentation
bonus customers
self-pickup
new (up to 30 days)
inactive (30 / 60 days)
6. Mailings
launch without a developer
messages about bonuses, new items, events
examples:
“You have {{bonus_balance}} bonuses — can use up to 30% of the bill”
“Bonuses will expire in 7 days”
Result
A ready Telegram bot that:
- accrues bonuses with minimal manual actions;
- applies discounts for self-pickup;
- forms a segmented customer database;
- is fully managed without developer intervention
Please indicate which platform this can be implemented on, how much it will cost, and how much time is needed. Thank you in advance!