{
  "name": "Ai-optimized travel itinerary generator with Skyscanner, Booking.com and Gmail",
  "nodes": [
    {
      "id": "f3a23f51-4039-4a08-bad5-d9e1f475e8af",
      "name": "Webhook - Travel Request",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2832,
        -256
      ]
    },
    {
      "id": "65e7017e-5242-4875-bf24-661fc68eb771",
      "name": "Extract Request Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2992,
        -256
      ]
    },
    {
      "id": "51891077-df8a-45db-b575-0585f52aa1db",
      "name": "Search Flights - Skyscanner",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        -640
      ]
    },
    {
      "id": "953e3d0b-528d-41ba-b7ba-4fc7363c703f",
      "name": "Search Hotels - Booking.com",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        -448
      ]
    },
    {
      "id": "133388c8-6fe6-42cb-94b7-f76bf0cb4b2e",
      "name": "Send Email via Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        4480,
        64
      ]
    },
    {
      "id": "5fcf6271-c0fd-430b-858e-4a462e98b648",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        4784,
        64
      ]
    },
    {
      "id": "2aedf5b8-536b-44bc-9b6d-3b80daa2c6c0",
      "name": "AI Agent - Itinerary Optimizer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3808,
        -496
      ]
    },
    {
      "id": "759f481f-598a-4bff-a3d1-3cb3310ecb88",
      "name": "Search Alternative Flights - Kiwi",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        -256
      ]
    },
    {
      "id": "63c46681-a628-4bd8-aab0-a226ab57e703",
      "name": "Get Weather Forecast",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        -64
      ]
    },
    {
      "id": "15404c5f-d821-4455-abf6-a08db26baee3",
      "name": "Search Local Activities - Viator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        128
      ]
    },
    {
      "id": "27b5a21e-02a6-43e2-b1b9-a7bd5074dd29",
      "name": "Merge All Data Sources",
      "type": "n8n-nodes-base.code",
      "position": [
        3440,
        -256
      ]
    },
    {
      "id": "d460fa9d-9991-4f29-befc-caff18a9cf38",
      "name": "Enhanced Itinerary Builder",
      "type": "n8n-nodes-base.code",
      "position": [
        3616,
        -256
      ]
    },
    {
      "id": "33047f44-9726-4f2f-a029-c7e71c8aceb8",
      "name": "AI Score & Recommendations",
      "type": "n8n-nodes-base.code",
      "position": [
        4128,
        64
      ]
    },
    {
      "id": "015b10c8-ad0a-4f34-8855-e1366cde7658",
      "name": "Generate Premium HTML Email",
      "type": "n8n-nodes-base.code",
      "position": [
        4288,
        64
      ]
    },
    {
      "id": "0551345f-ca44-4adc-8f49-5ddf522f8a74",
      "name": "Send Slack Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        4656,
        256
      ]
    },
    {
      "id": "82bb48ce-ad62-43cc-bb7e-69cf5f55e4c0",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        3792,
        -320
      ]
    },
    {
      "id": "e66d7eb9-383f-4ec3-9e76-c33dcfabffdf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2288,
        -608
      ],
      "parameters": {
        "width": 512,
        "height": 768,
        "content": "## Introduction\nAutomates travel planning by aggregating flights, hotels, activities, and weather via APIs, then uses AI to generate professional itineraries delivered through Gmail and Slack.\n\n## How"
      }
    },
    {
      "id": "70771bd2-ff0c-46a1-86ae-08d5698b5c56",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4144,
        -544
      ],
      "parameters": {
        "width": 352,
        "height": 576,
        "content": "## Prerequisites\n- API keys: Skyscanner, Booking.com, Kiwi, Viator, OpenWeatherMap, OpenRouter\n- Gmail account\n- Slack workspace\n- n8n instance\n## Use Cases\n- Corporate travel planning\n- Vacation itin"
      }
    }
  ],
  "connections": {
    "Generate HTML Email": {
      "main": [
        [
          {
            "node": "Send Email via Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Request Data": {
      "main": [
        [
          {
            "node": "Search Flights - Skyscanner",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Hotels - Booking.com",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Alternative Flights - Kiwi",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Weather Forecast",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Local Activities - Viator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Weather Forecast": {
      "main": [
        [
          {
            "node": "Merge All Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email via Gmail": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Slack Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - Itinerary Optimizer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Data Sources": {
      "main": [
        [
          {
            "node": "Enhanced Itinerary Builder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Slack Notification": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - Travel Request": {
      "main": [
        [
          {
            "node": "Extract Request Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Score & Recommendations": {
      "main": [
        [
          {
            "node": "Generate Premium HTML Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine & Rank Itineraries": {
      "main": [
        [
          {
            "node": "Generate HTML Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enhanced Itinerary Builder": {
      "main": [
        [
          {
            "node": "AI Agent - Itinerary Optimizer",
            "type": "main",
            "index": 0
          },
          {
            "node": "AI Score & Recommendations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Premium HTML Email": {
      "main": [
        [
          {
            "node": "Send Email via Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Flights - Skyscanner": {
      "main": [
        [
          {
            "node": "Combine & Rank Itineraries",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge All Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Hotels - Booking.com": {
      "main": [
        [
          {
            "node": "Combine & Rank Itineraries",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge All Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - Itinerary Optimizer": {
      "main": [
        [
          {
            "node": "AI Score & Recommendations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Local Activities - Viator": {
      "main": [
        [
          {
            "node": "Merge All Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Alternative Flights - Kiwi": {
      "main": [
        [
          {
            "node": "Merge All Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}