Overview

Seamlessly bridge conversational interfaces with on-chain execution by integrating Telegram Bots with Thirdweb Engine via B3OS. Automate smart contract interactions, manage backend wallets, and trigger real-time blockchain transactions directly through a Telegram chat interface.

Popular ways to use the Telegram Bot + Thirdweb Engine integration onchain

View all templates ›
Recurring Schedule
Get Wallet Positions (Zerion)
Run JavaScript
for-each

Daily Portfolio Sentiment Recap

This workflow monitors the assets in your wallet, identified the top-performing tokens and then scans Twitter for any breaking/interesting news regarding those tokens. A recap is then sent to you via Telegram. This allows you to monitor you portfolio and be notified if a specific asset you hold has any pertinent news come out on Twitter for you to be aware of without having to monitor and scan Twitter yourself ### Quick Setup: 1. Select the wallet you want monitored 2. Select how often/when and what time you want a recap set to you 3. Select the Telegram channel you want the recap sent to 4. Test and Publish!

Recurring Schedule
Morpho Blue Get Positions
Run JavaScript
if

Morpho: LTV Alerts + Repay

Watches every Morpho Blue borrow position you have on the chosen chain. When any position crosses 80% of its LLTV, you get a Telegram alert with a one-tap Repay button per position. Tap it and the workflow repays down to 50% of LLTV using fresh on-chain prices. Runs every 5 minutes. Silent if you don't tap within an hour. ### Quick Setup: 1. Import your wallet or use your B3OS Treasury Wallet 2. Pick the Telegram chat for LTV alerts 3. Pick the chain - where your Morpho positions live (default: Base) 4. Set Danger Threshold - % of LLTV that triggers an alert (default: 80) 5. Set Safe Target - % of LLTV to repay back down to when you tap (default: 50) 6. Set Poll Schedule - how often to scan positions (default: every 5 minutes) 7. Test and publish!

Telegram Chat Message
Run JavaScript
if
notification

Telegram: Wallet Control

This workflow allows you to control your organization Treasury Wallet via Telegram on Base. You're able to quickly send money into or out of the Treasury Org wallet anywhere by just prompting commands in TG. This allows you quickly top up the Treasury Wallet should you be running out of funds or be able to move all your funds to a new wallet without being logged into B3OS. ### Quick Setup: 1. Select the Organization Wallet to control 2. Select the TG account to use 3. In TG, use controls like /balance to get your balance or /send to send funds to any Ox... address.

Supported triggers and actions

Send Telegram Message

Send Telegram Message

Action

Send a text message to a Telegram chat using a bot token. Supports Markdown formatting (bold, italic, code, links). Uses the same bot token configured for receiving Telegram messages. Ideal for: chat replies, alerts, notifications, automated responses to Telegram triggers.

Telegram Chat Message

Telegram Chat Message

Trigger

Triggers when a new message is posted in a Telegram chat or group. Connect your Telegram bot, then add the bot to your chat.

Telegram: Button Click / Interaction

Telegram: Button Click / Interaction

Trigger

Triggers when a user clicks an inline keyboard button in a Telegram message. Useful for building approval workflows and interactive automations via Telegram bots. NOTE: Currently designed for wait nodes only (not as a root trigger). Frontend has no dedicated trigger config UI for this type yet.

Thirdweb Engine: List Backend Wallets

Thirdweb Engine: List Backend Wallets

Action

List all backend wallets configured in your Thirdweb Engine instance. Returns wallet addresses, types, and labels. Ideal for: discovering available wallets, populating wallet selection dropdowns, verifying wallet setup.

Thirdweb Engine: Write Contract

Thirdweb Engine: Write Contract

Action

Execute a write transaction on a smart contract via your Thirdweb Engine. Queues the transaction and returns a queueId for tracking. Use get-transaction-status to poll for confirmation. Ideal for: state-changing contract calls, token transfers, minting.

Thirdweb Engine: Send Transaction

Thirdweb Engine: Send Transaction

Action

Send a raw transaction via your Thirdweb Engine. Takes pre-encoded calldata, destination address, and value. Queues the transaction and returns a queueId. Ideal for: arbitrary contract interactions, value transfers, custom calldata not covered by write-contract.

Create workflows with Telegram Bot integrations

Loading integrations...

FAQs about Telegram Bot