Steps
Create a Telegram bot
Open @BotFather in Telegram, send
/newbot, pick a name and a username ending inbot, and copy the token (it looks like123456789:AA...). Keep it private: anyone with it can post as your bot.Choose where alerts arrive
For a private chat, send your bot any message, open
https://api.telegram.org/botYOUR_TOKEN/getUpdatesand copy the number in"chat":{"id":...}. For your team's group, add the bot and use the group's negative id. For a channel, add the bot as an admin and use@yourchannel. More detail in RSS to Telegram.Build the Reddit search feed
Reddit search has a public RSS version, no login or API key needed. Across Reddit:
https://www.reddit.com/search.rss?q=%22your+brand%22&sort=new. In one subreddit:https://www.reddit.com/r/selfhosted/search.rss?q=telegram&restrict_sr=1&sort=new.sort=newputs the newest posts first and%22quotes an exact phrase. Open the URL in a browser to check it lists posts.Download the agent and do a dry run
Get the free RSS to Discord agent. Despite the name, it posts to Telegram and Slack too. Copy
.env.exampleto.env, setFEEDSto your Reddit feed URLs (comma-separated),KEYWORDSto the words you care about,TITLE_ONLY=1(see why below),TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_ID. Runpython3 rss_to_discord.py --dry-runto see the posts it would send.Run it every 20 to 30 minutes
The first real run only remembers the posts already in the feeds, so your chat isn't flooded; after that each new post is sent once:
*/20 * * * * cd /path/to/rss-to-discord && set -a && . ./.env && set +a && /usr/bin/python3 rss_to_discord.py >> run.log 2>&1No always-on computer? See run a Python script on a schedule. Checking every minute is pointless and gets you rate-limited.
An example .env
FEEDS=https://www.reddit.com/r/selfhosted/search.rss?q=telegram&restrict_sr=1&sort=new,https://www.reddit.com/r/n8n/new/.rss
KEYWORDS=telegram
TITLE_ONLY=1
TELEGRAM_BOT_TOKEN=123456789:AA...
TELEGRAM_CHAT_ID=@myredditalerts
DISCORD_WEBHOOK_URL=The second feed is every new post in r/n8n; the keyword filter then keeps only the ones about Telegram. Each message is the post title in bold plus its Reddit link, so Telegram shows the thread preview underneath.
The catch: Reddit search matches the whole post
A Reddit search feed returns posts where your word appears anywhere, including deep in the text. When we read the r/selfhosted search feed for telegram on 18 October 2026, only 3 of its 25 posts had the word in the title. The rest were posts like a bookmark-manager question or a status-page project that mention Telegram once, as one notification option among many. For a brand you want every mention, so leave TITLE_ONLY empty. For a topic, set TITLE_ONLY=1: the agent then checks your KEYWORDS against the title only, and our dry run kept exactly those 3 posts.
Reddit's rate limit, and how the agent deals with it
Reddit answers 429 Too Many Requests when feeds are fetched quickly one after another. In our test, two feeds fetched back-to-back got a 429 on the second one. The agent now waits 3 seconds between feeds (FEED_PAUSE), and if a feed still answers 429 it waits for Reddit's Retry-After (15 seconds if none is given) and tries once more. With that, three Reddit feeds in one run came through fine, and a later run that hit a 429 on its first feed retried and finished normally. A feed that still fails is skipped for that run and checked again next time, so nothing is lost. Keep a descriptive User-Agent (the agent sends one) and a handful of feeds.
What we tested
On 18 October 2026 we ran the agent against two live Reddit feeds (the r/selfhosted search for telegram and r/n8n's new posts), Telegram only (TELEGRAM_CHAT_ID=@myredditalerts), with a local stand-in for Telegram's Bot API that answered the first message with 429. The first real run remembered all 50 posts and sent nothing. When we made four posts look new (three mentioning Telegram, one not), the next run sent the matching posts once each, after waiting the retry_after Telegram asked for. The non-matching post was never sent, and the run after that sent nothing.
Ideas
- Founders: your product name and your competitors' names across Reddit, without
TITLE_ONLY. - Freelancers:
/r/forhire/new/.rsswithKEYWORDS=n8n,zapier,automationandTITLE_ONLY=1. - Communities: several subreddits in one feed, joined with
+, as in/r/n8n+selfhosted/new/.rss. - Prefer Discord or a daily email? Same feeds, see Reddit keyword alerts to Discord or email.
Skip the setup: free Telegram-ready download
The RSS to Discord agent does all of this. Despite the name, it sends to Telegram too: just set TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID and leave the Discord webhook empty. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.
FAQ
Do I need a Reddit API key or account?
No. Reddit's search and subreddit RSS feeds are public. You only need a Telegram bot token from BotFather.
Can it watch comments, not just posts?
Search feeds only return posts. For one subreddit you can use /r/SUBREDDIT/comments/.rss with KEYWORDS, but busy subreddits move fast, so check more often there.
Why do I get posts that don't seem to mention my keyword?
Reddit search matches the post text too, and the title often doesn't contain the word. Set TITLE_ONLY=1 to keep only posts with the keyword in the title.
How fast are the alerts?
As fast as your schedule. With a 20-minute check, a new post reaches you within about 20 minutes.
Can it post to a Telegram group or channel?
Yes. Add the bot to the group, or as an admin of the channel, and set TELEGRAM_CHAT_ID to the group id, @yourchannel or its -100... id.
Is it free?
Yes. Reddit's feeds, the Telegram Bot API and the agent (MIT licence) are all free.
Related guides
- Get a Discord or email alert when a keyword is mentioned on Reddit (free, no API key)
- Send RSS feeds to Telegram with a keyword filter (free, no bot hosting)
- YouTube new video notifications in Telegram (free, with or without Shorts)
- Post new YouTube videos to Discord automatically (free, no bot)
- n8n “Credentials could not be decrypted” and other credential errors: 13 tests, fixed
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes