n8n-guide
n8n-guide
N8n community
Chat room
Sign In

(Use Case) Get Reddit, Google Headline News RSS (⭐)

Tags
Empty
Date of creation
Oct 22, 2024 5:11 AM
Name
(Use Case) Get Reddit, Google Headline News RSS (⭐)
Category
Empty
Author
  • data_popcorn

Prerequisite

•
RSS Node
◦
Rss feed link required.

Scenario

💡
One line summary
This workflow monitors the n8n community announcements RSS feed and sends a message to the Discord channel via a webhook when a new update is available.

1. How it works

1.
RSS Feed Trigger : Checks the n8n Announcements RSS feed every minute to monitor for updates.
2.
Discord Notifications : When a new announcement is detected, the data is formatted and sent to the Discord channel.

2. Step Setting

Time required : 5–10 minutes
1.
Prepare RSS feed URL : Check if the RSS feed URL is correct.
URL:
https://community.n8n.io/c/announcements/11.rss
https://www.reddit.com/r/n8n/.rss
2.
Set up a Discord webhook : Prepare the webhook URL of the Discord channel where you want to send announcements.

3. Process

Step 1: RSS Feed Trigger

•
Node : (Trigger) RSS Feed Read Trigger
◦
How to set up :
1.
Add an RSS Feed Read Trigger node.
2.
Enter the URL below in Feed URL :
•
URL: https://community.n8n.io/c/announcements/11.rss
3.
Set the polling interval to 1 minute:
•
Select Every Minute in Poll Times .
◦
Role : Monitors RSS feeds for new announcements.

Step 2: Discord Webhook

•
Node : (Action) Discord
◦
How to set up :
1.
Add a Discord node.
2.
Setting up a webhook:
•
Select or set up new Discord Webhook API credentials.
3.
Message content format:
•
Use the following template to write your announcement content:
={{ $json.pubDate.toDateTime().setZone('Asia/Seoul') }}
[{{ $json.title }}]({{ $json.link }})
•
Make the announcement title a clickable link and include the posting date in the Asia/Seoul time zone.
◦
Role : Sends announcement details to the Discord channel.
Made with Slashpage