Automated GitHub Issue Alerts to Telegram
detail.loadingPreview
Stay informed about critical GitHub issues without constant monitoring. This workflow automatically fetches open 'Bug' issues from your GitHub repository and sends them directly to your Telegram, filtered by comment count.
About This Workflow
This n8n workflow is designed to streamline your GitHub issue management by providing real-time notifications directly to your Telegram. It's configured to run every 10 minutes, polling your specified GitHub repository for open issues labeled as 'Bug'. The workflow then extracts key details like the issue title, URL, creation date, and comment count. Crucially, it filters these issues, only forwarding those with fewer than 5 comments to your Telegram chat. This ensures you are alerted to new or less-discussed issues that might require immediate attention, while filtering out more active discussions. Setup is straightforward, requiring only your GitHub and Telegram credentials.
Key Features
- Automated GitHub Issue Fetching: Periodically retrieves open issues from your specified GitHub repository.
- Customizable Filters: Filter issues by state, since a specific time, and by labels (e.g., 'Bug').
- Smart Notification Filtering: Only send alerts for issues with a low comment count (under 5 in this example).
- Direct Telegram Alerts: Receive issue title and URL directly in your Telegram chat.
- Configurable Schedule: Run the automation at your desired frequency (e.g., every 10 minutes).
How To Use
- Configure GitHub Credentials: Set up your GitHub API credentials within n8n.
- Set Schedule: Adjust the 'Run every 10 minutes' node to your preferred polling interval.
- Define GitHub Repository: In the 'Get Github Issues' node, input your GitHub
OWNERandREPO NAME. - Customize Issue Filters: Modify the
state,since, andlabelsparameters in the 'Get Github Issues' node to match your needs (e.g., 'open', a specific date/time, and relevant labels). - Configure Telegram Credentials: Create a Telegram bot and obtain its token. Add these credentials to n8n.
- Set Telegram Chat ID: In the 'Send Message to @user' node, configure your Telegram Bot Token and your Chat ID (username or user ID).
- Adjust Comment Filter: In the 'Check for comments' node, modify the
rightValueto set your desired maximum comment count for notifications. - Map Desired Fields: In the 'Map title, url, created, comments' node, ensure the fields you want to send to Telegram are correctly mapped.
- Activate Workflow: Enable the workflow to start receiving automated alerts.
Apps Used
Workflow JSON
{
"id": "52b7480b-d84e-4897-9efe-e7e7465fefde",
"name": "Automated GitHub Issue Alerts to Telegram",
"nodes": 12,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 52b7480b-d84e...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.