Monitor GitHub releases with Gemini AI Chinese translation & Slack notifications
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER 🎉 Early Black Friday Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Overview
This n8n template monitors specified GitHub repositories. When a new release is published, it automatically fetches the information, uses AI (Google Gemini by default) to summarize and translate it into Chinese, and sends a formatted notification to a designated Slack channel.
Core Features:
- Automated Monitoring: Checks for updates on a predefined schedule.
- Intelligent Processing: Uses AI to extract key information and translate.
- Error Handling: Sends an error notification if fetching RSS for a single repository fails, without affecting others.
- Duplicate Prevention: Remembers the last processed release ID using Redis to ensure only new content is pushed.
Prerequisites
- Slack: Configure your Slack app credentials in n8n.
- Redis: Have an available Redis service and configure its credentials in n8n.
- AI Provider (Gemini): Configure credentials for Google Gemini (or your chosen AI model) in n8n.
Configuration Instructions
After importing the template, you need to modify the following key nodes:
Cron Trigger:- Adjust the
Rulesetting to change the update check frequency (default is0 */10 9-23 * * *, checking every 10 minutes between 9 AM and 11 PM daily).
- Adjust the
GitHub Config(Repository List - Code Node):- Edit the JavaScript array within this node's code area.
- Modify or add the repositories you want to follow. Each repository object needs a
name(custom display name) andgithub(format:owner/repo). - Example:
{ "name": "n8n", // Custom display name "github": "n8n-io/n8n" // GitHub path }, { "name": "LobeChat", "github": "lobehub/lobe-chat" } // ... add more repositories
RedisandRedis2(Redis Connection):- Select your configured Redis credentials in both nodes.
Gemini(AI Model):- Select your configured Google Gemini credentials.
- (Optional) Replace with a different supported AI model node and select its credentials.
Information Extractor(AI Processing & Translation):- Main Configuration: Review the
System Prompt. By default, it asks the AI to extract information and translate it into Chinese. Modify this prompt if you need a different language or summary style.
- Main Configuration: Review the
Send MessageandSend Error(Slack Notifications):- Select your configured Slack credentials in both Slack nodes.
- Set the target
Channel IDfor notifications.
Workflow Overview
- Start:
Cron Triggerinitiates the workflow on schedule. - Load Config:
GitHub Configprovides the list of repositories to monitor. - Loop: The
Loopnode iterates through each repository. - Fetch & Check:
- The
RSSnode attempts to fetch the repository's releases feed. If No Errorchecks for success:- Failure:
Send Errorposts an error to Slack, skips this repository. - Success: Continues.
- Failure:
- The
- Check for New Release:
- The
Redisnode retrieves the last recorded Release ID for this repository. - The
If Newnode compares the latest Release ID with the recorded ID:- Different IDs (New Release): Proceeds to processing.
- Same ID (Already Processed): Skips this repository.
- The
- Process & Notify (Only for New Releases):
Information Extractor(withGemini) extracts, summarizes, and translates the content.- The
Codenode formats the information into Slack Block Kit. Send Messagesends the formatted message to Slack.- The
Redis2node stores the current Release ID in Redis.
- End: The workflow finishes after processing all repositories.
Conclusion
Once configured, this template automates GitHub release monitoring, uses AI to distill key information, and delivers it efficiently to your Slack workspace.