Triage GitHub issues with OpenAI categorization and embedding-based duplicate detection
Ready for 3.0What 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.
- Set Configuration (Edit Fields (Set)): sets 7 fields: github_owner, github_repo, duplicate_threshold…
- Only On Issue Opened (If): checks a condition and branches into true / false
- Extract Issue Info (Edit Fields (Set)): sets 5 fields: issue_number, issue_title, issue_body…
- Fetch Recent Issues (GitHub): work with repository
- Prepare Texts for Embedding (Code): runs custom JavaScript code
- Get Embeddings (Batch) (HTTP Request): calls api.openai.com (POST)
- Calculate Similarity (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Post Duplicate Comment (GitHub): create comment
- Classify Issue (OpenAI): uses OpenAI
…plus 7 more steps. See the full node list below.
Services it uses
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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - GitHub
n8n-nodes-base.github - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets
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…