Classify GitHub issues and create Linear tasks using OpenAI
How it works
This workflow automatically processes new GitHub issues and uses AI to classify them by type and priority. It extracts key issue data, sends it to an AI model for structured analysis, and formats the output for task creation. The workflow then creates a task in Linear and adds a comment back to the GitHub issue. This ensures consistent triage and faster issue handling without manual effort.
Step-by-step
Capture and filter new issues**
Github Trigger – Listens for new issues or comments in the repository.
If – Filters events to process only newly opened issues.
Edit Fields – Extracts and structures title, description, author, and URL.
AI classification and formatting**
Information Extractor – Sends issue data to AI for classification (type, priority, labels).
Code in JavaScript – Cleans, validates, and formats AI output for consistent use.
OpenAI Chat Model (sub-node) – Provides the language model powering the AI classification.
Merge – Combines original issue data with AI-processed output.
Task creation and feedback**
Create an issue – Creates a structured task in Linear with priority and description.
Create a comment on an issue – Posts a comment back to GitHub with classification results.
Why use this?
Eliminates manual issue triage and prioritization work
Ensures consistent classification using AI-driven logic
Speeds up response time for bugs, features, and questions
Automatically syncs GitHub issues with Linear tasks
Improves team visibility with instant feedback on each issue
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments