All projects
Integration

Instant Telegram and Email Alerts

The owner gets a Telegram message for new leads, payments, or issue reports, while customers receive transactional emails.

Status
Live
Layers
IntegrationAutomation
Used by
Owners and admins who need to know right away about new leads, payments, or issue reports.

The problem

Leads and payments that arrive at night aren't seen until the next day, so responses come late.

The solution

Each important event goes to every active channel in parallel: Telegram for admins and email for customers. Messages are built from event IDs, so personal data stays out of the logs.

How it works

What happens, step by step, from the user's point of view.

  1. 01

    Something important happens

    For example, a new lead fills in a form, a payment clears or is refunded, or a user reports a problem.

  2. 02

    Data is saved first

    The business record is saved to the database first. Alerts go out afterwards, so a delivery problem never loses data.

  3. 03

    Sent to every channel

    One event goes out at the same time to every active channel. If one channel fails, the others still work.

  4. 04

    The admin gets a Telegram message

    A Telegram bot sends a summary to the admin chat, so the owner can respond straight from their phone.

  5. 05

    The customer gets an email

    The customer receives transactional emails, such as payment instructions, a receipt, or a request confirmation.

System design

Who uses it, what they see, what works behind the scenes, and where the data lives. Read it from left to right.

  1. 1Where events come from

    • Forms and paymentsNew leads, cleared payments, refunds, and manual transfer claims.
    • Issue reportsUsers report errors or problems from the website.
  2. 2Behind the scenes

    • Alert dispatcherPasses one event to every active channel at the same time.
  3. 3Channels

    • Telegram botSends messages to one preset admin chat.
    • Email (SMTP)Emails customers and sends internal alerts to the admin address.
  4. 4Recipients

    • Owner and adminRead alerts in Telegram or email and follow up quickly.
    • CustomerReceives payment instructions, receipts, and request confirmations.

Key features

  • Telegram alerts for admins
  • Transactional emails to customers
  • Leads, payments, and reports
  • Channels switch on separately
  • No personal data in logs

Built with

  • FastAPI
  • Telegram Bot API
  • SMTP

What the business gets

  • Leads and payments that arrive at night are still noticed straight away.
  • A small team doesn't have to keep a dashboard open to stay informed.
  • A problem in one channel doesn't stop the others.
  • Customers' personal data stays out of the system logs.

Terms on this page

Bot Telegram
An automated Telegram account the system controls to send messages to a chosen chat.
SMTP
The standard way servers send email, the same one Gmail and other mail services use.
Email transaksional
Email triggered by a customer's action, such as a receipt or confirmation, rather than a promotion.

Can it work for your business?

Small teams respond to leads and orders faster without watching a dashboard all day. Other channels can be added as you need them.

Ask about this project