# Custom Status Notifications

## What It Is

When an order status changes in the dashboard or payment is confirmed, your bot can automatically dispatch a branded status update straight to the customer's chat thread.

In Botconsole, notification copy is fully customizable on a per-status and per-platform basis (Telegram, Web Widget, WhatsApp, SMS).

## Configuring Notification Templates

Navigate to **Products → Settings → Status Templates**.

For each lifecycle status:
- **New Order**
- **Processing**
- **Paid**
- **Delivered**
- **Cancelled**

You can:
1. **Enable or disable** automatic dispatch for that specific status.
2. **Define dedicated copy** tailored to each communication platform.
3. **Insert dynamic placeholders** that resolve to real-time order and buyer data.

## Channel-Specific Customization

Different messaging channels have different presentation strengths and constraints:

- **Telegram**: supports bold and italic formatting, action buttons, and rich emoji styling.
- **Web Widget**: concise, clean notification popups on your website.
- **WhatsApp**: structured conversational messages without complex markup.
- **SMS**: concise text snippets designed to fit standard 160-character segment limits.

If no channel-specific template is defined, the bot uses its default fallback message.

## Dynamic Placeholders

The following macro variables are substituted with actual order data before the message is sent:

| Placeholder | Replaced With | Example |
|---|---|---|
| `{{order_id}}` | Order tracking ID | `1042` |
| `{{summa}}` | Final order total | `45.00` |
| `{{currency}}` | Order currency code | `USD` |
| `{{status}}` | Localized status label | `Paid` |
| `{{customer_name}}` | Buyer's first name | `Alex` |
| `{{delivery_date}}` | Estimated delivery date | `2026-09-10` |
| `{{delivery_address}}` | Shipping destination | `124 Main Street, Apt 4B` |
| `{{track_code}}` | Courier tracking number | `TRACK-998877` |

### Sample Template: Order Processing

```
Hello {{customer_name}}! 📦

Your order #{{order_id}} has been approved and is being packed.
Total amount: {{summa}} {{currency}}.

Estimated delivery: {{delivery_date}}.
We will send you a tracking code as soon as the package ships.
```

### Sample Template: Order Delivered

```
Your order #{{order_id}} has been delivered! 🎉

Thank you for choosing us. We would love to hear your feedback on your purchase!
```
