Steps
Create a Slack incoming webhook
Go to
api.slack.com/apps, click Create New App (From scratch), pick your workspace, open Incoming Webhooks, switch it on and click Add New Webhook to Workspace. Choose the channel and copy the URL that starts withhttps://hooks.slack.com/services/. Anyone with that URL can post to the channel, so keep it out of public repos.Download the agent and try a dry run
Get the free RSS to Discord agent (it posts to Slack and Telegram too). Run
FEEDS=https://hnrss.org/newest?q=n8n python3 rss_to_discord.py --dry-run: it prints the items it would post and posts nothing, so you can check the feed and your keywords first.Set your feeds and keywords
Set
FEEDSto one or more feed URLs separated by commas,KEYWORDS=n8n,postgresto keep only items whose title or text contains one of them,EXCLUDE=-rc,betato drop pre-releases, andTITLE_ONLY=1if matching the post text is too loose. Then setSLACK_WEBHOOK_URL.Run it every 15 minutes
The first run only remembers what is already in the feeds, so the channel isn't flooded (use
--post-existingonce if you want them). Then cron*/15 * * * *on any always-on machine, or a free GitHub Actions schedule.
Isn't there a built-in way?
Yes, and it's the simplest route if you want every post: Slack's own RSS app, which Slack says is available on all plans. Add it from the Slack Marketplace, then type /feed subscribe https://example.com/feed in the channel (/feed list and /feed remove ID manage subscriptions). It posts every new item in the feed. It can't keep only the posts that mention your product, a competitor or a tool you use, and you can't change the message format. That's the gap the script fills: it filters before anything reaches the channel.
What arrives in Slack
One message per matching item: the title in bold, linked to the post (*<link|title>* in Slack's markup). The characters &, < and > in titles are escaped the way Slack asks, so a title with an ampersand isn't read as markup. At most MAX_PER_RUN items are posted per run (10 by default), 0.6 s apart, and a 429 from Slack is retried after the wait it asks for.
What we tested (12 Nov 2026)
We ran the agent with Python 3.13 against a local test feed of three items and a local stand-in for a Slack incoming webhook. We didn't test against a real Slack workspace.
| Test | Result |
|---|---|
| First run | first run: remembered 3 existing item(s), nothing posted |
First run with --post-existing | 3 messages, each {"text": "*<https://example.com/a|n8n 2.44 released & faster>*"}, with the ampersand escaped |
| Run again straight after | 0 new matching item(s) posted: nothing is posted twice |
KEYWORDS=n8n and EXCLUDE=-rc,beta | 1 of 3 posted: the stable n8n release. The 2.45.0-rc.1 beta item and the unrelated Postgres item were skipped |
Webhook answers 404 | Since 13 Nov 2026: the failed item is logged as error: posting ... HTTP Error 404: Not Found, the other items still go out, and the run ends with 2 new matching item(s) posted, 1 failed (will retry next run) and exit code 1. Only the failed item is retried; the next run posted it once |
A note on that last test: before 13 November a failed post stopped the whole run and nothing was remembered, so items already posted came back on the next run. That's fixed; re-download the script if you got it earlier. If you post to Slack and Discord or Telegram and only one of them fails, the item is retried on all of them, so fix a dead webhook rather than letting it fail for days. The same update keeps text like <tips> or a < b in titles (only real formatting tags such as <b> are removed).
When Slack refuses the message
These answers come from Slack's incoming webhook docs, not from our test: 404 no_service means the webhook was removed or the app uninstalled (create a new one), 404 channel_not_found or 410 channel_is_archived means the channel is gone or archived, 403 action_prohibited means a workspace admin blocked it, and 400 invalid_payload means the JSON was malformed.
Feeds worth filtering
- Hacker News:
https://hnrss.org/newest?q=YOURWORDalready filters on its side. - A subreddit:
https://www.reddit.com/r/SUBREDDIT/.rsswithKEYWORDSset to your product or topic. Reddit answers429to fast back-to-back requests, so the agent waitsFEED_PAUSEseconds (3 by default) between feeds and retries once. - Releases of any GitHub project:
https://github.com/OWNER/REPO/releases.atomwithEXCLUDE=-rc,beta. - Your competitors' blogs, at
/feedor/rss.xml.
Prefer n8n?
An RSS Feed Trigger node, an If node for the keywords and an HTTP Request node that POSTs {"text": ...} to your webhook URL do the same job, or use the Slack node with a bot token (see n8n Slack node errors if it answers invalid_auth or not_in_channel). Want the same in Telegram? See RSS to Telegram with a keyword filter. Want emails in Slack too? See forwarding email to Slack.
Skip the setup: free download
The RSS to Discord agent does all of this. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.
Get the free RSS to Discord agent → Or have us build yours →
FAQ
Can Slack filter an RSS feed by keyword?
Not with Slack's own RSS app: it posts every new item. To keep only matching posts, something has to read the feed and filter it first, like this script or an n8n workflow, then post through an incoming webhook.
Is it free?
Yes. Incoming webhooks work on Slack's free plan, RSS feeds are free to read, and the agent is MIT-licensed.
Will it post old items when I start?
No. The first run only remembers what is already in the feed. Add --post-existing once if you do want them.
Can it post to several channels?
Each webhook posts to one channel. Run the script once per channel with its own SLACK_WEBHOOK_URL, FEEDS and STATE_FILE.
Can I get the same items in Discord or Telegram at the same time?
Yes. Set DISCORD_WEBHOOK_URL, or TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID, as well as SLACK_WEBHOOK_URL.
Related guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Telegram with a keyword filter (free, no bot hosting)
- n8n RSS to Discord: post new feed items with keyword filters
- RSS to email daily digest: all your feeds in one morning email (free script, tested)
- n8n Slack node not working: invalid_auth, not_authed, channel_not_found fixes
New guides
- 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
- n8n Gmail Trigger not working: not firing, silent errors and fixes
- n8n Google Drive Trigger not working: not firing, activation errors and fixes