{
  "name": "Route product signals from Notion to Jira and Slack backlogs",
  "nodes": [
    {
      "id": "3006021a-6014-47d4-8fa1-1c22dbe79a52",
      "name": "Sticky Note - How It Works",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        -48
      ],
      "parameters": {
        "width": 420,
        "height": 440,
        "content": "## How it works\n\nWhen you set a signal's Route Status to 'Routing' in Notion, this workflow picks it up and sends it to the right destination: Jira bug, Jira feature, RICE+ backlog, customer health, o"
      }
    },
    {
      "id": "f6aaa487-af0a-4a0e-a30a-d0db7dc630d7",
      "name": "Sticky Note - Routing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        -64
      ],
      "parameters": {
        "width": 1924,
        "height": 1736,
        "content": "## Routing Engine\n\nReads signal details from Notion, flattens properties, then routes via a 5-way switch based on the Route Destination field you selected."
      }
    },
    {
      "id": "331189d2-7230-43cb-a190-9be31d459c41",
      "name": "Signal Route Trigger",
      "type": "n8n-nodes-base.notion",
      "position": [
        -800,
        704
      ]
    },
    {
      "id": "9d7e2e06-8dda-49fd-ac66-9a6b747a52de",
      "name": "Filter Routing Status",
      "type": "n8n-nodes-base.if",
      "position": [
        -496,
        704
      ]
    },
    {
      "id": "6a7f26bd-15e4-4693-a3f2-2944c78497a3",
      "name": "Read Signal Details",
      "type": "n8n-nodes-base.code",
      "position": [
        -208,
        704
      ]
    },
    {
      "id": "1a2e166a-b874-441b-af72-a517fbaf89e4",
      "name": "Route Destination",
      "type": "n8n-nodes-base.switch",
      "position": [
        112,
        704
      ]
    },
    {
      "id": "6bbe4bff-e55e-48d6-8f91-c97fd2f6c082",
      "name": "Create Jira Bug",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        400,
        304
      ]
    },
    {
      "id": "be4d49da-3b63-42b5-8c29-13f50e1afa24",
      "name": "Parse Jira Bug Response",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        304
      ]
    },
    {
      "id": "a98d8368-06d9-4cff-9f9f-a527e64cf1c4",
      "name": "Create Jira Feature",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        400,
        512
      ]
    },
    {
      "id": "b736cf5c-d89e-4496-953c-b1ad5a836e33",
      "name": "Parse Jira Feature Response",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        512
      ]
    },
    {
      "id": "68977746-0f16-4571-8c10-2d698e1a8121",
      "name": "Create RICE+ Entry",
      "type": "n8n-nodes-base.notion",
      "position": [
        400,
        704
      ]
    },
    {
      "id": "27c0937e-2eae-4087-98d0-3c37ea268b02",
      "name": "Parse RICE Response",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        704
      ]
    },
    {
      "id": "d6e5ff17-b892-428e-bd15-43161c1ddbc0",
      "name": "Create Customer Health Entry",
      "type": "n8n-nodes-base.notion",
      "position": [
        400,
        912
      ]
    },
    {
      "id": "7463e91e-dded-4608-b358-81e1ddd55578",
      "name": "Parse Customer Health Response",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        912
      ]
    },
    {
      "id": "98a0e380-8810-4d66-aa8b-b36562949507",
      "name": "Create Sprint Backlog Item",
      "type": "n8n-nodes-base.notion",
      "position": [
        400,
        1104
      ]
    },
    {
      "id": "769c9788-87a2-4ce2-8bdf-726fb23dd95d",
      "name": "Parse Sprint Response",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        1104
      ]
    },
    {
      "id": "02da030b-7d20-4ca4-aac7-a53cc9cf1ab0",
      "name": "Update Signal Status",
      "type": "n8n-nodes-base.notion",
      "position": [
        1040,
        704
      ]
    },
    {
      "id": "11f1c990-b23d-4a34-8fea-ddee8dbc25bc",
      "name": "Build Thread Reply",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        704
      ]
    },
    {
      "id": "c802324b-f571-42de-911c-9373ded5060a",
      "name": "Reply in Thread",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        704
      ]
    },
    {
      "id": "d774ff2f-e48c-43dc-9102-1857e7c16929",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -64
      ],
      "parameters": {
        "width": 800,
        "height": 1744,
        "content": "## Closed Loop\n\nAfter routing, updates the signal status to 'Routed' with a reference link, and replies in the original Slack thread to confirm where it went."
      }
    }
  ],
  "connections": {
    "Create Jira Bug": {
      "main": [
        [
          {
            "node": "Parse Jira Bug Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route Destination": {
      "main": [
        [
          {
            "node": "Create Jira Bug",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Jira Feature",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create RICE+ Entry",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Customer Health Entry",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Sprint Backlog Item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Thread Reply": {
      "main": [
        [
          {
            "node": "Reply in Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create RICE+ Entry": {
      "main": [
        [
          {
            "node": "Parse RICE Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Jira Feature": {
      "main": [
        [
          {
            "node": "Parse Jira Feature Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse RICE Response": {
      "main": [
        [
          {
            "node": "Update Signal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Signal Details": {
      "main": [
        [
          {
            "node": "Route Destination",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signal Route Trigger": {
      "main": [
        [
          {
            "node": "Filter Routing Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Signal Status": {
      "main": [
        [
          {
            "node": "Build Thread Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Routing Status": {
      "main": [
        [
          {
            "node": "Read Signal Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Sprint Response": {
      "main": [
        [
          {
            "node": "Update Signal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Jira Bug Response": {
      "main": [
        [
          {
            "node": "Update Signal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Sprint Backlog Item": {
      "main": [
        [
          {
            "node": "Parse Sprint Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Jira Feature Response": {
      "main": [
        [
          {
            "node": "Update Signal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Customer Health Entry": {
      "main": [
        [
          {
            "node": "Parse Customer Health Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Customer Health Response": {
      "main": [
        [
          {
            "node": "Update Signal Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}