FetchGithubIssues

FetchGithubIssues automates the retrieval of open GitHub issues every 10 minutes, filtering them based on comment count. It extracts key details like title and URL, then sends notifications via Telegram for issues with fewer than 5 comments, enhancing communication and issue tracking efficiency.

7/8/2025
9 nodes
Medium
schedulemediumsticky notetelegramfilterschedule triggergithubautomationcommunicationbotcron
Categories:
Communication & MessagingSchedule TriggeredTechnical Infrastructure & DevOpsMedium Workflow
Integrations:
Sticky NoteTelegramFilterSchedule TriggerGitHub

Target Audience

  • Developers: Those managing GitHub repositories who want to stay updated on issues without constant monitoring.
    - Project Managers: Individuals overseeing projects who need a quick way to track issues and communicate them to team members.
    - Automation Enthusiasts: Users interested in automating their workflows to save time and improve efficiency.
    - Telegram Users: Anyone who prefers receiving notifications through Telegram for immediate updates.
  • Problem Solved

  • This workflow automates the process of monitoring GitHub issues, ensuring that users receive timely notifications for newly opened issues based on specific criteria.
    - It helps in filtering issues with fewer than 5 comments, allowing users to prioritize their attention on less-discussed issues that may require more visibility.
  • Workflow Steps

  • Schedule Trigger: The workflow runs automatically every 10 minutes, ensuring up-to-date monitoring of GitHub issues.
    - Get GitHub Issues: It fetches issues from a specified repository, filtering for ones that are open and labeled as Bug. The query includes a time filter to only retrieve issues created in the last 30 minutes.
    - Map Fields: Extracts relevant fields such as title, URL, created date, and number of comments from the fetched issues.
    - Filter Issues: Checks if the number of comments on each issue is less than 5. If true, it proceeds to the next step.
    - Send Telegram Notification: For issues that meet the criteria, it sends a message to the specified Telegram user, including the issue title and a link to the issue for easy access.
  • Customization Guide

  • Modify GitHub Repository: Change the owner and repository fields in the Get Github Issues node to point to your desired GitHub repository.
    - Adjust Filters: Update the state, since, and labels parameters in the Get Github Issues node to customize which issues to monitor.
    - Change Comment Threshold: Alter the comment count in the Check for comments node to adjust the filtering criteria based on your needs.
    - Telegram Configuration: Ensure that the Telegram bot token and Chat ID are correctly set in the Send Message to @user node for successful message delivery.
    - Schedule Frequency: Modify the interval in the Run every 10 minutes node to change how often the workflow checks for new issues.
  • FetchGithubIssues - N8N Workflow Directory