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

Call overdue Xero customers with an AI collections agent

Every weekday at 10am, an AI voice agent phones your most overdue Xero accounts, logs what each customer promised, and reports back to finance in Slack.

LiveKit
Xero
Deepgram
+2
Agentic Task
Win back LiveChat visitors whose chats went unanswered

Every couple of hours we find the chats your team never answered, email those visitors a real reply, and hand the sensitive ones to a support lead.

LiveChat
Gmail
Slack
Agentic Task
Chat quality review board for LiveChat support leads

Score last week's finished live chats against one rubric, let an AI grader draft the notes with quotes, and send coaching straight to the agent.

LiveChat
Slack
General Input Database
App
Win back no-show and cancelled appointments every morning

Every weekday morning, every appointment that fell through yesterday gets a personal text or email inviting them to rebook, plus a task for the right rep.

LeadConnector
Google Sheets
Slack
Agentic Task
Live Loop returns analytics with product-level drill-down

Pick any date range up to 120 days and see return volume, refund versus exchange mix, and the products behind every number, recalculated each time you open it.

Loop Returns
Google Sheets
Slack
App
Newsletter pre-flight and approval board for Mailjet sends

Every newsletter gets read, checked and signed off in one place, so nothing goes out with a broken link or a half-filled greeting.

Mailjet
Slack
General Input Database
App

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.