{
  "name": "Smart travel package finder: Search flights & hotels with Skyscanner-Booking.com",
  "nodes": [
    {
      "id": "e1964e90-e7d0-480d-8eed-36dd27d9d648",
      "name": "📥 Travel Request Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -640,
        -384
      ]
    },
    {
      "id": "d8b0f0fc-3ab8-4f95-a9c8-6012ad56a9ab",
      "name": "📝 Parse & Validate Inputs",
      "type": "n8n-nodes-base.set",
      "position": [
        -480,
        -384
      ]
    },
    {
      "id": "89686042-6637-485a-ae2a-88eb5a2a7680",
      "name": "✈️ Search Flights (Skyscanner)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -304,
        -496
      ]
    },
    {
      "id": "f752c284-3bc5-430e-8193-da6876f52f66",
      "name": "🏨 Search Hotels (Booking.com)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -304,
        -288
      ]
    },
    {
      "id": "6f48d727-b21c-4b6f-b9b5-b8b4de4fee95",
      "name": "🔀 Merge Flight & Hotel Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        -96,
        -496
      ]
    },
    {
      "id": "5267fce7-f040-4a6c-8159-23351371c325",
      "name": "🧮 Generate Itinerary Combinations",
      "type": "n8n-nodes-base.code",
      "position": [
        80,
        -496
      ]
    },
    {
      "id": "80f6f70c-8df0-42db-ba0c-97def58e5a36",
      "name": "🎨 Format HTML Email",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        -496
      ]
    },
    {
      "id": "7ec3fb5b-a73e-4e99-9019-0b241a2fe736",
      "name": "✉️ Send via Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        448,
        -496
      ]
    },
    {
      "id": "ecdc9e1c-ae6d-4094-af8f-d9a9c4bc102c",
      "name": "📤 Webhook Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        608,
        -496
      ]
    },
    {
      "id": "b43f6af3-042e-4258-8006-04cb17fade14",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -496
      ],
      "parameters": {
        "width": 720,
        "height": 336,
        "content": "## Introduction\nAutomates travel itinerary creation by searching flights and hotels via APIs, then uses AI to generate personalized recommendations delivered as HTML emails through Gmail.\n\n## How It W"
      }
    },
    {
      "id": "b27a8a26-8e23-4b58-945c-01bf5d4e8fe9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -352
      ],
      "parameters": {
        "width": 752,
        "height": 528,
        "content": "## Setup Instructions\n1. API Configuration: Add Skyscanner and Booking.com API credentials in n8n.\n2. Gmail Setup: Configure OAuth2 authentication.\n3. Customization: Copy webhook URL, adjust validatio"
      }
    },
    {
      "id": "2d4004f8-8e1c-477c-8669-6facc12b7d85",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -128
      ],
      "parameters": {
        "width": 720,
        "height": 224,
        "content": "## Workflow Steps\n1. Trigger & Validate: Webhook receives request, extracts destination/dates/budget/preferences, validates data, converts to API parameters.\n2. Parallel Search: Skyscanner fetches fli"
      }
    }
  ],
  "connections": {
    "✉️ Send via Gmail": {
      "main": [
        [
          {
            "node": "📤 Webhook Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🎨 Format HTML Email": {
      "main": [
        [
          {
            "node": "✉️ Send via Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 Travel Request Webhook": {
      "main": [
        [
          {
            "node": "📝 Parse & Validate Inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📝 Parse & Validate Inputs": {
      "main": [
        [
          {
            "node": "✈️ Search Flights (Skyscanner)",
            "type": "main",
            "index": 0
          },
          {
            "node": "🏨 Search Hotels (Booking.com)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔀 Merge Flight & Hotel Data": {
      "main": [
        [
          {
            "node": "🧮 Generate Itinerary Combinations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🏨 Search Hotels (Booking.com)": {
      "main": [
        [
          {
            "node": "🔀 Merge Flight & Hotel Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "✈️ Search Flights (Skyscanner)": {
      "main": [
        [
          {
            "node": "🔀 Merge Flight & Hotel Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧮 Generate Itinerary Combinations": {
      "main": [
        [
          {
            "node": "🎨 Format HTML Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}