{
  "name": "Classify GitHub issues and create Linear tasks using OpenAI",
  "nodes": [
    {
      "id": "a32a3286-f834-4158-b51f-517d302594b9",
      "name": "Github Trigger",
      "type": "n8n-nodes-base.githubTrigger",
      "position": [
        7808,
        5248
      ]
    },
    {
      "id": "55bedc64-a3d8-44f7-9248-7d6ca8e22eeb",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        8256,
        5232
      ]
    },
    {
      "id": "87bb4b94-daf3-49fe-b9f2-06023477e942",
      "name": "Information Extractor",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        8496,
        4960
      ]
    },
    {
      "id": "0b4fd525-0fea-4204-bd81-3ad1f041d70f",
      "name": "Create an issue",
      "type": "n8n-nodes-base.linear",
      "position": [
        9296,
        5216
      ]
    },
    {
      "id": "fe7b2e45-9308-48f8-9233-812dc92e5381",
      "name": "Create a comment on an issue",
      "type": "n8n-nodes-base.github",
      "position": [
        9536,
        5216
      ]
    },
    {
      "id": "afd1dd04-0226-4d97-9145-6c053ff321a7",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        9056,
        5216
      ]
    },
    {
      "id": "59743ca0-0d44-4bd1-893c-be0acdce9a9a",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        8832,
        4960
      ]
    },
    {
      "id": "dd834e8a-b513-4f54-87ad-1241937c44c1",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        8016,
        5248
      ]
    },
    {
      "id": "ad461b28-7b67-4052-83d1-3e0b45fb458c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        8576,
        5152
      ]
    },
    {
      "id": "136dc3dd-569d-43b6-be01-b8683633ce74",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        7040,
        4816
      ],
      "parameters": {
        "width": 656,
        "height": 720,
        "content": "# GitHub Issue → AI Triage & Task Creation\n\nThis workflow automates the process of analyzing and organizing new GitHub issues using AI. Whenever a new issue is created, the workflow evaluates its cont"
      }
    },
    {
      "id": "bd6928ef-51e7-4231-a18c-738f5e3a8a97",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        7728,
        4816
      ],
      "parameters": {
        "width": 672,
        "height": 720,
        "content": "## Step 1 : Capture & Filter Issues\n\nTriggers on new GitHub issues, filters it, and prepares structured data (title, description) for AI processing."
      }
    },
    {
      "id": "92aefaef-2876-4b8a-9a45-41cf43518c65",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        8432,
        4816
      ],
      "parameters": {
        "width": 752,
        "height": 720,
        "content": "## Step 2 : AI Classification & Formatting\n\nAI classifies the issue (Bug, Feature, Question) and assigns priority. Code node formats this output for downstream task creation."
      }
    },
    {
      "id": "689974fc-7543-432d-b00f-2d41e1a10456",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        9216,
        4816
      ],
      "parameters": {
        "width": 576,
        "height": 720,
        "content": "## Step 3 : Task Creation & Feedback\n\nProcessed data is merged and used to create a task. A comment is added to the GitHub issue for visibility and tracking."
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Create an issue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Information Extractor",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Github Trigger": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create an issue": {
      "main": [
        [
          {
            "node": "Create a comment on an issue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Information Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Information Extractor": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}