DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk10 min

How to Set Up the n8n Telegram Integration

A complete guide to connecting Telegram with n8n, from creating the BotFather token and finding chat IDs to channel permissions, HTTPS webhooks, limits, and troubleshooting.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To connect Telegram to n8n, create a bot with Telegram’s @BotFather, copy its API token into an n8n Telegram credential, then use Telegram Trigger to receive updates and a Telegram action node to send replies or notifications. The details that usually decide whether it works are the destination’s chat ID, administrator permissions for channels, and a reachable HTTPS webhook for self-hosted n8n.

What the n8n–Telegram integration does

The integration connects Telegram’s Bot API to an n8n workflow. A Telegram Trigger starts a workflow when Telegram sends an update, such as a new message. A Telegram action node can then send a reply, post a notification, process a media-related event, or continue a human-approval flow.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The same bot credential is used by the trigger and Telegram action nodes. That means the token you create once in Telegram becomes the authentication method for the workflow’s incoming and outgoing operations. Keep the token private: Telegram’s official guidance states, “Everyone who has your token will have full control over your bot.”

A basic workflow looks like this:

  • Telegram user sends a message to the bot.
  • Telegram delivers an update to the Telegram Trigger.
  • n8n reads the update, including the originating chat ID.
  • A Telegram node sends a response to that chat or another configured destination.

What you need before starting

  • A Telegram account that can message @BotFather.
  • An n8n workspace or self-hosted n8n instance where you can create credentials and workflows.
  • A clear test destination: a direct chat, group, public channel, or private channel.
  • For self-hosted webhook delivery, a stable, publicly reachable HTTPS address for n8n.

Decide whether the bot will only answer direct messages or also post to groups and channels. Permissions and identifier formats differ by destination, so choosing this early prevents many “message sent successfully but nothing appeared” tests.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Create the Telegram bot with BotFather

Start the bot-creation conversation

  1. Open Telegram and search for the official @BotFather account.
  2. Send /newbot.
  3. Follow the prompts for a display name and a username.
  4. Copy the API token BotFather returns and store it as a secret.

Telegram’s own tutorial describes the process as contacting @BotFather, issuing /newbot, and following the steps until a new token is provided.

Choose a valid username

The username must be 5–32 characters long, use Latin letters, numbers, or underscores, and end in bot. Telegram documents that the username cannot be changed later, so check spelling and branding before confirming it. The display name is what people see; the username is the unique handle used to find the bot.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Protect the token

Treat the token like a password. Do not put it in workflow text, screenshots, public repositories, issue reports, or chat messages. If it is exposed, use BotFather to revoke or regenerate it, replace the value in n8n, and test every workflow that uses the credential. A token leak is not limited to one workflow: anyone holding it can control the bot through Telegram’s API.

Add the bot token to n8n

  1. Open the n8n credentials area and create a new credential of the Telegram type.
  2. Paste the BotFather token into the credential’s Access Token field.
  3. Save the credential and give it a recognizable name, such as the bot’s purpose or environment.
  4. In each Telegram Trigger or Telegram action node, select this saved credential.

The credential is shared by Telegram and Telegram Trigger nodes. Saving it centrally avoids copying secrets into individual nodes and makes token rotation a single maintenance task. If n8n reports an authentication error immediately, verify that you copied the complete token, did not add spaces or quotation marks, and are using the newly regenerated value if the previous token was revoked.

Receive updates with Telegram Trigger

Add and configure the trigger

  1. Create a new n8n workflow.
  2. Add a Telegram Trigger node.
  3. Select the Telegram credential you created.
  4. Choose the event that should start the workflow, such as a new message or another supported Telegram update.
  5. Execute the node for a manual test.

Leave the workflow in manual execution while you establish the connection. Send /start or a short text message to the bot from Telegram, then inspect the execution data in n8n. The update should contain the incoming message and the chat information associated with it. That captured chat data is the safest way to obtain the destination for a direct reply.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Use the update data instead of guessing IDs

