{
  "name": "Build, test and deploy AI projects with Windsurf CI/CD and Vercel",
  "nodes": [
    {
      "id": "6c404a74-24fa-4751-85aa-4254d75c9190",
      "name": "Overview & Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        528
      ],
      "parameters": {
        "width": 1100,
        "height": 826,
        "content": "This is a conceptual / starter workflow that triggers on git events (or schedule), runs Windsurf-powered build & test steps (via API or CLI wrapper), builds Docker if needed, pushes to registry, deplo"
      }
    },
    {
      "id": "40089a37-f6fb-4d51-80da-e569111e8568",
      "name": "1. Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        544
      ],
      "parameters": {
        "width": 460,
        "height": 720,
        "content": "## 1. Trigger & Input\nGit event or schedule → prepare repo info"
      }
    },
    {
      "id": "0c1bbe03-f774-4328-ab62-8e6be7eea50c",
      "name": "2. Windsurf Phase",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        528
      ],
      "parameters": {
        "width": 668,
        "height": 700,
        "content": "## 2. Windsurf Build & Test\nAI-powered lint, test, eval via Windsurf"
      }
    },
    {
      "id": "1e1ac957-5ba7-4cea-8749-f2b3d847bbb1",
      "name": "3. Container Phase",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2304,
        528
      ],
      "parameters": {
        "width": 396,
        "height": 680,
        "content": "## 3. Container & Push\nDocker build → registry push"
      }
    },
    {
      "id": "7352141a-5c67-44da-baf4-76d5d86021e8",
      "name": "4. Deploy & Output",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2736,
        528
      ],
      "parameters": {
        "width": 484,
        "height": 676,
        "content": "## 4. Deploy & Notify\nTarget platform + alerts"
      }
    },
    {
      "id": "a3731c11-af2e-4b77-b308-9ede7c56dcac",
      "name": "Webhook: Git Push / Tag",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1232,
        912
      ]
    },
    {
      "id": "d02830bd-a717-47c6-9626-3eaec4fd399a",
      "name": "Daily Check (fallback)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1232,
        1104
      ]
    },
    {
      "id": "10641ade-9ce8-4ce6-b8ef-504d389cf606",
      "name": "Set Project Config",
      "type": "n8n-nodes-base.set",
      "position": [
        1456,
        1008
      ]
    },
    {
      "id": "dcade103-7d66-4036-a2b3-ae75eee9df07",
      "name": "Git: Get Latest Commit",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1680,
        1008
      ]
    },
    {
      "id": "d3a7a00b-8732-472e-b371-8ab402010385",
      "name": "Windsurf: Build & Test",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2112,
        1008
      ]
    },
    {
      "id": "fbba611f-c59b-4d1f-b7cb-2e627bddbb01",
      "name": "Build & Tests OK?",
      "type": "n8n-nodes-base.if",
      "position": [
        2336,
        1008
      ]
    },
    {
      "id": "8b23b505-9dd4-4561-bda1-c47b18ec6dfe",
      "name": "Docker: Build & Push (placeholder)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2560,
        944
      ]
    },
    {
      "id": "70a04462-5edf-4bb9-9dff-534dab30142a",
      "name": "Deploy → Vercel (example)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2784,
        944
      ]
    },
    {
      "id": "8d49bd41-c3b2-4e41-b325-8f887159a013",
      "name": "Notify Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        3008,
        1008
      ]
    },
    {
      "id": "e42515c8-ffb5-4df9-8c12-ef875cfb4f86",
      "name": "Wait For Data",
      "type": "n8n-nodes-base.wait",
      "position": [
        1888,
        1008
      ]
    }
  ],
  "connections": {
    "Wait For Data": {
      "main": [
        [
          {
            "node": "Windsurf: Build & Test",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build & Tests OK?": {
      "main": [
        [
          {
            "node": "Docker: Build & Push (placeholder)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Project Config": {
      "main": [
        [
          {
            "node": "Git: Get Latest Commit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Check (fallback)": {
      "main": [
        [
          {
            "node": "Set Project Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Git: Get Latest Commit": {
      "main": [
        [
          {
            "node": "Wait For Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Windsurf: Build & Test": {
      "main": [
        [
          {
            "node": "Build & Tests OK?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook: Git Push / Tag": {
      "main": [
        [
          {
            "node": "Set Project Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Deploy → Vercel (example)": {
      "main": [
        [
          {
            "node": "Notify Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Docker: Build & Push (placeholder)": {
      "main": [
        [
          {
            "node": "Deploy → Vercel (example)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}