FM
FlowMarket
Docs, PDF & OCR Advanced ⚡ 24 n8n Nodes

Monitor GitHub releases with Gemini AI Chinese translation Sla

Overview This n8n template monitors specified GitHub repositories. When a new release is published, it automatically fetches the information, uses AI (Google...

🔌 Nodes & Integrations Used (7)

Limit Slack Date Time Information Extractor Lm Chat Google Gemini Redis Rss Feed Read

📖 Implementation & Setup Guide

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:

  1. **`Cron Trigger`**:
  2. * Adjust the `Rule` setting to change the update check frequency (default is `0 */10 9-23 * * *`, checking every 10 minutes between 9 AM and 11 PM daily).
  3. **`GitHub Config` (Repository List - Code Node)**:
  4. * Edit the JavaScript array within this node's code area.
  5. * Modify or add the repositories you want to follow. Each repository object needs a `name` (custom display name) and `github` (format: `owner/repo`).
  6. * Example:
  7. ```javascript
  8. {
  9. "name": "n8n", // Custom display name
  10. "github": "n8n-io/n8n" // GitHub path
  11. },
  12. {
  13. "name": "LobeChat",
  14. "github": "lobehub/lobe-chat"
  15. }
  16. // ... add more repositories
  17. ```
  18. **`Redis` and `Redis2` (Redis Connection)**:
  19. * Select your configured Redis credentials in both nodes.
  20. **`Gemini` (AI Model)**:
  21. * Select your configured Google Gemini credentials.
  22. * (Optional) Replace with a different supported AI model node and select its credentials.
  23. **`Information Extractor` (AI Processing & Translation)**:
  24. * **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.
  25. **`Send Message` and `Send Error` (Slack Notifications)**:
  26. * Select your configured Slack credentials in both Slack nodes.
  27. * Set the target `Channel ID` for notifications.

Workflow Overview

  1. **Start**: `Cron Trigger` initiates the workflow on schedule.
  2. **Load Config**: `GitHub Config` provides the list of repositories to monitor.
  3. **Loop**: The `Loop` node iterates through each repository.
  4. **Fetch & Check**:
  5. * The `RSS` node attempts to fetch the repository's releases feed.
  6. * `If No Error` checks for success:
  7. * **Failure**: `Send Error` posts an error to Slack, skips this repository.
  8. * **Success**: Continues.
  9. **Check for New Release**:
  10. * The `Redis` node retrieves the last recorded Release ID for this repository.
  11. * The `If New` node compares the latest Release ID with the recorded ID:
  12. * **Different IDs (New Release)**: Proceeds to processing.
  13. * **Same ID (Already Processed)**: Skips this repository.
  14. **Process & Notify (Only for New Releases)**:
  15. * `Information Extractor` (with `Gemini`) extracts, summarizes, and translates the content.
  16. * The `Code` node formats the information into Slack Block Kit.
  17. * `Send Message` sends the formatted message to Slack.
  18. * The `Redis2` node stores the current Release ID in Redis.
  19. **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.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Monitor_GitHub_releases_with_Gemini_AI_Chinese_translation_Sla.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Docs, PDF & OCR Workflows

View All in Docs, PDF & OCR →