{
  "name": "Generate SEO-optimized PWA website with Google Gemini and deploy to S3",
  "nodes": [
    {
      "id": "cbd057a8-9404-4a25-833f-03cfc0afebf6",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        992
      ],
      "parameters": {
        "width": 540,
        "height": 832,
        "content": "## AI Multi-Language PWA Website Generator with SEO Optimization\n\n## How it works\n1. User fills out a detailed form with website requirements, target languages, and SEO keywords\n2. Form data is proces"
      }
    },
    {
      "id": "64026efa-a624-4ceb-98d6-51a94bc6929e",
      "name": "Step 1 - Trigger & Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        992
      ],
      "parameters": {
        "width": 500,
        "height": 380,
        "content": "## Trigger & Configuration\nCollects detailed website requirements including target languages, SEO keywords, design preferences, PWA options, and analytics IDs. Processes and structures all form data f"
      }
    },
    {
      "id": "a15d2841-3f0e-41e1-a1ae-a4bfd330583d",
      "name": "Step 2 - AI Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1984,
        992
      ],
      "parameters": {
        "width": 628,
        "height": 560,
        "content": "## AI SEO & Content Generation\nTwo-stage AI pipeline: first generates comprehensive SEO metadata (meta tags, Open Graph, Schema.org structured data), then creates a complete multi-language PWA website"
      }
    },
    {
      "id": "ca18882c-0a9c-4cf1-9be0-8a1910f918de",
      "name": "Step 3 - PWA & Files",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2624,
        992
      ],
      "parameters": {
        "width": 500,
        "height": 560,
        "content": "## PWA Processing & File Assembly\nGenerates PWA components (Service Worker, Web App Manifest), SEO files (sitemap.xml, robots.txt), processes the AI-generated HTML, injects PWA registration code, and "
      }
    },
    {
      "id": "5f54d7ae-c5c4-43ad-8058-74d440c38614",
      "name": "Step 4 - Deploy & Notify",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3152,
        992
      ],
      "parameters": {
        "width": 720,
        "height": 560,
        "content": "## Deploy & Notify\nSplits the file bundle into individual items, converts each to binary, uploads all files to S3 (HTML, Service Worker, Manifest, sitemap, robots.txt), builds a success response with "
      }
    },
    {
      "id": "1817afe6-763d-4be4-bf42-0f147e621277",
      "name": "Website Request Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        1520,
        1152
      ]
    },
    {
      "id": "5f54999e-4773-4dd2-9839-90f323ece455",
      "name": "Process Form Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1728,
        1152
      ]
    },
    {
      "id": "8d50a807-8248-490d-9404-e4a831f89b1f",
      "name": "Generate SEO Metadata",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2080,
        1152
      ]
    },
    {
      "id": "00a4cfd6-abab-4d79-b01d-270e119e243d",
      "name": "Generate Website HTML",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2368,
        1152
      ]
    },
    {
      "id": "adf2c894-d8e3-4541-a84b-7ad6ad97efa9",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2080,
        1392
      ]
    },
    {
      "id": "1cd9b6e0-d2bf-4489-8b32-7dda8db7faf2",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2368,
        1392
      ]
    },
    {
      "id": "3516d89a-3c13-433a-a183-1158272aa2b8",
      "name": "Generate PWA Components",
      "type": "n8n-nodes-base.code",
      "position": [
        2672,
        1152
      ]
    },
    {
      "id": "50f5309e-f90f-4975-983a-54b7bff6054e",
      "name": "Assemble All Files",
      "type": "n8n-nodes-base.code",
      "position": [
        2880,
        1152
      ]
    },
    {
      "id": "f791f6f2-6663-4ba5-99ed-4b18f1970638",
      "name": "Convert to Binary",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        3184,
        1152
      ]
    },
    {
      "id": "1e0cfc90-3ccd-4177-a885-c01cd8e908d3",
      "name": "Upload to S3",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        3408,
        1152
      ]
    },
    {
      "id": "a3edd0f4-9074-4e1d-9fb9-859d781b3e81",
      "name": "Build Response",
      "type": "n8n-nodes-base.code",
      "position": [
        3632,
        1152
      ]
    },
    {
      "id": "c55a14ec-00ec-4605-b7aa-ffbeab9f0581",
      "name": "Send Confirmation Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3632,
        1376
      ]
    }
  ],
  "connections": {
    "Upload to S3": {
      "main": [
        [
          {
            "node": "Build Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Response": {
      "main": [
        [
          {
            "node": "Send Confirmation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Binary": {
      "main": [
        [
          {
            "node": "Upload to S3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Form Data": {
      "main": [
        [
          {
            "node": "Generate SEO Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Assemble All Files": {
      "main": [
        [
          {
            "node": "Convert to Binary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Website Request Form": {
      "main": [
        [
          {
            "node": "Process Form Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate SEO Metadata": {
      "main": [
        [
          {
            "node": "Generate Website HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Website HTML": {
      "main": [
        [
          {
            "node": "Generate PWA Components",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate PWA Components": {
      "main": [
        [
          {
            "node": "Assemble All Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate SEO Metadata",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Website HTML",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}