{
  "name": "Build & deploy MVPs from text prompts with AI, GitHub & Vercel",
  "nodes": [
    {
      "id": "17bf6fd1-2942-4c54-bff7-0ebefb56620e",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        320,
        1380
      ]
    },
    {
      "id": "6916ffa4-3330-4c33-b6be-3905dad8c15a",
      "name": "Chat Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        580,
        1280
      ]
    },
    {
      "id": "2b2c6117-daf1-42b6-844f-d2c65af049cb",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        540,
        1500
      ]
    },
    {
      "id": "2b5af958-a0d5-4c85-b585-0dd8787e4740",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        660,
        1500
      ]
    },
    {
      "id": "3984355a-2f8f-45a2-bf58-9dc55ca976a6",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        980,
        1380
      ]
    },
    {
      "id": "6bec7f13-7ec8-4f3f-96d5-32b8e4136fff",
      "name": "Generate From MVP Template",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        780
      ]
    },
    {
      "id": "19dc9ac7-a185-410f-b7be-6ffd7c7fa725",
      "name": "create_mvp",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        780,
        1500
      ]
    },
    {
      "id": "58da369e-a5c1-46d3-9856-14dd154d8d64",
      "name": "create_mvp trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        340,
        780
      ]
    },
    {
      "id": "c9294e36-b140-4a7f-8ed6-79bd829caa7d",
      "name": "Parse Input",
      "type": "n8n-nodes-base.code",
      "position": [
        560,
        780
      ]
    },
    {
      "id": "8c474366-4b65-4a89-8217-137557dc850d",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        100,
        540
      ]
    },
    {
      "id": "2b67c12c-b62b-445c-9509-c86c0fcaa615",
      "name": "test input",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        2120
      ]
    },
    {
      "id": "082c5409-6642-4053-8384-ef06524127f1",
      "name": "test pos-creaetion",
      "type": "n8n-nodes-base.code",
      "position": [
        620,
        2120
      ]
    },
    {
      "id": "0bd2d5b2-212e-447d-b47c-ae0946bb6df2",
      "name": "TDD Code Maker",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1580,
        780
      ]
    },
    {
      "id": "8eb49a95-ea99-4a01-8cd4-ad46487f84dd",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1380,
        980
      ]
    },
    {
      "id": "56b096e8-0063-4ba9-bebb-2cc753c160be",
      "name": "Structured Output Code",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2100,
        1340
      ]
    },
    {
      "id": "87ba4740-4e25-40ea-ac68-304e6df63203",
      "name": "get_file",
      "type": "n8n-nodes-base.githubTool",
      "position": [
        1840,
        980
      ]
    },
    {
      "id": "0210733c-aae2-420a-96cf-d4cb35b801cb",
      "name": "Variables",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        780
      ]
    },
    {
      "id": "5b98d74b-10c8-4731-92a6-1e134591cadb",
      "name": "Parse Output",
      "type": "n8n-nodes-base.code",
      "position": [
        2000,
        780
      ]
    },
    {
      "id": "33e26542-9fdc-4742-a83e-93389de9f9bb",
      "name": "GitHub",
      "type": "n8n-nodes-base.github",
      "position": [
        3140,
        780
      ]
    },
    {
      "id": "509887cc-d4bd-4ee0-8330-1f2dcc4a52e0",
      "name": "HTTP Request1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        1860
      ]
    },
    {
      "id": "c25e3103-2f8b-4964-8cb6-ce83662ceb37",
      "name": "get_image",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1580,
        1000
      ]
    },
    {
      "id": "986e7d56-5deb-4ddc-80fd-91b5fd4236af",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        2420,
        1860
      ]
    },
    {
      "id": "5a1ced1b-aba8-45ed-a370-944f1b6a4e0e",
      "name": "Vercel Deploy",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3360,
        780
      ]
    },
    {
      "id": "9ba93ff2-073b-4535-80b5-b7365779e41f",
      "name": "return URL",
      "type": "n8n-nodes-base.code",
      "position": [
        3840,
        780
      ]
    },
    {
      "id": "ca9f90b3-c818-4b7a-9d31-ce3ab7028ff6",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        3580,
        780
      ]
    },
    {
      "id": "fb981281-ad51-4263-bb43-7f00376fd534",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2240,
        1000
      ]
    },
    {
      "id": "8a50fb84-6483-4324-909a-1bd003f60ec2",
      "name": "Code Reviewer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2280,
        780
      ]
    },
    {
      "id": "2707a5de-a1c2-4e8d-8102-d38c6b38e2b9",
      "name": "Parse Output1",
      "type": "n8n-nodes-base.code",
      "position": [
        2700,
        780
      ]
    },
    {
      "id": "66c9d7de-7058-45dc-9af1-501e56bd1f68",
      "name": "Vercel Check",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3360,
        1000
      ]
    },
    {
      "id": "18522031-4d86-4b21-b0a7-52a4f1a214d8",
      "name": "Vercel Logs",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3840,
        1000
      ]
    },
    {
      "id": "6590430e-aa50-4267-b65a-2fd8859ea687",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        3400,
        1240
      ]
    },
    {
      "id": "9d9c2759-d162-4e5a-a828-e6f9a3111573",
      "name": "Code2",
      "type": "n8n-nodes-base.code",
      "position": [
        2420,
        2040
      ]
    },
    {
      "id": "7b899d93-4e06-41db-9d61-b233872a86c5",
      "name": "Error Logs",
      "type": "n8n-nodes-base.code",
      "position": [
        4060,
        1000
      ]
    },
    {
      "id": "c4f8c1ef-ac31-493a-aadf-78bf762c078f",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3620,
        1460
      ]
    },
    {
      "id": "57ff7b19-8239-4b64-93f3-64bdff468aef",
      "name": "Vercel Fixer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3580,
        1240
      ]
    },
    {
      "id": "e992fd91-2b27-4344-b22e-b5857433a486",
      "name": "GitHub Commit Fix",
      "type": "n8n-nodes-base.github",
      "position": [
        4160,
        1240
      ]
    },
    {
      "id": "b8f2d1fa-ef2b-4ad5-b097-b260a3109713",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        4380,
        1480
      ]
    },
    {
      "id": "458ec8ee-a8be-499b-8d63-aa758b3ca31d",
      "name": "Fetch Latest Deployment",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4540,
        1900
      ]
    },
    {
      "id": "063fe4d4-2bb0-4aa9-af56-69badac2a984",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        4760,
        1900
      ]
    },
    {
      "id": "d5e980c7-1898-4fa0-82e1-0dc08fe96c18",
      "name": "Parse Code-Fix",
      "type": "n8n-nodes-base.code",
      "position": [
        3940,
        1240
      ]
    },
    {
      "id": "53701dee-5560-418f-8761-10565fcebeff",
      "name": "Loop-Code",
      "type": "n8n-nodes-base.code",
      "position": [
        3140,
        1240
      ]
    },
    {
      "id": "6afc4c8d-cd6e-4f2e-aac3-b4c3cebebd82",
      "name": "If READY",
      "type": "n8n-nodes-base.if",
      "position": [
        3580,
        1000
      ]
    },
    {
      "id": "c28b663e-5407-45db-bd25-5dd028c4e9d3",
      "name": "Vercel Deploy1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4600,
        1240
      ]
    },
    {
      "id": "960f6518-fc99-4ac7-9d8d-a211bae6a45b",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        4380,
        1240
      ]
    },
    {
      "id": "7b33b9af-a8f6-4c35-819c-1b27e7041c6e",
      "name": "Respond to Webhook1",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        4060,
        780
      ]
    },
    {
      "id": "cb025143-1948-4a61-a0b4-f4b8301280cf",
      "name": "Generate Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        560
      ]
    },
    {
      "id": "e6288e78-10d9-40bf-b0be-2606fa775614",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1680,
        480
      ]
    },
    {
      "id": "dcb17434-2cfb-472d-bac0-4eaab80a57e2",
      "name": "GH Upload File",
      "type": "n8n-nodes-base.github",
      "position": [
        2120,
        460
      ]
    },
    {
      "id": "dafdb0cb-7773-4e12-9e2c-f296f0e79774",
      "name": "If 200",
      "type": "n8n-nodes-base.if",
      "position": [
        1840,
        480
      ]
    },
    {
      "id": "1400c850-6327-4ab4-a154-a6e0f0927475",
      "name": "If ",
      "type": "n8n-nodes-base.if",
      "position": [
        1500,
        560
      ]
    },
    {
      "id": "353094c8-5f35-48e2-be17-72734bba76c6",
      "name": "Code3",
      "type": "n8n-nodes-base.code",
      "position": [
        340,
        540
      ]
    },
    {
      "id": "a28fdd70-aaf3-4059-9e42-a793f27634cd",
      "name": "Images to generate",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        560
      ]
    },
    {
      "id": "e80eb593-c08a-4695-9498-ecfaf11b9945",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4460,
        440
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b966ff9c-7b15-40ca-9814-98cec5c42ad1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If ": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Vercel Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Vercel Fixer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Vercel Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Vercel Deploy1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GitHub": {
      "main": [
        [
          {
            "node": "Vercel Deploy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If 200": {
      "main": [
        [
          {
            "node": "GH Upload File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If READY": {
      "main": [
        [
          {
            "node": "return URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Vercel Logs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_file": {
      "ai_tool": [
        [
          {
            "node": "TDD Code Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Loop-Code": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Variables": {
      "main": [
        [
          {
            "node": "TDD Code Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_image": {
      "ai_tool": [
        [
          {
            "node": "TDD Code Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Chat Agent": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Logs": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "create_mvp": {
      "ai_tool": [
        [
          {
            "node": "Chat Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "return URL": {
      "main": [
        [
          {
            "node": "Respond to Webhook1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "test input": {
      "main": [
        [
          {
            "node": "test pos-creaetion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Input": {
      "main": [
        [
          {
            "node": "Generate From MVP Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vercel Logs": {
      "main": [
        [
          {
            "node": "Error Logs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "If 200",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Output": {
      "main": [
        [
          {
            "node": "Code Reviewer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vercel Check": {
      "main": [
        [
          {
            "node": "If READY",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vercel Fixer": {
      "main": [
        [
          {
            "node": "Parse Code-Fix",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code Reviewer": {
      "main": [
        [
          {
            "node": "Parse Output1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Output1": {
      "main": [
        [
          {
            "node": "GitHub",
            "type": "main",
            "index": 0
          },
          {
            "node": "Loop-Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vercel Deploy": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image": {
      "main": [
        [
          {
            "node": "If ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Code-Fix": {
      "main": [
        [
          {
            "node": "GitHub Commit Fix",
            "type": "main",
            "index": 0
          },
          {
            "node": "Loop-Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TDD Code Maker": {
      "main": [
        [
          {
            "node": "Parse Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vercel Deploy1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GitHub Commit Fix": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Chat Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Images to generate": {
      "main": [
        [
          {
            "node": "Generate Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "TDD Code Maker",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Code Reviewer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Vercel Fixer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "create_mvp trigger": {
      "main": [
        [
          {
            "node": "Parse Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "Chat Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Code": {
      "ai_outputParser": [
        [
          {
            "node": "TDD Code Maker",
            "type": "ai_outputParser",
            "index": 0
          },
          {
            "node": "Code Reviewer",
            "type": "ai_outputParser",
            "index": 0
          },
          {
            "node": "Vercel Fixer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Latest Deployment": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate From MVP Template": {
      "main": [
        [
          {
            "node": "Variables",
            "type": "main",
            "index": 0
          },
          {
            "node": "Images to generate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Chat Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Code3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}