⚡ Only 300 spots remaining • Closes in 2d 14h 32m

Back to Workflow Library
Developer Tools

GitHub Inactive PR Reminder

Maintain team momentum. This scheduled daily workflow queries your GitHub repository for open pull requests. It filters for PRs that have had no review activity, new comments, or commits for 3+ days and posts reminders to Slack.

#GitHub
#Slack
#PR Reminder
#DevOps
#Productivity

Automation Logic

n8n JSON Blueprint

This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.

This is an exclusive blueprint. Copy the JSON below to use it.

QUICK DEPLOY

  • 1
    Download the .json file
  • 2
    Open n8n & click "Import"
  • 3
    Configure your API keys

PRO TIP

Always test your workflow in a development environment before pushing to production.

JSON BLUEPRINT

n8n-workflow.json
{
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "value": 1
            }
          ]
        }
      },
      "name": "Daily Morning",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [
        100,
        300
      ]
    },
    {
      "parameters": {
        "operation": "list",
        "state": "open"
      },
      "name": "List Open PRs",
      "type": "n8n-nodes-base.github",
      "typeVersion": 1,
      "position": [
        300,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const limit = new Date();\nlimit.setDate(limit.getDate() - 3);\nreturn items.filter(item => new Date(item.json.updated_at) < limit);"
      },
      "name": "Filter Inactive PRs",
      "type": "n8n-nodes-base.code",
      "typeVersion": 1,
      "position": [
        500,
        300
      ]
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": "dev-team",
        "text": "🕒 Inactive PR Reminder:\n{{$json.map(pr => `- <${pr.html_url}|${pr.title}> (No activity for 3+ days)`).join('\\n')}}"
      },
      "name": "Ping Slack Team",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2,
      "position": [
        700,
        300
      ]
    }
  ],
  "connections": {
    "Daily Morning": {
      "main": [
        [
          {
            "node": "List Open PRs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Open PRs": {
      "main": [
        [
          {
            "node": "Filter Inactive PRs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Inactive PRs": {
      "main": [
        [
          {
            "node": "Ping Slack Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

To use this, copy the JSON above and paste it directly onto your n8n canvas.

IMPLEMENTATION GUIDE

Required Nodes

  • GitHub Node
  • Slack Node
  • PR Reminder Node
  • DevOps Node
  • Productivity Node
  • Cron / Webhook Trigger

Core Benefits

  • 100% Automated Execution
  • Reduces Manual Data Entry
  • Infinite Scalability

Need Help Building Your Private Cloud?

Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.

user