Skip to main content

Classify GitHub issues and create Linear tasks using OpenAI

Workflow preview

Workflow preview
100%
Classify GitHub issues and create Linear tasks using OpenAI preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.githubtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.informationextractor, n8n-nodes-base.linear, n8n-nodes-base.github, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Classify GitHub issues and create Linear tasks using OpenAI
Workflow name
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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Github Trigger

Type / Role
n8n-nodes-base.githubTrigger - githubTrigger
Config choices
Version 1

Block 2 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Information Extractor

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1.2

Block 4 - Create an issue

Type / Role
n8n-nodes-base.linear - linear
Config choices
Version 1.1

Block 5 - Create a comment on an issue

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1.1

Block 6 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 9 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 10 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Classify GitHub issues and create Linear tasks using OpenAI
Complexity intermediate
Nodes 13
Categories Ticket Management, AI Summarization
Author Avkash Kakdiya
Published 26 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14357/14357.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Classify GitHub issues and create Linear tasks using OpenAI do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.