Triage private Telegram DMs and route VIPs to Slack

Every 15 minutes, sort your incoming Telegram messages into VIP, casual, and noise, and let only the important ones ping you in Slack.

Agentic Task
Telegram Secretary BotSlackPersonal ProductivityOperationsNotifications & AlertsFeedback Triage
PromptCreate

Build an agent workflow that triages my incoming private Telegram DMs and routes only the signal to Slack. Trigger: cron every 15 minutes.

On each run, use telegram-secretary Receive Updates to pull the latest business_message updates since the last confirmed update_id, then advance the offset so the same messages are not re-triaged. Group updates by sender or thread so a burst from one person becomes one item, not many.

For each new sender or thread, classify into one of three buckets: (1) VIP or work-critical, (2) casual chat, (3) spam or promo. Use the VIP contact list from config plus content signals like urgency, invoices, meeting requests, or explicit questions directed at me. Anything ambiguous defaults to VIP so I never miss something real.

For every VIP or work-critical item, post a compact card into the Slack channel from config using slack Send a Message. The card should include: sender name and handle, a short snippet of what they said (trim to about 240 chars), a one-line why it matters, and a suggested one-line reply I can copy. Use Slack mrkdwn formatting, not markdown.

For the casual or trivial acknowledgments bucket (things like thanks, ok, on my way, got it), silently call telegram-secretary Mark Messages as Read to clean up my Telegram unread count. Do not post these to Slack. For the spam or promo bucket, do nothing at all, do not mark them read and do not post them, so I can eyeball and delete on my own.

Never send a reply on Telegram as me. The suggested reply lives inside the Slack card only, so I can decide.

Config knobs I want exposed on the workflow: the Slack channel id for alerts, a VIP contact list (names, phone numbers, and Telegram handles or usernames), a keyword list that always counts as VIP (for example invoice, urgent, contract), and a quiet hours window (start hour, end hour, timezone) during which only truly urgent items post to Slack and everything else waits for the next non-quiet run.

Keep small state between runs so I do not get duplicate alerts: track the last confirmed update_id from telegram-secretary Receive Updates, and track which sender+message id pairs have already been posted to Slack this session.

What does this prompt do?

  • Checks your personal Telegram every 15 minutes for new private messages your secretary bot can see.
  • Sorts each new sender or thread into VIP or work-critical, casual chat, or spam and promo.
  • Posts a compact card in the Slack channel you choose for anything VIP, with the sender, a snippet, why it matters, and a suggested one-line reply.
  • Silently clears the Telegram unread badge for casual acknowledgments like thanks or on my way, so your inbox stays tidy without pinging you.

What do I need to use this?

  • A Telegram account with a personal secretary bot connected (Telegram Business account required for the secretary feature).
  • A Slack workspace and the channel or DM you want VIP alerts to land in.
  • A short VIP contact list (names, phone numbers, or Telegram handles) so the agent knows who is truly important.
  • Optional quiet hours window if you only want alerts during work hours.

How can I customize it?

  • Change how often it runs. The default 15 minute cadence keeps things near real time, but you can slow it down for less noise or speed it up if you live in Telegram.
  • Edit the VIP list and the buckets. Add clients, your partner, family, or specific keywords like invoice or urgent that should always route to Slack.
  • Set quiet hours so evenings and weekends only ping for truly urgent contacts, and everything else waits for morning.
  • Pick where alerts land. Route them to a private #telegram-signal channel, a DM to yourself, or split VIP work contacts to one channel and personal contacts to another.

FAQs

Will the agent ever reply to my Telegram messages for me?
No. It never sends replies as you. It suggests a one-line reply inside the Slack card so you can copy and paste, but the send is always your call.
Do I need Telegram Business for this to work?
Yes. The secretary bot feature requires a Telegram Business account, which you connect your bot to under Settings and Chatbots. Once connected, the bot can see your incoming private messages so this workflow can triage them.
What counts as a VIP?
Whoever you list. Most people start with a handful of clients, key coworkers, and close family, plus a few keywords like urgent or invoice. You can update the list anytime and the next run picks it up.
Will it flood my Slack channel?
No. Casual messages and promos never post to Slack. Only the VIP bucket makes it through, and during quiet hours the bar is raised so only truly urgent items get past.
Does it mark everything as read on Telegram?
Only the low-signal messages like short acknowledgments. VIP and unclear threads stay unread so you can handle them yourself.

Related templates

Auto-fix your calendar when a flight slips, and flag what's at risk

When your flight moves, your calendar times get corrected automatically and you get a Slack note naming the meetings you're about to miss.

Google Calendar
AviationStack
Slack
Agentic Task
Trace phishing emails to the sending IP and report abuse

Every 15 minutes, forwarded phishing reports get traced back to the server that really sent them, with a verdict in Slack and the worst senders reported.

AbuseIPDB
Gmail
Slack
Agentic Task
Turn procurement portal tenders into CRM deals each morning

Every weekday at 7am, sign in to the tender portals you track, filter new notices against your bid criteria, and open a deal for the ones worth chasing.

Anchor Browser
Google Sheets
HubSpot
+1
Agentic Task
Turn each week's football fixtures into a venue staffing plan

Every Monday, rank the week's matches by expected demand, put the big ones on your venue calendar, and post a rota-ready summary to Slack.

API-Sports
Google Calendar
Slack
Agentic Task
Turn 5 star Yotpo reviews into a weekly marketing content queue

Every Tuesday we pull your best new reviews, draft social captions, email testimonials and product page quotes, then stage them in Notion for approval.

Yotpo
Notion
Slack
Agentic Task
Catch bad shipping addresses before you buy the label

Every weekday morning, unfulfilled orders get an address check: harmless typos fixed automatically, risky addresses held with a note to the customer.

Shippo
Shopify
Gmail
+1
Agentic Task

Stop scrolling Telegram to find the messages that matter.

Connect Telegram and Slack once, and Geni triages your private DMs every 15 minutes so only the signal reaches you.