Telegram updates contain nested fields, and the exact field you map depends on the event and node version. Rather than typing an ID from memory, open a successful trigger execution and select the chat identifier from its output when configuring the next node. This also confirms that the message reached the bot you intended to test.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Send a reply or notification

Configure Send Message

  1. Add a Telegram node after the trigger.
  2. Select the same Telegram credential.
  3. Choose the Message resource.
  4. Choose Send Message.
  5. Enter the destination’s Chat ID.
  6. Write the message text, then execute the node with the trigger data available.

For a direct reply, map the chat ID from the trigger execution into the Chat ID field. This keeps the response attached to the conversation that initiated the workflow and allows the same workflow to serve multiple users.

Destination identifiers and permissions

Destination Identifier to use Important setup
Direct chat with the bot Chat ID captured from Telegram Trigger output The user must have opened the bot chat and sent a message for a first test.
Public channel @channelusername Add the bot to the channel and grant the administrator access required by the operation.
Private group Numeric chat ID with a leading minus sign in n8n Capture the ID from trigger output, the browser URL, or @RawDataBot.
Private channel Appropriate numeric identifier Add the bot and grant the permissions required for posting.

Use @channelusername only for a public channel. A private channel or group needs its numeric identifier. For a private group, the leading - is significant; omitting it can direct the request to the wrong place or cause Telegram to reject it.

Post to a Telegram channel

Most channel message operations require the bot to be added to the channel. Add it before testing the n8n node, then grant the administrator access needed for the operation you selected. A bot that exists and authenticates correctly can still receive a permissions error if it is not a channel administrator.

  1. Open the target channel in Telegram.
  2. Add the bot as a member.
  3. Promote it to an administrator with the permissions needed to post or perform the selected action.
  4. In n8n, use @channelusername for a public channel, or the channel’s numeric identifier when the channel is private.
  5. Send a short test message and verify that it appears in the intended channel.

If the operation fails after these steps, check that the destination is the channel and not a similarly named group, and capture a fresh identifier from a trigger execution rather than reusing an ID copied from another bot.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Test, then activate the workflow

A disciplined test separates authentication, update delivery, destination addressing, and message permissions.

  1. Keep the workflow in manual execution.
  2. Send /start or a short text message to the bot.
  3. Confirm that Telegram Trigger receives an update.
  4. Map the captured chat ID into Send Message.
  5. Execute the downstream node and verify the reply.
  6. Test each additional destination type you plan to support: direct chat, group, and channel.
  7. Test media or callback events if the production workflow will handle them.
  8. Activate the workflow only after the manual path succeeds.

Run a separate test after changing the token, webhook URL, administrator permissions, or destination ID. A previous successful execution does not prove that a newly rotated secret or newly configured channel is valid.

Self-hosted n8n: webhook and HTTPS requirements

Expose a public HTTPS endpoint

Telegram’s Bot API requires HTTPS requests. For a self-hosted n8n instance, the URL used for Telegram Trigger webhook delivery must be stable, publicly reachable, and protected by a valid HTTPS configuration. A local address, private network hostname, or an endpoint reachable only from your browser cannot receive Telegram’s internet-originated webhook requests.

Telegram’s setWebhook method sends JSON updates to the HTTPS URL. It also supports an optional secret_token header, which can help an application verify that webhook requests carry the expected secret. Configure the endpoint and any reverse proxy so requests reach the n8n webhook path without being blocked, redirected incorrectly, or terminated before n8n receives them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not mix polling and webhooks

Telegram offers two mutually exclusive update-delivery methods: getUpdates long polling and outgoing webhooks. Long polling does not work while an outgoing webhook is configured. In practical terms, one bot cannot have an active webhook and a competing polling consumer collecting the same updates.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

If another workflow, script, test utility, or service has configured the bot’s webhook or is polling it, the n8n trigger may show missing or inconsistent events. Remove the competing consumer, keep one delivery mode, and then retest with a new message. For self-hosted n8n, inspect the webhook status and confirm that the public HTTPS URL resolves from outside your network.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Message limits and workflow design

