{"id":299,"date":"2026-01-05T21:17:58","date_gmt":"2026-01-05T15:47:58","guid":{"rendered":"https:\/\/kwala.network\/blogs\/?p=299"},"modified":"2026-02-09T18:43:56","modified_gmt":"2026-02-09T13:13:56","slug":"how-to-set-up-real-time-notifications-for-on-chain-events-on-telegram","status":"publish","type":"post","link":"https:\/\/www.kwala.network\/blogs\/how-to-set-up-real-time-notifications-for-on-chain-events-on-telegram\/","title":{"rendered":"How to Set Up Real-Time Notifications for On-Chain Events on Telegram\u00a0"},"content":{"rendered":"\n<p>You can track on-chain events all day, yet the one update that matters still slips by unnoticed. Logs get messy, updates lag, and custom scripts break at the worst times.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Developers may also struggle with unreliable RPC endpoints, rate limits, inconsistent indexing, and maintaining&nbsp;cron&nbsp;jobs or listeners that silently fail. And the more chains or contracts you&nbsp;monitor, the harder it gets to keep everything&nbsp;synced.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Instead of dealing with all that noise, tools like&nbsp;<strong>Kwala<\/strong>&nbsp;help you stay updated without constant monitoring.&nbsp;&nbsp;<\/p>\n\n\n\n<p>It automates event detection and sends&nbsp;\u200b\ufffc\u200breal-time alerts directly to Telegram.&nbsp;This blog is a step-by-step guide to help you set up these real-time,&nbsp;<strong>on-chain notifications<\/strong>&nbsp;using&nbsp;<strong>Kwala<\/strong>.&nbsp;<br>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to enable&nbsp;On-Chain notifications&nbsp;on Telegram&nbsp;<\/h2>\n\n\n\n<p>In 2025, over&nbsp;<a href=\"https:\/\/sqmagazine.co.uk\/blockchain-statistics\/\" target=\"_blank\" rel=\"noreferrer noopener\">6.1 million smart contracts<\/a>&nbsp;will be deployed each month, making real-time monitoring more important than ever. If you want to catch your contract events the moment they happen, then&nbsp;here\u2019s&nbsp;your playbook.&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Set up a Telegram bot&nbsp;<\/h3>\n\n\n\n<p>Use&nbsp;\u200b\ufffc\u200bTelegram\u2019s&nbsp;BotFather&nbsp;to generate a&nbsp;<strong>Telegram crypto bot<\/strong>&nbsp;and obtain&nbsp;a&nbsp;bot token. Enter the \u201c\/newbot&#8221; command to get your dedicated bot token. Copy the bot token and chat ID for your Telegram channel, as this will be used later for&nbsp;<strong>on-chain transaction alerts Telegram<\/strong>&nbsp;integration.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"539\" src=\"https:\/\/kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-1024x539.png\" alt=\"\" class=\"wp-image-302\" srcset=\"https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-1024x539.png 1024w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-300x158.png 300w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-768x404.png 768w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-1536x809.png 1536w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/1-7-1-2048x1079.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Deploy or use a smart contract that emits events&nbsp;<\/h3>\n\n\n\n<p>To receive&nbsp;<strong>on-chain notifications<\/strong>, you first need a smart contract that&nbsp;<a href=\"https:\/\/www.youtube.com\/shorts\/DEw3B1pV4Ag\" target=\"_blank\" rel=\"noreferrer noopener\">emits events<\/a>.&nbsp;Here\u2019s&nbsp;what you\u2019ve to do:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Write a simple contract on the Polygon network&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use Remix IDE and select the Solidity compiler version&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Connect MetaMask and switch to Polygon&nbsp;Testnet, and then deploy the contract using your wallet.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After the deployment,&nbsp;validate&nbsp;the smart contract by calling smart contract function from Remix.&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Build a workflow in&nbsp;<strong>Kwala<\/strong>&nbsp;<\/h3>\n\n\n\n<p>Now you need to connect the smart contract to your Telegram bot using&nbsp;<strong>Kwala<\/strong>, the first-ever&nbsp;<strong>blockchain workflow engine<\/strong>&nbsp;for&nbsp;<a href=\"https:\/\/www.youtube.com\/watch?v=KlcqZ1Eyd3A&amp;t=34s\" target=\"_blank\" rel=\"noreferrer noopener\">Web3 automation<\/a>.&nbsp;&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"435\" src=\"https:\/\/kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard-1024x435.png\" alt=\"\" class=\"wp-image-303\" srcset=\"https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard-1024x435.png 1024w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard-300x128.png 300w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard-768x327.png 768w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard-1536x653.png 1536w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/dashboard.png 1891w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Open&nbsp;kwala&nbsp;website and connect your&nbsp;metamask&nbsp;wallet. Approve the connection request in your MetaMask wallet to link it with the <strong><a href=\"https:\/\/kwala.network\/\">KWALA network<\/a><\/strong>. Then click on &#8220;Create Workflow&#8221; and follow these steps:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Start by naming your workflow like <strong><a href=\"https:\/\/kwala.network\/blogs\/kwala-telegram-integration-set-up-automate-and-scale\/\">\u201cTelegram_Notifier.\u201d<\/a><\/strong>&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the execution settings. Select &#8220;Event&#8221; to ensure your workflow triggers&nbsp;immediately&nbsp;as soon as the event occurs on-chain.&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>&nbsp;<br>Set the execution settings. Select &#8220;Event&#8221; to ensure your workflow triggers&nbsp;immediately&nbsp;as soon as the event occurs on-chain.&nbsp;<br>&nbsp;&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide Smart Contract address and select Polygon&nbsp;testnet.&nbsp;<br>Kwala&nbsp;auto detects the ABI for verified contracts and fetches event details. Optionally, you can provide source code for the Smart contract and configure Trigger Event details.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Insert Telegram messaging action&nbsp;&nbsp;<\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"539\" src=\"https:\/\/kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-1024x539.png\" alt=\"\" class=\"wp-image-472\" srcset=\"https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-1024x539.png 1024w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-300x158.png 300w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-768x404.png 768w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-1536x809.png 1536w, https:\/\/www.kwala.network\/blogs\/wp-content\/uploads\/2026\/01\/blog-post-15-gray-1-2048x1079.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Now&nbsp;we\u2019ll&nbsp;connect&nbsp;\u200b\ufffc\u200b<strong>Kwala&nbsp;network<\/strong>&nbsp;to Telegram&nbsp;in the following ways:&nbsp;<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In your existing workflow, such as \u201cTelegram_Notifier\u201d,&nbsp;click on \u201cAdd Action.\u201d&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose the&nbsp;option&nbsp;to make an HTTP POST request.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use Telegram\u2019s&nbsp;sendMessage&nbsp;API in your POST request URL.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Replace &lt;YOUR_BOT_TOKEN&gt; with the token you received from&nbsp;BotFather&nbsp;when you created your Telegram bot.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the URL parameters, include your group or channel\u2019s chat ID and the message content you want Telegram to display.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Format the message payload to include parameters from event details using regex, like&nbsp;re.event(0).&nbsp;<br>For example, the telegram message could be: &#8216;Kwala&nbsp;detected on-chain event &lt;Event Name&gt;. Value increased to&nbsp;re.event(0)&#8217;&nbsp;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Setting&nbsp;additional&nbsp;workflow parameters&nbsp;<\/h3>\n\n\n\n<p>The next step is to fine-tune the execution settings of your workflow. For this, you need to:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add recurring source configuration, such as recurring source contract, chain ID, and event name.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upload the ABI (Application Binary Interface) of your recurring source contract.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once your source is configured, click on \u201cAction\u201d to define what should happen when an event is triggered.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter details like action name, type (select POST API CALL), API Endpoint (paste the Telegram&nbsp;sendMessage&nbsp;API URL, including your bot token and chat ID). You can apply a similar logic to\u200b\u200b&nbsp;rebalance your wallet automatically.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fill in the API Payload by copying and pasting your chat ID and the text field.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Execute the configuration&nbsp;<\/h3>\n\n\n\n<p>Once all your sources and actions are configured,&nbsp;it\u2019s&nbsp;time to execute and deploy your workflow.&nbsp;&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under Execution Mode, choose \u201cSequential,\u201d&nbsp;so that&nbsp;actions run one after another.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click \u201cCreate Workflow.\u201d&nbsp;You\u2019ll&nbsp;now see the Workflow Editor, where&nbsp;<strong>Kwala<\/strong>&nbsp;lets you view or edit your configuration using YAML format.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cross-check all details inside the YAML editor&nbsp;and then click &#8220;Save&#8221; to confirm your setup.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify workflow by clicking \u201cCompile&#8221; and then &#8220;Deploy\u201d.&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>This is a reliable alternative to traditional&nbsp;<strong>crypto signal bot Telegram<\/strong>&nbsp;tools, which often fail during periods of high activity.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Activating the workflow&nbsp;<\/h3>\n\n\n\n<p>Now that your workflow is deployed,&nbsp;it\u2019s&nbsp;time to activate it:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to your&nbsp;<strong>Kwala&nbsp;network<\/strong>&nbsp;dashboard and toggle the workflow to active mode.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Call the smart contract function from remix and&nbsp;initiate&nbsp;a transaction.&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Within seconds,&nbsp;you\u2019ll&nbsp;get a Telegram alert.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Once active, your setup works like&nbsp;\u200b\ufffc\u200b<strong>blockchain event alerts<\/strong>&nbsp;in Telegram.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Stay in the loop, not in the lag&nbsp;<\/h2>\n\n\n\n<p>Launching a smart contract is just the beginning; the&nbsp;real challenge&nbsp;is staying&nbsp;in sync&nbsp;with it. Missed events, manual tracking, and delayed responses can break the rhythm of your decentralised app (dApp)- slowing down everything from user experience to operational decisions.&nbsp;&nbsp;<\/p>\n\n\n\n<p>That\u2019s&nbsp;why real-time, low-friction event tracking is becoming essential infrastructure for modern&nbsp;dApps.&nbsp;&nbsp;<\/p>\n\n\n\n<p>If&nbsp;you&#8217;d&nbsp;rather not&nbsp;maintain&nbsp;listeners or debug failing jobs, platforms like&nbsp;<a href=\"https:\/\/kwala.network\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kwala<\/a>&nbsp;help translate those on-chain signals into instant Telegram pings that keep you&nbsp;synced&nbsp;effortlessly.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions&nbsp;<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How do I create a&nbsp;<strong>crypto price alert bot on Telegram<\/strong>&nbsp;for notifications?&nbsp;<\/h3>\n\n\n\n<p>Firstly, you\u2019ve to create a new bot using Telegram\u2019s&nbsp;BotFather&nbsp;and obtain a Bot token. This token connects your script or automation tool to Telegram\u2019s API, allowing you to send real-time price alerts.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to run my own server for&nbsp;<strong>blockchain monitoring on Telegram<\/strong>?&nbsp;<\/h3>\n\n\n\n<p>No, platforms like&nbsp;<strong>Kwala<\/strong>&nbsp;handle on-chain event listening, polling, and notification delivery. As a result, alerts can be sent directly to Telegram without the need to set-up your own server.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I customise which blockchain events trigger Telegram notifications?&nbsp;<\/h3>\n\n\n\n<p>Yes, these platforms allow complete control over event filters. You can choose specific contract events, token transfers, or threshold-based conditions to ensure Telegram only sends alerts for&nbsp;particular on-chain&nbsp;activities.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can track on-chain events all day, yet the one update that matters still slips by unnoticed. Logs get messy, updates lag, and custom scripts break at the worst times.&nbsp;&nbsp; Developers may also struggle with unreliable RPC endpoints, rate limits, inconsistent indexing, and maintaining&nbsp;cron&nbsp;jobs or listeners that silently fail. And the more chains or contracts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":432,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-299","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-deep-dives"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":2,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"predecessor-version":[{"id":473,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/posts\/299\/revisions\/473"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/media\/432"}],"wp:attachment":[{"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwala.network\/blogs\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}