Telegram Notification Bot for New Website Orders

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1 servicesAll 2065 services
Telegram Notification Bot for New Website Orders
Simple
from 1 business day to 3 business days
FAQ

Our competencies:

Development stages

Latest works

  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1171
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1094
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    831
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    879
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    453

Developing a Telegram Bot for New Order Notifications

A Telegram bot for order notifications — one of the fastest tools to implement that immediately delivers tangible results: managers get notifications instantly, without email and without needing to keep the admin panel open.

What the Bot Sends

Typical message for new order:

🛒 New Order #4821

Customer: Ivan Petrov
Phone: +7 (916) 123-45-67
Email: [email protected]

Products:
• iPhone 15 Pro 256GB × 1 — $1,299
• MagSafe Case × 2 — $55

Total: $1,409
Payment: Credit card ✅
Delivery: DHL, Moscow, Tverskaya St, 1

🔗 Open in CRM

PHP (Laravel) Implementation

class TelegramOrderNotifier
{
    private string $botToken;
    private array  $chatIds;

    public function notify(Order $order): void
    {
        $message = $this->buildMessage($order);

        foreach ($this->chatIds as $chatId) {
            Http::post("https://api.telegram.org/bot{$this->botToken}/sendMessage", [
                'chat_id'    => $chatId,
                'text'       => $message,
                'parse_mode' => 'HTML',
                'reply_markup' => json_encode([
                    'inline_keyboard' => [[
                        ['text' => '📋 Open Order', 'url' => route('admin.orders.show', $order)]
                    ]]
                ])
            ]);
        }
    }

    private function buildMessage(Order $order): string
    {
        $items = $order->items->map(fn($item) =>
            "• {$item->product->name} × {$item->quantity} — " .
            number_format($item->total, 0, '.', ' ') . ' ₽'
        )->implode("\n");

        return <<<HTML
        🛒 <b>New Order #{$order->number}</b>

        <b>Customer:</b> {$order->customer_name}
        <b>Phone:</b> {$order->phone}

        {$items}

        <b>Total:</b> {$order->formatted_total}
        HTML;
    }
}

Bot is invoked from Observer or Event Listener when order is created.

Notifications to Multiple Recipients

The chat_id list is stored in configuration and can include personal chats of managers and group chats of departments. For each product group — separate list of recipients.

Timeline: 1–2 business days.