Automatic Issue Routing in Linear with GPT-4-mini Classification
How it works
This workflow automatically classifies and routes new or updated Linear issues using AI. When an issue is created or updated, its title and description are analyzed by an OpenAI-powered classifier. The workflow then determines the correct team, routes the issue through the right path, and updates it in Linear. This ensures accurate, consistent triaging and removes the need for manual assignment.
Step-by-step
-
Trigger and validation
Linear Trigger** – Detects new or updated issues in Linear.
Filter New Issues Only** – Ensures the issue has a valid title.
If (Create or Update)** – Confirms the action is either create or update. -
AI classification
OpenAI Chat Model** – Provides language model capabilities for classification.
AI Agent (Bug Classifier)** – Uses issue title and description to assign a team ID. -
Routing logic
Engineering Router** – Checks if classification output is Engineering.
Product Router** – Checks if classification output is Product.
Design Router** – Checks if classification output is Design.
Default Router** – Fallback if no match is found. -
Update Linear issue
Assign to Engineering** – Updates team assignment in Linear.
Assign to Product** – Updates team assignment in Linear.
Assign to Design** – Updates team assignment in Linear.
Assign to Default** – Assigns to fallback team if no match.
Why use this?
Automates issue triage, eliminating manual team assignment.
Speeds up bug resolution by instantly routing to the right team.
Ensures consistency in bug categorization using AI-driven analysis.
Scales effortlessly with growing issue volume.
Reduces human error in issue management.
Related Templates
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 ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments