{
  "name": "Create a Business Model Canvas and infographic image with Gemini",
  "nodes": [
    {
      "id": "9848acd0-f2bc-4a25-a075-3bf0d15a5e26",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -640,
        -208
      ]
    },
    {
      "id": "6213250e-fb8a-4b19-840f-8f2b6567ebec",
      "name": "Form4",
      "type": "n8n-nodes-base.form",
      "position": [
        -128,
        -208
      ]
    },
    {
      "id": "f11be9cf-59d9-44be-aafd-be88a5a7cc09",
      "name": "Form3",
      "type": "n8n-nodes-base.form",
      "position": [
        -304,
        -208
      ]
    },
    {
      "id": "be62ad1e-0f2f-42d3-8bea-bfb60cae4be6",
      "name": "Form2",
      "type": "n8n-nodes-base.form",
      "position": [
        -464,
        -208
      ]
    },
    {
      "id": "1f2bf44c-68c0-4d55-a8c3-6190ef074863",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        -352
      ],
      "parameters": {
        "width": 672,
        "height": 400,
        "content": "## Step1 - Collect business idea details\n4-page form collecting business idea details\n\n"
      }
    },
    {
      "id": "344e972f-9317-4367-82f9-8d80ea1c2af6",
      "name": "AWS Bedrock Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAwsBedrock",
      "position": [
        240,
        -32
      ]
    },
    {
      "id": "7b4547c8-4b91-4c52-abbe-a7575cf17cc4",
      "name": "Generate an image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        880,
        -48
      ]
    },
    {
      "id": "5b69b60e-9f4d-4d64-8561-2fad996af8a1",
      "name": "If_is_error",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        -208
      ]
    },
    {
      "id": "5233c1b5-0f5f-4512-b603-497813c40e41",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -352
      ],
      "parameters": {
        "width": 672,
        "height": 464,
        "content": "## Step2 - Structure responses into Business Model Canvas\nFormats input and generates 9 canvas elements using AI.\n(Format → AI generation → Validate output format for error handling)\n\n\n\n"
      }
    },
    {
      "id": "c5d07994-9696-4789-9c97-82ef9f1ecba8",
      "name": "Format Interview Responses",
      "type": "n8n-nodes-base.code",
      "position": [
        64,
        -208
      ]
    },
    {
      "id": "d0eaf334-6238-4e0b-a368-bb10d871040c",
      "name": "AI Canvas Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -208
      ]
    },
    {
      "id": "be1a3b10-6239-4d7d-a014-44961c2b4c8a",
      "name": "Validate Canvas Output",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        -208
      ]
    },
    {
      "id": "b3d1aac3-93f4-4c77-be72-ceaefbdfc661",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -352
      ],
      "parameters": {
        "width": 560,
        "height": 464,
        "content": "## Step3 - Generate infographic with Gemini\nChecks validation result, then generates canvas image or displays error message\n"
      }
    },
    {
      "id": "29cc87bf-51a1-42e5-9f82-9c475acac715",
      "name": "Error End",
      "type": "n8n-nodes-base.form",
      "position": [
        1040,
        -224
      ]
    },
    {
      "id": "2fa37ef3-e0fe-4fce-87e6-32e6879e1c2d",
      "name": "Completed",
      "type": "n8n-nodes-base.form",
      "position": [
        1040,
        -48
      ]
    },
    {
      "id": "11539dc1-5189-4b2e-a05f-4f73a23e0b5d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -912
      ],
      "parameters": {
        "width": 768,
        "height": 512,
        "content": "# Main\n\n## How it works\nTransform your business idea into a professional Business Model Canvas infographic.\n\n1. User fills out a form with business idea details (value proposition, customers, channels"
      }
    }
  ],
  "connections": {
    "Form2": {
      "main": [
        [
          {
            "node": "Form3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form3": {
      "main": [
        [
          {
            "node": "Form4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form4": {
      "main": [
        [
          {
            "node": "Format Interview Responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Completed": {
      "main": [
        []
      ]
    },
    "If_is_error": {
      "main": [
        [
          {
            "node": "Error End",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate an image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate an image": {
      "main": [
        [
          {
            "node": "Completed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Form2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Canvas Generator": {
      "main": [
        [
          {
            "node": "Validate Canvas Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AWS Bedrock Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Canvas Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Validate Canvas Output": {
      "main": [
        [
          {
            "node": "If_is_error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Interview Responses": {
      "main": [
        [
          {
            "node": "AI Canvas Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}