Keep text within 4,096 characters

n8n’s message-operation documentation lists a 4,096-character limit for Send Message text after entity parsing. Formatting entities can change the resulting length, so measure the final text rather than relying only on the length of an unformatted template.

When a generated response can exceed the limit, split it into ordered chunks before sending. Preserve headings or numbering so the reader can reconstruct the original response, and avoid splitting in the middle of a URL, code sample, or markup sequence. A workflow that sends several chunks should also apply throttling.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Throttle bulk sends

Telegram limits sending to 30 messages per second. This is a sending limit, not a guarantee that a workflow can safely burst at that rate under every network condition. For broadcasts or loops, add pacing, keep batches small, and handle API errors so one rejected request does not silently stop the rest of the run.

Store enough execution information to identify the recipient, chunk number, and error response. That makes it possible to retry only failed messages instead of sending duplicates to everyone.

Common failures and the precise fix

No trigger event arrives

  • Confirm the workflow is currently executing manually or is activated.
  • Check that the selected credential contains the current token.
  • Verify that the message was sent to the correct bot, not another bot with a similar username.
  • On self-hosted n8n, verify that the public URL is HTTPS and reachable from the internet.
  • Check that no other webhook or polling consumer is collecting the bot’s updates.

The token is invalid or exposed

Regenerate or revoke the token with BotFather, update the n8n Telegram credential, and retest the trigger and every action workflow that uses it. Do not continue using a token that appeared in a public log, screenshot, repository, or message.

The message goes to the wrong destination

  • Capture a fresh chat ID from Telegram Trigger output.
  • Use @channelusername only for a public channel.
  • Use a signed numeric ID, including the leading minus sign, for a private group.
  • Check that an expression is not returning an old execution’s ID.

Channel sending fails

Add the bot to the channel and promote it to an administrator with the permissions required by the operation. Confirm that the node is targeting the intended channel and that a private destination is using its numeric identifier.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Updates are duplicated or missing

Look for another active workflow, script, or service using the same bot. Telegram permits only one update-delivery mode at a time: either long polling through getUpdates or an outgoing webhook. Remove the competing configuration, then send a new test message after the remaining consumer is ready.

Choose an implementation pattern

Simple conversational reply

Use Telegram Trigger for a new-message event, add a decision or transformation node, and finish with Send Message using the incoming chat ID. This is the smallest useful pattern and is the best first test because it validates the token, update delivery, ID mapping, and outbound permission in one path.

Notification workflow

Use a non-Telegram event in n8n to start the workflow, then send a Telegram notification to a stored direct-chat ID, public channel username, or private group ID. Keep the destination in a controlled configuration value rather than hard-coding it in many nodes, and test that the account or bot has access before enabling production alerts.

Media, callbacks, and approvals

If the workflow handles media messages, callback queries, or a human approval step, select the corresponding Telegram update event and test the complete event shape before building downstream mappings. A workflow that only tested text messages may not have the fields needed for a callback or media event. For an approval process, Telegram’s Send and Wait for Response pattern can be combined with the trigger and a follow-up action, but it still depends on correct chat identification and reliable update delivery.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Operational checklist

  • Bot username meets Telegram’s length, character, and bot-suffix rules.
  • API token is stored only in the n8n credential and protected like a password.
  • Telegram Trigger and action nodes select the same current credential.
  • Manual trigger execution receives a fresh test update.
  • Chat ID format matches the destination.
  • Channel bot membership and administrator permissions are confirmed.
  • Self-hosted n8n has a public HTTPS endpoint.
  • No other service is polling or setting a webhook for the same bot.
  • Long messages are split below the 4,096-character post-parsing limit.
  • Bulk sends are throttled below Telegram’s 30-messages-per-second sending limit and errors are handled.

Once these checks pass, activate the workflow and monitor its first production executions. Keep the trigger output and Telegram API errors available in n8n’s execution history so destination, permission, webhook, and rate-limit problems can be distinguished quickly.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.