{"id":11,"date":"2026-11-25T22:10:40","date_gmt":"2026-11-25T22:10:40","guid":{"rendered":"http:\/\/rulemancer-blog-telegram-webhook-alerts"},"modified":"2026-11-25T22:10:40","modified_gmt":"2026-11-25T22:10:40","slug":"telegram-webhook-alerts","status":"publish","type":"post","link":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/","title":{"rendered":"Alerts that reach you: Telegram, email and signed webhooks"},"content":{"rendered":"<p><strong>An alert is the only part of a trading bot you notice when it is missing.<\/strong> Bots run on a schedule you do not watch: a candle closes, a rule fires, an order fills. Without a notification the first sign of trouble is a balance you did not expect. Rulemancer routes eight trading events to four channels \u2014 in-app, email, Telegram and signed webhooks \u2014 so the bot tells you what happened instead of waiting to be asked.<\/p>\n<h2>Four channels, four jobs<\/h2>\n<table>\n<thead>\n<tr>\n<th>Channel<\/th>\n<th>Best for<\/th>\n<th>Weakness<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>In-app<\/td>\n<td>A record you can scroll later<\/td>\n<td>Only seen when you log in<\/td>\n<\/tr>\n<tr>\n<td>Email<\/td>\n<td>Anything that must survive a phone change<\/td>\n<td>Slow, easy to filter away<\/td>\n<\/tr>\n<tr>\n<td>Telegram<\/td>\n<td>Seconds-level awareness on mobile<\/td>\n<td>Noisy if every event is on<\/td>\n<\/tr>\n<tr>\n<td>Webhook<\/td>\n<td>Your own system, spreadsheet or bot<\/td>\n<td>You own the endpoint and its failures<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Start with the events that need action<\/h2>\n<p>Eight events can be routed: bot started or stopped, trade executed, take-profit triggered, stop-loss triggered, daily loss limit reached, exchange disconnected, API errors, and insufficient balance. Turning all eight on produces a stream nobody reads. A practical split:<\/p>\n<ul>\n<li><strong>Telegram:<\/strong> stop-loss, daily loss limit, exchange disconnected, API errors.<\/li>\n<li><strong>Email:<\/strong> everything above, plus bot started or stopped \u2014 a durable log of when the bot changed state.<\/li>\n<li><strong>In-app:<\/strong> all events, always, because it is the history you will want next month.<\/li>\n<li><strong>Webhook:<\/strong> trade executed, if you keep your own trade ledger.<\/li>\n<\/ul>\n<h2>Telegram in two minutes<\/h2>\n<p>Create a bot with @BotFather, paste the token into the notification settings, then press Start on your bot. The platform links your chat to your account \u2014 the linking step exists so a token alone cannot send messages to a stranger. Quiet hours are worth setting even for a serious bot: a 03:00 alert about a take-profit is not actionable at 03:00, while a stop-loss at 03:00 is exactly when you want the phone to buzz. Route the two differently.<\/p>\n<h2>Webhooks: signed, timed, and hard to spoof<\/h2>\n<p>A webhook is an HTTPS POST with a JSON body. Two headers make it verifiable: <code>X-Rulemancer-Timestamp<\/code> and <code>X-Rulemancer-Signature<\/code>, where the signature is an HMAC-SHA256 of <code>timestamp.body<\/code> using the secret you generated for that endpoint. Recompute it on your side, compare, and reject anything whose timestamp is older than a few minutes \u2014 that is what stops a captured request from being replayed tomorrow.<\/p>\n<p>The endpoint must be HTTPS and resolve to a public address; private, loopback and reserved ranges are refused. If your receiver is down, the delivery fails and the failure is visible in the webhook log rather than silently disappearing. Treat the secret like an API key: rotate it if it was ever pasted into a chat.<\/p>\n<h2>Alert hygiene that keeps the channel useful<\/h2>\n<ol>\n<li><strong>One channel per urgency.<\/strong> Stop-loss and disconnection go to the phone; routine fills go to email.<\/li>\n<li><strong>Test before you trust.<\/strong> Send a test alert after every configuration change; an alert path that was never exercised is a guess.<\/li>\n<li><strong>Watch for silence.<\/strong> A bot that normally trades twice a day and has been quiet for three is itself a signal \u2014 check the event log rather than assuming calm.<\/li>\n<li><strong>Do not forward everything to a group chat.<\/strong> Notifications others cannot act on become noise they mute.<\/li>\n<\/ol>\n<p>Notifications are configured per user under Notifications in the dashboard, and the same settings are what the trading engine reads on every event. If you are still connecting the exchange side, read <a href=\"https:\/\/rulemancer.com\/blog\/trade-only-api-keys\">trade-only API keys<\/a> first \u2014 an alert about a leaked key is better than an alert about a withdrawal.<\/p>\n<p>Ready to wire it up? Create a <a href=\"https:\/\/rulemancer.com\/register\">free account<\/a>, start a paper bot and route one event to Telegram; that single test tells you more than any checklist.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Can I get alerts for paper bots?<\/h3>\n<p>Yes. Paper bots emit the same events as live ones, which makes paper mode the right place to test your routing before real orders exist.<\/p>\n<h3>What happens if a webhook fails?<\/h3>\n<p>The delivery is recorded as failed in the webhook log with the HTTP status, and it does not block the bot. In-app and email channels are unaffected.<\/p>\n<h3>Do alerts include the trade details?<\/h3>\n<p>Each event carries the bot, the pair, the amount and the timestamp; trade events also carry the fill price and fee, so the alert alone is enough to log the trade elsewhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eight trading events, four channels and one rule: route by urgency. How to set up Telegram, verify a signed webhook and keep the channel worth reading.<\/p>\n","protected":false},"author":1,"featured_media":17,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Trading bot alerts: Telegram and webhooks<\/title>\n<meta name=\"description\" content=\"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trading bot alerts: Telegram and webhooks\" \/>\n<meta property=\"og:description\" content=\"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/\" \/>\n<meta property=\"og:site_name\" content=\"Rulemancer Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-25T22:10:40+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b4857e650cf4ad9abcd061ba92da58c\"},\"headline\":\"Alerts that reach you: Telegram, email and signed webhooks\",\"datePublished\":\"2026-11-25T22:10:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/\"},\"wordCount\":716,\"image\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/alerts-telegram-webhooks.jpg\",\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/\",\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/\",\"name\":\"Trading bot alerts: Telegram and webhooks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/alerts-telegram-webhooks.jpg\",\"datePublished\":\"2026-11-25T22:10:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b4857e650cf4ad9abcd061ba92da58c\"},\"description\":\"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/alerts-telegram-webhooks.jpg\",\"contentUrl\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/alerts-telegram-webhooks.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Alerts that reach you: Telegram, email and signed webhooks\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/telegram-webhook-alerts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alerts that reach you: Telegram, email and signed webhooks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/\",\"name\":\"Rulemancer Blog\",\"description\":\"Guides for rule-based crypto trading bots\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b4857e650cf4ad9abcd061ba92da58c\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/rulemancer.com\\\/blog\"],\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Trading bot alerts: Telegram and webhooks","description":"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/","og_locale":"en_US","og_type":"article","og_title":"Trading bot alerts: Telegram and webhooks","og_description":"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.","og_url":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/","og_site_name":"Rulemancer Blog","article_published_time":"2026-11-25T22:10:40+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#article","isPartOf":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/"},"author":{"name":"admin","@id":"https:\/\/rulemancer.com\/blog\/#\/schema\/person\/1b4857e650cf4ad9abcd061ba92da58c"},"headline":"Alerts that reach you: Telegram, email and signed webhooks","datePublished":"2026-11-25T22:10:40+00:00","mainEntityOfPage":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/"},"wordCount":716,"image":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#primaryimage"},"thumbnailUrl":"https:\/\/rulemancer.com\/blog\/wp-content\/uploads\/2026\/11\/alerts-telegram-webhooks.jpg","articleSection":["Guides"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/","url":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/","name":"Trading bot alerts: Telegram and webhooks","isPartOf":{"@id":"https:\/\/rulemancer.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#primaryimage"},"image":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#primaryimage"},"thumbnailUrl":"https:\/\/rulemancer.com\/blog\/wp-content\/uploads\/2026\/11\/alerts-telegram-webhooks.jpg","datePublished":"2026-11-25T22:10:40+00:00","author":{"@id":"https:\/\/rulemancer.com\/blog\/#\/schema\/person\/1b4857e650cf4ad9abcd061ba92da58c"},"description":"Route trading bot alerts by urgency across in-app, email, Telegram and signed webhooks, with an HMAC signature check that blocks replays.","breadcrumb":{"@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#primaryimage","url":"https:\/\/rulemancer.com\/blog\/wp-content\/uploads\/2026\/11\/alerts-telegram-webhooks.jpg","contentUrl":"https:\/\/rulemancer.com\/blog\/wp-content\/uploads\/2026\/11\/alerts-telegram-webhooks.jpg","width":1200,"height":630,"caption":"Alerts that reach you: Telegram, email and signed webhooks"},{"@type":"BreadcrumbList","@id":"https:\/\/rulemancer.com\/blog\/telegram-webhook-alerts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/rulemancer.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Alerts that reach you: Telegram, email and signed webhooks"}]},{"@type":"WebSite","@id":"https:\/\/rulemancer.com\/blog\/#website","url":"https:\/\/rulemancer.com\/blog\/","name":"Rulemancer Blog","description":"Guides for rule-based crypto trading bots","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rulemancer.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rulemancer.com\/blog\/#\/schema\/person\/1b4857e650cf4ad9abcd061ba92da58c","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7dd84c1b19de11fc5d10360db456ecbb3dac969d193b0cffa7c1764d30b18020?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/rulemancer.com\/blog"],"url":"https:\/\/rulemancer.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":0,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/media\/17"}],"wp:attachment":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}