Skip to main content

Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts

Workflow preview

Workflow preview
100%
Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts preview
Open on n8n.io

1. Workflow Overview

Who is this for Development teams and project maintainers who receive high volumes of GitHub issues and want to automate classification and team notifications. Perfect for open source projects, pro...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oka Hironobu.

Original n8n.io source

1.1 Workflow description

Title
Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts
Workflow name
Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts

Who is this for

Development teams and project maintainers who receive high volumes of GitHub issues and want to automate classification and team notifications. Perfect for open source projects, product teams, and DevOps engineers managing multiple repositories.

What it does

This workflow automatically triages new GitHub issues using Gemini AI classification. When an issue is created, it extracts the title and description, sends them to Gemini AI for analysis, then automatically adds appropriate labels (bug, feature, documentation, etc.) and priority tags to the issue. Critical and high-priority issues trigger alerts in your #urgent-issues Slack channel, while medium and low-priority items go to #issue-tracker. All classifications are logged to Google Sheets with timestamps for analytics.

How to set up

  1. Connect your GitHub repository using webhook credentials
  2. Get a free Gemini API key from ai.google.dev and add to credentials
  3. Set up Slack bot credentials for your workspace
  4. Create a Google Sheet with columns: Date, Repository, Issue Number, Title, Author, AI Type, AI Priority, Urgency Score, Summary, URL
  5. Replace the Google Sheet ID in the final node with your sheet's ID
  6. Configure your Slack channel names (#urgent-issues and #issue-tracker)

Requirements

  • GitHub repository with admin access
  • Google Gemini API account (free tier available)
  • Slack workspace with bot permissions
  • Google Sheets access for logging

How to customize

Modify the Gemini prompt to change classification categories or add custom labels. Adjust priority thresholds in the Switch node to change routing logic. Add additional Slack channels for different teams or severity levels. Configure the Google Sheets columns to capture additional metadata or metrics specific to your workflow.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - GitHub Issue Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 7 - Extract Issue Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Classify with Gemini AI

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Parse AI Response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Add Labels to Issue

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Post AI Comment

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Is Critical or High?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 13 - Alert Urgent Issues

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 14 - Log to Issue Tracker

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 15 - Log to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

3. Summary Table

Workflow Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts
Complexity advanced
Nodes 15
Categories Ticket Management, AI Summarization
Author Oka Hironobu
Published 04 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13874/13874.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Triage GitHub issues with Gemini AI, auto-label them, and send Slack alerts do?

Who is this for Development teams and project maintainers who receive high volumes of GitHub issues and want to automate classification and team notifications. Perfect for open source projects, pro...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.