{
  "name": "Automation flow from Notion to GitHub with email notifications",
  "nodes": [
    {
      "id": "7c3adcf2-0f6c-4b9f-840c-9f1f1ad7b6fc",
      "name": "Get many database pages",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        140
      ]
    },
    {
      "id": "35ccdc8d-063d-4177-9dbf-ef5ab0490083",
      "name": "Create an issue",
      "type": "n8n-nodes-base.github",
      "position": [
        1260,
        -760
      ]
    },
    {
      "id": "15822ab6-75eb-42f6-9735-462eee577f01",
      "name": "Sort Issues Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        740,
        140
      ]
    },
    {
      "id": "ab5feb3b-b90b-46b8-817e-4d5304f1c052",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        300,
        140
      ]
    },
    {
      "id": "5d1c0a93-e655-40b6-800d-95fa9a45fb5a",
      "name": "Get many users",
      "type": "n8n-nodes-base.notion",
      "position": [
        1300,
        460
      ]
    },
    {
      "id": "26fb5264-ecc5-41c7-ba4b-190299ebe133",
      "name": "Map Notion Users",
      "type": "n8n-nodes-base.set",
      "position": [
        1480,
        460
      ]
    },
    {
      "id": "bf194122-52fb-466d-9532-21edd54857c7",
      "name": "Set Status and Issue URL",
      "type": "n8n-nodes-base.notion",
      "position": [
        1540,
        -760
      ]
    },
    {
      "id": "41f0a8c9-df5f-4fa8-a4e1-ed10017d1688",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        980,
        140
      ]
    },
    {
      "id": "3d653edc-4d9e-4efc-98b2-83ef168bc962",
      "name": "Exclude Bot",
      "type": "n8n-nodes-base.switch",
      "position": [
        1660,
        460
      ]
    },
    {
      "id": "b4ce6176-284a-45d7-a852-e456a596f833",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2060,
        460
      ]
    },
    {
      "id": "3b0bc8f4-4d6c-4c52-b123-78583df2ab89",
      "name": "Group Recipients",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1880,
        460
      ]
    },
    {
      "id": "5becc075-f6b8-4c57-8489-7152e9616ec6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        -720
      ],
      "parameters": {
        "width": 880,
        "height": 1100,
        "content": "## 🔹 SECTION 1: Detect and Sort Issues from Notion\n**Combining**: Schedule Trigger + Notion Database + Field Mapping + Status Routing\n\n## ⏰ 1. Schedule Trigger\n🔧 **Node Type**: Schedule Trigger (you c"
      }
    },
    {
      "id": "246e38b3-eb3d-47f8-9818-e0c48e9c308f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        -1360
      ],
      "parameters": {
        "width": 640,
        "height": 760,
        "content": "## 🔹 SECTION 2: GitHub Issue Creation (IF \"To develop\")\n**Combining**: GitHub Node + Notion Update\n\n## 🐙 5. Create an Issue (GitHub)\n🔧 **Node Type**: GitHub → Create Issue\n\n## ⚙️ What it does: Creates"
      }
    },
    {
      "id": "7a5f0935-2dc8-4db4-8044-1f261b1820dd",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        -380
      ],
      "parameters": {
        "width": 960,
        "height": 1020,
        "content": "## 🔹 SECTION 3: Notify Team on Already In-Progress Items (IF NOT \"To develop\")\nCombining: Notion Users + Filtering + Email Grouping + Gmail\n\n## 👥 7. Get Many Users (Notion Users)\n🔧 **Node Type**: Noti"
      }
    }
  ],
  "connections": {
    "Switch": {
      "main": [
        [
          {
            "node": "Create an issue",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get many users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Exclude Bot": {
      "main": [
        [
          {
            "node": "Group Recipients",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many users": {
      "main": [
        [
          {
            "node": "Map Notion Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create an issue": {
      "main": [
        [
          {
            "node": "Set Status and Issue URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Group Recipients": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Notion Users": {
      "main": [
        [
          {
            "node": "Exclude Bot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get many database pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sort Issues Fields": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many database pages": {
      "main": [
        [
          {
            "node": "Sort Issues Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}