Skip to main content

Telegram Bot Integration

Updated over a week ago

Overview

Connect your Telegram bot to Taskade to automate customer conversations, send notifications, and manage group chats. The Telegram Bot integration works with both automation workflows and AI agent tools.

πŸ“‹ In This Article

  • Overview

  • Set Up the Integration

  • Triggers

  • Actions

  • Example Workflows

  • Use with AI Agents


Set Up the Integration

  1. Create a bot via @BotFather on Telegram and copy your Bot Token.

  2. In Taskade, go to your Automation or Agent Tools panel.

  3. Select Telegram Bot from the integration list.

  4. Paste your Bot Token and click Connect.

Your bot token looks like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11. Keep it private.


Triggers

Telegram Bot triggers start your automation when something happens in a Telegram chat. Visit the Automation Triggers guide to learn more.

Trigger

Fires When

New Message

Someone sends a message to your bot or a group the bot is in

New Member

A new member joins a group where your bot is present

Callback Query

A user presses an inline keyboard button in your bot


Actions

Telegram Bot actions let your automations and agents send messages, media, and manage chats. Visit the Automation Actions guide to learn more.

Action

What It Does

Send Message

Send a text message to a chat or group

Send Photo

Send an image with an optional caption

Send Document

Send a file (PDF, DOCX, etc.) to a chat

Send Video

Send a video with an optional caption

Edit Message

Edit a previously sent message

Delete Message

Remove a message from a chat

Pin Message

Pin a message to the top of a chat

Get Chat

Retrieve details about a chat (name, members, description)


Example Workflows

Here are some ideas to get you started:

  • Customer Support Bot β€” Trigger on new message β†’ Ask AI agent β†’ Send reply β†’ Log to Google Sheets

  • Welcome New Members β€” Trigger on new member β†’ Send welcome message with onboarding info

  • Daily Reports β€” Schedule trigger β†’ Gather data β†’ Send summary to Telegram group

  • Order Notifications β€” Shopify new order trigger β†’ Send order details to Telegram


Use with AI Agents

You can also use Telegram Bot as an AI agent tool. Add the Telegram tool to any custom agent and let it send messages, share files, or manage chats through natural language prompts.

Example prompt: "Send our weekly product update to the marketing Telegram group with the attached report."


Did this answer your question?