{
  "name": "Automate cross-project dependency tracking between Jira and Monday",
  "nodes": [
    {
      "id": "b7490099-ba71-42e9-b2cc-0ce23060a602",
      "name": "Workflow Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -400
      ],
      "parameters": {
        "width": 389,
        "height": 560,
        "content": "## 🎯 Workflow Overview\n\nThis automation monitors Jira project dependencies and proactively alerts teams about blocking issues that could delay project delivery.\n\n**What it does:**\n- Runs nightly to sc"
      }
    },
    {
      "id": "185308d0-69ba-44f1-bdbe-a93ce06a5209",
      "name": "Trigger (Nightly Run)",
      "type": "n8n-nodes-base.cron",
      "position": [
        -736,
        -144
      ]
    },
    {
      "id": "1bd430b2-9823-4650-af57-a7870851d9d2",
      "name": "Note - Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        -448
      ],
      "parameters": {
        "width": 262,
        "height": 306,
        "content": "## ⏰ Scheduled Trigger\n\nRuns daily at midnight (00:00) to generate fresh dependency reports.\n\n**Configuration:**\n- Default: Runs at 00:00:00 daily\n- Customize timing in trigger settings\n- Consider you"
      }
    },
    {
      "id": "b7cf7c45-aa71-4369-9d8b-3bc7a612a285",
      "name": "Note - Fetch",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        32
      ],
      "parameters": {
        "width": 262,
        "height": 357,
        "content": "## 📋 Fetch Open Issues\n\n**Setup Required:**\n1. Update JQL query with your project key\n2. Example: `project = MYPROJ AND statusCategory != Done`\n3. Connect your Jira credentials\n\n**What it fetches:**\n-"
      }
    },
    {
      "id": "6d07db03-aa56-43ec-bad8-ba089d2b973a",
      "name": "Filter Dependencies",
      "type": "n8n-nodes-base.if",
      "position": [
        -304,
        -144
      ]
    },
    {
      "id": "9686f647-dafd-4597-842b-ff35aab99c23",
      "name": "Note - Filter",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -448
      ],
      "parameters": {
        "width": 262,
        "height": 290,
        "content": "## 🔍 Filter Dependencies\n\nOnly processes issues that have linked dependencies.\n\n**Logic:**\n- Checks if `issuelinks` field exists\n- Passes issues with dependencies to next node\n- Skips standalone issue"
      }
    },
    {
      "id": "1ad0a222-37d2-4529-baf7-46fdcf31a704",
      "name": "Extract Dependency Details",
      "type": "n8n-nodes-base.function",
      "position": [
        -80,
        -144
      ]
    },
    {
      "id": "094d3001-f935-493a-b59e-bef2d0ca431e",
      "name": "Note - Extract",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        32
      ],
      "parameters": {
        "width": 262,
        "height": 274,
        "content": "## 🔗 Extract Dependencies\n\nParses issue links to identify blocking relationships.\n\n**Extracts:**\n- Blocker/blocked relationships\n- Linked issue details\n- Status and priority info\n- Assignee contact de"
      }
    },
    {
      "id": "03f0b995-e4d5-45d4-90ec-fd987ae34833",
      "name": "Compute Impact Score",
      "type": "n8n-nodes-base.function",
      "position": [
        144,
        -48
      ]
    },
    {
      "id": "5b2ad399-43f0-43dd-a248-312191e77080",
      "name": "Note - Compute",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        96
      ],
      "parameters": {
        "width": 262,
        "height": 285,
        "content": "## 📊 Risk Calculation\n\nCalculates impact scores based on urgency and dependency type.\n\n**Risk Levels:**\n- **High:** < 7 days to due date\n- **Medium:** 7-14 days\n- **Low:** > 14 days\n\n**Impact Score:**"
      }
    },
    {
      "id": "11f3c704-bca8-4273-9a2d-bb6cf551f47d",
      "name": "Create Monday.com Item",
      "type": "n8n-nodes-base.mondayCom",
      "position": [
        144,
        -240
      ]
    },
    {
      "id": "3bc54dd5-633e-4669-b8de-48bb5f93a848",
      "name": "Note - Monday",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -512
      ],
      "parameters": {
        "width": 262,
        "height": 258,
        "content": "## 📋 Monday.com Sync\n\n**Setup Required:**\n1. Replace `YOUR_BOARD_ID` with your board ID\n2. Update `groupId` if needed\n3. Connect Monday.com credentials\n\n**Creates:** New items for each dependency issu"
      }
    },
    {
      "id": "791ada1e-1556-4972-9cb5-fbd473f8abaa",
      "name": "Note - Email Format",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -528
      ],
      "parameters": {
        "width": 262,
        "height": 285,
        "content": "## 📧 Email Formatter\n\nGenerates beautiful HTML email reports with:\n- Summary statistics\n- Blocking issues table\n- Blocked issues table\n- Color-coded risk indicators\n\n**No configuration needed** - auto"
      }
    },
    {
      "id": "e3f85e5e-2552-4ffc-a05b-e204e65955d1",
      "name": "Send Email Report",
      "type": "n8n-nodes-base.gmail",
      "position": [
        592,
        -240
      ]
    },
    {
      "id": "ac63b00c-f50e-4a7d-a7c1-b3f2a42c7733",
      "name": "Note - Gmail",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        -496
      ],
      "parameters": {
        "width": 262,
        "height": 285,
        "content": "## 📬 Gmail Sender\n\n**Setup Required:**\n1. Replace `YOUR_EMAIL@example.com` with recipient email\n2. Connect Gmail OAuth2 credentials\n3. Grant necessary permissions\n\n**Sends:** Formatted HTML report to "
      }
    },
    {
      "id": "cd553b4f-2e1b-42c8-9db2-13ccc0c5b2ed",
      "name": "Create Coordination Task",
      "type": "n8n-nodes-base.jira",
      "position": [
        368,
        -48
      ]
    },
    {
      "id": "75ed5b66-ec43-43d0-954d-cc5a4dfbea02",
      "name": "Note - Coordination",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -80
      ],
      "parameters": {
        "width": 262,
        "height": 285,
        "content": "## 📝 Create Jira Task\n\n**Setup Required:**\n1. Replace `YOUR_PROJECT_ID` with coordination project ID\n2. Update issue type if needed\n3. Uses same Jira credentials\n\n**Creates:** Coordination tasks with "
      }
    },
    {
      "id": "27003e76-5b0b-4ff5-928a-9d3d9a062c1f",
      "name": "Post to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        368,
        160
      ]
    },
    {
      "id": "350fe417-1e8b-4451-9228-a64087d75a61",
      "name": "Note - Slack",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        272
      ],
      "parameters": {
        "width": 262,
        "height": 285,
        "content": "## 💬 Slack Alerts\n\n**Setup Required:**\n1. Replace `YOUR_CHANNEL_ID` with channel ID\n2. Connect Slack API credentials\n3. Ensure bot has channel permissions\n\n**Posts:** Real-time alerts with emoji indic"
      }
    },
    {
      "id": "27dcf4a8-02ad-4ee5-b599-0675c696e34e",
      "name": "Fetch Open Jira Issues",
      "type": "n8n-nodes-base.jira",
      "position": [
        -528,
        -144
      ]
    },
    {
      "id": "0914ca57-8aeb-474b-bb51-473854353e4f",
      "name": "Email Formatter",
      "type": "n8n-nodes-base.code",
      "position": [
        368,
        -240
      ]
    }
  ],
  "connections": {
    "Email Formatter": {
      "main": [
        [
          {
            "node": "Send Email Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Dependencies": {
      "main": [
        [
          {
            "node": "Extract Dependency Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute Impact Score": {
      "main": [
        [
          {
            "node": "Create Coordination Task",
            "type": "main",
            "index": 0
          },
          {
            "node": "Email Formatter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Post to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger (Nightly Run)": {
      "main": [
        [
          {
            "node": "Fetch Open Jira Issues",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Open Jira Issues": {
      "main": [
        [
          {
            "node": "Filter Dependencies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Dependency Details": {
      "main": [
        [
          {
            "node": "Compute Impact Score",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create Monday.com Item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}