Skip to content

Telegram ​

Your Telegram bot posts an alert, a summary or an email’s attachments to a chat, and starts a workflow on every message it receives.

A Telegram connection lets the Telegram node write through your bot — a message, the email’s attachments, a received file fetched into the run — and the Telegram — message received trigger start a workflow on each message the bot receives.

The connection holds the bot token, encrypted at rest. Telegram puts the token in the path of each call’s URL; the server inserts it at call time, never logs the full URL, and masks the token in any error.

At a glance ​

  • Identifier: telegram
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: API key or token
  • Credential type: service:telegram
  • Official API documentation: https://core.telegram.org/bots/api
  • API base URL: https://api.telegram.org
  • Rate limit applied by Loop & Roll: 1 requests per second and per connection; up to 3 attempts on a 429 or a 5xx
  • Connection test: Yes

Step by step ​

The same steps are shown in the connection form of the app.

  1. In Telegram, open a chat with @BotFather, send /newbot and follow the steps: it gives you the bot’s token.
  2. Add the bot to the group or channel where it must post (as an administrator for a channel), or message it once in private.
  3. Paste the token below.

Connection fields ​

FieldKindRequiredNotes
Bot token (botToken)Secret — never shown againYesShaped like 123456789:AAE… (given by @BotFather).

Before you start ​

  • Create the bot with @BotFather (/newbot); it gives you the token.
  • Add the bot to the group or channel where it must post (as an administrator for a channel), or message it once in private.
  • The trigger reads the bot’s queue: one trigger per bot, and no outgoing webhook set on the bot.

Add the connection ​

  1. Open Connections. In the Third-party services section, find the Telegram card and click Connect.
  2. Paste the bot token, then click Create connection.
  3. Click Configure, then Test connection: the test calls getMe and shows the bot’s name.

Calls used ​

ActionTelegram call
Send a messagesendMessage
Send attachmentssendDocument (multipart), one per file
Fetch a received filegetFile, then the file download host
Message received (trigger)getUpdates with the stored offset

Nodes that use this connection ​

Loop & Roll — the workflow builder for email.