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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

0
Downloads
1
Views
7.83
Quality Score
beginner
Complexity
Author:Avkash Kakdiya(View Original →)
Created:9/26/2025
Updated:11/17/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments