{
  "name": "Generate personalized trip recommendations with Claude AI and Google Sheets",
  "nodes": [
    {
      "id": "eed08155-6530-4c87-ae0a-3d60b0266b71",
      "name": "Main Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -304
      ],
      "parameters": {
        "width": 1072,
        "height": 1554,
        "content": "## Smart Next Trip Suggestion Engine with Claude AI\n\nThis workflow provides personalized travel destination recommendations by analyzing past trip history, user preferences, travel behavior patterns, "
      }
    },
    {
      "id": "3682a8c4-1ca1-4508-b853-9cebd0ef35f3",
      "name": "Section 1 Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        192
      ],
      "parameters": {
        "width": 460,
        "height": 320,
        "content": "## 1. Request Intake & Validation"
      }
    },
    {
      "id": "97ff4a42-d17f-4565-9635-5b02c171c9b9",
      "name": "Section 2 Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1504,
        48
      ],
      "parameters": {
        "width": 840,
        "height": 720,
        "content": "## 2. History Analysis & AI Recommendation"
      }
    },
    {
      "id": "41ac0d32-1b96-4837-82b1-d799fe36899c",
      "name": "Section 3 Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2384,
        32
      ],
      "parameters": {
        "width": 1456,
        "height": 760,
        "content": "## 3. Enrichment, Storage & Delivery"
      }
    },
    {
      "id": "ac59cdbd-824a-49e3-8ccc-f497ff18006b",
      "name": "Section 4 Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        880
      ],
      "parameters": {
        "width": 1400,
        "height": 380,
        "content": "## 4. Daily Batch Recommendations & Trend Analysis"
      }
    },
    {
      "id": "750c4f35-49c5-4b44-b070-fcb53c822479",
      "name": "Receive Trip Suggestion Request",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1088,
        352
      ]
    },
    {
      "id": "c99f072c-a38e-4d44-8bc8-6d9757619087",
      "name": "Validate and Normalize Request",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        352
      ]
    },
    {
      "id": "4fde7100-c6a6-4363-8225-f0323a0dfdab",
      "name": "Fetch User Travel History",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1616,
        160
      ]
    },
    {
      "id": "26325cc6-90af-43de-b8b9-7ec1c6b182f8",
      "name": "Fetch User Profile Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1616,
        352
      ]
    },
    {
      "id": "e0628839-f748-4109-a9a1-e70474ed0f01",
      "name": "Analyze Travel Patterns",
      "type": "n8n-nodes-base.code",
      "position": [
        1840,
        272
      ]
    },
    {
      "id": "12513851-331b-4f9c-82db-f8a00c44eeb6",
      "name": "Claude AI Trip Recommendation Engine",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2064,
        272
      ]
    },
    {
      "id": "b5ad0e2a-b8d4-4644-96d8-06acfdef79bf",
      "name": "Claude Sonnet 4 Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2144,
        496
      ]
    },
    {
      "id": "564bf347-a2f9-4660-8a7c-9fae4845f828",
      "name": "Parse AI Recommendations",
      "type": "n8n-nodes-base.code",
      "position": [
        2416,
        272
      ]
    },
    {
      "id": "ff6a17ec-58e3-469e-b979-e4114b87de07",
      "name": "Wait for Data Enrichment",
      "type": "n8n-nodes-base.wait",
      "position": [
        2640,
        272
      ]
    },
    {
      "id": "1b2ebd2d-6526-4f40-8199-a215b2d44a9b",
      "name": "Enrich with Weather Data (Optional)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2864,
        144
      ]
    },
    {
      "id": "727fc43c-ecf9-405a-971c-78db8998e5c0",
      "name": "Store Recommendation Record",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2864,
        352
      ]
    },
    {
      "id": "de1783cc-b9de-45f1-99d1-188f0cb4278c",
      "name": "Send Personalized Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2864,
        560
      ]
    },
    {
      "id": "359dcc6c-911b-4b38-84fa-3c77565193c1",
      "name": "Build API Response",
      "type": "n8n-nodes-base.code",
      "position": [
        3088,
        400
      ]
    },
    {
      "id": "960e0cae-528b-4f8c-9243-3ec86ce761f7",
      "name": "Wait Before Response",
      "type": "n8n-nodes-base.wait",
      "position": [
        3312,
        400
      ]
    },
    {
      "id": "b25b1fc2-024b-462d-82f0-ad8d37c6074d",
      "name": "Send Trip Recommendations Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3536,
        400
      ]
    },
    {
      "id": "d9950974-bd7a-4050-9dca-ffc2fa946e3a",
      "name": "Daily Batch Recommendation Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1136,
        1040
      ]
    },
    {
      "id": "45c7cf39-7c7b-4ce9-9898-20398168361f",
      "name": "Fetch All Active Users",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        1040
      ]
    },
    {
      "id": "4c53076f-53bf-4bc7-89c3-db5909f0a2fa",
      "name": "Analyze Emerging Travel Trends",
      "type": "n8n-nodes-base.code",
      "position": [
        1632,
        1040
      ]
    },
    {
      "id": "15375291-be71-4c43-b24e-1cefad3b7db5",
      "name": "Send Weekly Trend Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1888,
        1040
      ]
    },
    {
      "id": "a82bd246-24a8-46aa-8e30-b2b431ea25bf",
      "name": "Log Analytics to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2192,
        1040
      ]
    }
  ],
  "connections": {
    "Build API Response": {
      "main": [
        [
          {
            "node": "Wait Before Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Response": {
      "main": [
        [
          {
            "node": "Send Trip Recommendations Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude Sonnet 4 Model": {
      "ai_languageModel": [
        [
          {
            "node": "Claude AI Trip Recommendation Engine",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch All Active Users": {
      "main": [
        [
          {
            "node": "Analyze Emerging Travel Trends",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Travel Patterns": {
      "main": [
        [
          {
            "node": "Claude AI Trip Recommendation Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch User Profile Data": {
      "main": [
        [
          {
            "node": "Analyze Travel Patterns",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Personalized Email": {
      "main": [
        [
          {
            "node": "Build API Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Recommendations": {
      "main": [
        [
          {
            "node": "Wait for Data Enrichment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Weekly Trend Report": {
      "main": [
        [
          {
            "node": "Log Analytics to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Data Enrichment": {
      "main": [
        [
          {
            "node": "Enrich with Weather Data (Optional)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Store Recommendation Record",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch User Travel History": {
      "main": [
        [
          {
            "node": "Analyze Travel Patterns",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Recommendation Record": {
      "main": [
        [
          {
            "node": "Build API Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Emerging Travel Trends": {
      "main": [
        [
          {
            "node": "Send Weekly Trend Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate and Normalize Request": {
      "main": [
        [
          {
            "node": "Fetch User Travel History",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch User Profile Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Trip Suggestion Request": {
      "main": [
        [
          {
            "node": "Validate and Normalize Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Batch Recommendation Trigger": {
      "main": [
        [
          {
            "node": "Fetch All Active Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich with Weather Data (Optional)": {
      "main": [
        [
          {
            "node": "Build API Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude AI Trip Recommendation Engine": {
      "main": [
        [
          {
            "node": "Parse AI Recommendations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}