AutomationFlowsWeb Scraping › Predictivemaintenance_iot: Issue Triage

Predictivemaintenance_iot: Issue Triage

PredictiveMaintenance_IoT: issue triage. Uses githubTrigger, httpRequest. Event-driven trigger; 3 nodes.

Event trigger★★★★☆ complexity3 nodesGithub TriggerHTTP Request
Web Scraping Trigger: Event Nodes: 3 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "PredictiveMaintenance_IoT: issue triage",
  "nodes": [
    {
      "parameters": {
        "owner": "CoreyLeath-code",
        "repository": "PredictiveMaintenance_IoT",
        "events": [
          "issues"
        ]
      },
      "id": "4b409eb4-cdf2-4792-8b2a-664a9ddc410d",
      "name": "GitHub issue trigger",
      "type": "n8n-nodes-base.githubTrigger",
      "typeVersion": 1,
      "position": [
        -280,
        0
      ]
    },
    {
      "parameters": {
        "jsCode": "const event = $json.body ?? $json;\nif (event.action !== 'opened' || !event.issue || event.issue.pull_request) {\n  return [];\n}\nconst text = [event.issue.title, event.issue.body || ''].join(' ').toLowerCase();\nconst labels = ['needs-triage'];\nif (/\\b(bug|error|exception|crash|regression|fail(?:ure|ing)?)\\b/.test(text)) labels.push('bug');\nelse if (/\\b(doc|readme|guide|tutorial|documentation)\\b/.test(text)) labels.push('documentation');\nelse if (/\\b(feature|request|support|add)\\b/.test(text)) labels.push('feature');\nelse if (/\\b(question|how do|help)\\b/.test(text)) labels.push('question');\nif (/\\b(security|safety|data loss|outage|critical)\\b/.test(text)) labels.push('priority:high');\nelse if (/\\b(performance|reliability|deployment|ci)\\b/.test(text)) labels.push('priority:medium');\nelse labels.push('priority:low');\nreturn [{ json: { issue_number: event.issue.number, labels: [...new Set(labels)] } }];"
      },
      "id": "f3794b5b-42b0-4ec7-99eb-0191a30f774b",
      "name": "Classify new issue",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        -40,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "=https://api.github.com/repos/CoreyLeath-code/PredictiveMaintenance_IoT/issues/{{$json.issue_number}}/labels",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "githubApi",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ labels: $json.labels }) }}",
        "options": {}
      },
      "id": "49e9495d-0a0a-4b4d-860d-f2fbbc126a3f",
      "name": "Apply triage labels",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        200,
        0
      ]
    }
  ],
  "connections": {
    "GitHub issue trigger": {
      "main": [
        [
          {
            "node": "Classify new issue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Classify new issue": {
      "main": [
        [
          {
            "node": "Apply triage labels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "239e026a-2aef-4656-b56f-8c8c8cc811c6",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

PredictiveMaintenance_IoT: issue triage. Uses githubTrigger, httpRequest. Event-driven trigger; 3 nodes.

Source: https://github.com/CoreyLeath-code/PredictiveMaintenance_IoT/blob/7bf2d3cd5908b2f8ddc9b6d7d846eb495cc6c122/n8n/issue-triage.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Detect and merge duplicate GitHub issues automatically using Claude AI. This n8n automation triggers on new GitHub issues, checks them against open issues for duplicates, merges duplicate reports into

Github Trigger, GitHub, HTTP Request
Web Scraping

By embedding specific keywords and a JIRA issue ID within your git commit commands, this workflow automatically creates a Pull Request in GitHub and simultaneously updates the corresponding JIRA ticke

HTTP Request, Github Trigger, Stop And Error +1
Web Scraping

Semantic Duplicate Issue Detector. Uses githubTrigger, httpRequest, github. Event-driven trigger; 18 nodes.

Github Trigger, HTTP Request, GitHub
Web Scraping

This template is ideal for developers, DevOps engineers, and automation managers who manage their n8n workflows using GitHub. It helps teams streamline their CI/CD automation by syncing changes from G

Github Trigger, HTTP Request, GitHub +1
Web Scraping

This workflow automatically adds a note of the PR from GitHub to the Pipedrive contact if their GitHub email matches a Person in Pipedrive. Pipedrive account and Pipedrive credentials GitHub account a

HTTP Request, Pipedrive, Github Trigger