{
  "name": "Create Dynamic Seating & Venue Layout Plans with Google Sheets",
  "nodes": [
    {
      "id": "6ebed595-6ce0-4738-9350-639fe6eaa8dc",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1584,
        336
      ]
    },
    {
      "id": "f9099584-6f17-4392-ba9f-4819eefc857c",
      "name": "Sticky Note - Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        -112
      ],
      "parameters": {
        "width": 208,
        "height": 696,
        "content": "## Trigger Seating Request\n\nReceives venue requirements and attendee data via webhook.\n\nExpected payload:\n{\n  \"eventType\": \"Conference/Wedding/Banquet\",\n  \"venueCapacity\": 500,\n  \"attendeeCount\": 350,"
      }
    },
    {
      "id": "c7e2cfc4-5c30-4a37-9481-b08a7c338759",
      "name": "Validate Request Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -1360,
        336
      ]
    },
    {
      "id": "493e8a46-496a-4169-a6bf-6527169feba3",
      "name": "Fetch Attendee Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1136,
        192
      ]
    },
    {
      "id": "b93eb9e9-f6fa-451c-aec8-c510b30fc57f",
      "name": "Sticky Note - Fetch Data",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        -112
      ],
      "parameters": {
        "width": 176,
        "height": 688,
        "content": "## Fetch Attendee Data\n\nRetrieve attendee information including names, groups, accessibility needs, and VIP status from Google Sheets."
      }
    },
    {
      "id": "afa08e18-f492-4d0a-a818-91c914180cf3",
      "name": "Fetch Venue Templates",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1136,
        480
      ]
    },
    {
      "id": "3134f27d-2601-4599-a4d7-4627c06833a3",
      "name": "Combine All Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -912,
        336
      ]
    },
    {
      "id": "fcc3ef45-7cea-4b8f-976d-34a945785bdb",
      "name": "Sticky Note - Calculate",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1168,
        -192
      ],
      "parameters": {
        "width": 192,
        "height": 864,
        "content": "## Calculate Totals\n\nAggregate attendee data, venue constraints, and layout requirements for optimal planning."
      }
    },
    {
      "id": "55f73cc6-3003-4ff9-b202-e333b86afdcb",
      "name": "Optimize Seating Layout",
      "type": "n8n-nodes-base.code",
      "position": [
        -688,
        336
      ]
    },
    {
      "id": "241cbdaf-4e19-4243-8bff-000f8543ed52",
      "name": "Sticky Note - Optimize",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        -112
      ],
      "parameters": {
        "width": 352,
        "height": 752,
        "content": "## AI Optimization\n\nUse algorithms to calculate optimal seating based on:\n- Venue dimensions\n- Attendee groups\n- Accessibility needs\n- VIP placement\n- Aisle placement"
      }
    },
    {
      "id": "cd660d9f-7d3c-4593-8ae9-d854f6cbc514",
      "name": "Format Recommendations",
      "type": "n8n-nodes-base.code",
      "position": [
        -464,
        336
      ]
    },
    {
      "id": "2e43af7a-7d3c-4077-b15d-b86a0b83a962",
      "name": "Sticky Note - Format",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        32
      ],
      "parameters": {
        "width": null,
        "height": 528,
        "content": "## Format Recommendations\n\nStructure seating plan with:\n- Visual layout map\n- Seat assignments\n- Statistics & metrics\n- Optimization tips"
      }
    },
    {
      "id": "3b5e5ec2-317b-4977-bdbf-0b3536e20b3e",
      "name": "Save Master Plan",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -224,
        96
      ]
    },
    {
      "id": "acfda3e7-b8ab-4d29-aba4-a616f3fb2cdb",
      "name": "Save Individual Assignments",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -16,
        528
      ]
    },
    {
      "id": "6cdcdd87-3938-46f7-856e-47da5213884d",
      "name": "Sticky Note - Save",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -256,
        288
      ],
      "parameters": {
        "width": 368,
        "height": 436,
        "content": "## Update Sheets\n\nSave seating plan to Google Sheets:\n- Master plan summary\n- Individual seat assignments\n- Layout specifications"
      }
    },
    {
      "id": "9f0f8821-d72a-440b-958d-2cf4ee20f553",
      "name": "Send Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -224,
        -80
      ]
    },
    {
      "id": "126e21b6-1913-452d-bd8e-c65c4109aab5",
      "name": "Sticky Note - Response",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -304
      ],
      "parameters": {
        "width": 272,
        "height": 576,
        "content": "## Send Alert\n\nReturn complete seating plan with:\n- Visual layout map\n- Seat assignments list\n- Statistics & recommendations\n- Export-ready format"
      }
    },
    {
      "id": "7ae9a9d9-a170-4a1f-aca5-37d393ba9938",
      "name": "Split Seat Assignments",
      "type": "n8n-nodes-base.code",
      "position": [
        -240,
        528
      ]
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Validate Request Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine All Data": {
      "main": [
        [
          {
            "node": "Optimize Seating Layout",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Attendee Data": {
      "main": [
        [
          {
            "node": "Combine All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Venue Templates": {
      "main": [
        [
          {
            "node": "Combine All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Request Data": {
      "main": [
        [
          {
            "node": "Fetch Attendee Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Venue Templates",
            "type": "main",
            "index": 0
          },
          {
            "node": "Combine All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Recommendations": {
      "main": [
        [
          {
            "node": "Send Response",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save Master Plan",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split Seat Assignments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Seat Assignments": {
      "main": [
        [
          {
            "node": "Save Individual Assignments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Optimize Seating Layout": {
      "main": [
        [
          {
            "node": "Format Recommendations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}