Notification rules
What gets sent, to whom and through which channel when something happens in the business. Templates use placeholders filled with the order data.
New order arrived in the Hub
NEW_ORDER
✓ Telegram
✓ SMS
○ E-mail
New order {bcs_id}, product {product_short}, price {price_brutto}
Supplier uploaded a proforma
PROFORMA_T1
✓ Telegram
○ SMS
○ E-mail
Proforma for {bcs_id}, amount {pf_t1_total}
Payment received
WPLATA_T1
✓ Telegram
✓ SMS
○ E-mail
Instalment I paid for {bcs_id}
Courier picked up the parcel
PICKUP
✓ Telegram
○ SMS
✓ E-mail
Parcel {track_id} picked up, tracking: {track_link}
Customer sent a message
MSG_IN
✓ Telegram
○ SMS
○ E-mail
New message from {klient}
Recently sent
Empty. Use an event simulation in the top bar and you will see here exactly what would go out by Telegram, SMS and e-mail to the customer.
⚙ How it works under the hood▼
Evente.g. NEW_ORDER
→Rulechannels and recipients
→Templateplaceholders {bcs_id}, {price_brutto}
→DeliveryTelegram, SMS, e-mail
→Logwhat went to whom
Rules live in the database, so a new kind of notification is a panel entry, not a code change.
PHP 8MySQLTelegram Bot APISMSAPISMTP