Templates / Triage GitHub issues with OpenAI categorization and embedding-based duplicate detection

Triage GitHub issues with OpenAI categorization and embedding-based duplicate detection

Ready for 3.0

by Ayaka Sato ✓ · 66 views · created 2026-04-23 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 18 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub, OpenAI, Slack and Google Sheets. It also calls api.openai.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set Configuration (Edit Fields (Set)): sets 7 fields: github_owner, github_repo, duplicate_threshold…
  2. Only On Issue Opened (If): checks a condition and branches into true / false
  3. Extract Issue Info (Edit Fields (Set)): sets 5 fields: issue_number, issue_title, issue_body…
  4. Fetch Recent Issues (GitHub): work with repository
  5. Prepare Texts for Embedding (Code): runs custom JavaScript code
  6. Get Embeddings (Batch) (HTTP Request): calls api.openai.com (POST)
  7. Calculate Similarity (Code): runs custom JavaScript code
  8. If: checks a condition and branches into true / false
  9. Post Duplicate Comment (GitHub): create comment
  10. Classify Issue (OpenAI): uses OpenAI

…plus 7 more steps. See the full node list below.

Services it uses

GitHubOpenAISlackGoogle Sheets

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Who's it for Open-source maintainers, product teams with public repositories, and any organization receiving a steady stream of GitHub Issues. Ideal for small teams who waste hours per week triaging duplicates and misrouted reports. How it works When a new…

Excerpt from Ayaka Sato's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.