{
  "name": "Create AI travel journal stories from WhatsApp using Claude and Google Drive",
  "nodes": [
    {
      "id": "a9b2ea33-0b60-4c8e-b2b7-7aad386187bf",
      "name": "Main Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -384
      ],
      "parameters": {
        "width": 820,
        "height": 1704,
        "content": "## AI Travel Memory Journal Generator\n\nAutomatically converts your daily WhatsApp messages and photos from travels into beautifully structured travel stories, saved as documents in Google Drive.\n\n### "
      }
    },
    {
      "id": "141c7e92-e8ac-46f5-b259-bc14afb4aa03",
      "name": "Section 1 - Input Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        152
      ],
      "parameters": {
        "width": 480,
        "height": 360,
        "content": "## 1. WhatsApp Input & Validation"
      }
    },
    {
      "id": "79206477-ca0f-4117-9459-68738620585b",
      "name": "Section 2 - Context Building",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1544,
        -20
      ],
      "parameters": {
        "width": 880,
        "height": 740,
        "content": "## 2. Journal Context & AI Processing"
      }
    },
    {
      "id": "1c179b32-2d4f-408c-8bef-1c1e9c29b838",
      "name": "Section 3 - Storage & Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2486,
        -76
      ],
      "parameters": {
        "width": 1140,
        "height": 796,
        "content": "## 3. Format, Save & Notify"
      }
    },
    {
      "id": "3d9a733f-dbf2-49d3-a367-bb38d1f7e443",
      "name": "Receive WhatsApp Messages",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1088,
        352
      ]
    },
    {
      "id": "5f5f9590-776a-42e5-8214-b3a9c1cb4990",
      "name": "JS #1: Validate & Aggregate Messages",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        352
      ]
    },
    {
      "id": "5fce61fc-9b04-4c9d-b83f-18d81f861f6e",
      "name": "Fetch Previous Journal Entries",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1568,
        352
      ]
    },
    {
      "id": "3fbf7371-d632-47e0-b116-17c4b257fb18",
      "name": "JS #2: Prepare AI Context",
      "type": "n8n-nodes-base.code",
      "position": [
        1760,
        352
      ]
    },
    {
      "id": "4c81e688-874c-4d19-abcb-c8a479c0e6ab",
      "name": "Claude AI Story Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1984,
        352
      ]
    },
    {
      "id": "1a9add1e-cb82-4b05-a795-104c5757c458",
      "name": "Claude Sonnet 4 Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2056,
        576
      ]
    },
    {
      "id": "211af710-b124-4441-90a1-f962bf4b925a",
      "name": "Parse AI Story Response",
      "type": "n8n-nodes-base.code",
      "position": [
        2288,
        352
      ]
    },
    {
      "id": "e7eac15d-657f-4b97-bb41-c74578ab0d72",
      "name": "JS #3: Format Document",
      "type": "n8n-nodes-base.code",
      "position": [
        2560,
        352
      ]
    },
    {
      "id": "0723988f-508f-41fa-a632-c97a6bcc66d7",
      "name": "Wait for Processing",
      "type": "n8n-nodes-base.wait",
      "position": [
        2784,
        352
      ]
    },
    {
      "id": "2974d479-377b-4402-9512-a80cb8762b4f",
      "name": "Create/Update Google Doc",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3008,
        160
      ]
    },
    {
      "id": "5cdce004-9f6c-42b7-a99f-fd43f6651b17",
      "name": "Send WhatsApp Confirmation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3008,
        352
      ]
    },
    {
      "id": "9eeb0e6c-4d15-444e-86c9-80cba3975ea1",
      "name": "Send Email with Journal Link",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        3008,
        544
      ]
    },
    {
      "id": "5ae1b9f1-fac1-4e0d-8f89-299c0fe8a95d",
      "name": "Build Success Response",
      "type": "n8n-nodes-base.code",
      "position": [
        3232,
        352
      ]
    },
    {
      "id": "01ea1025-7af2-42a1-87b9-54171740e327",
      "name": "Send Response to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3456,
        352
      ]
    }
  ],
  "connections": {
    "Wait for Processing": {
      "main": [
        [
          {
            "node": "Create/Update Google Doc",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send WhatsApp Confirmation",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email with Journal Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude Sonnet 4 Model": {
      "ai_languageModel": [
        [
          {
            "node": "Claude AI Story Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Build Success Response": {
      "main": [
        [
          {
            "node": "Send Response to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JS #3: Format Document": {
      "main": [
        [
          {
            "node": "Wait for Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Story Response": {
      "main": [
        [
          {
            "node": "JS #3: Format Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create/Update Google Doc": {
      "main": [
        [
          {
            "node": "Build Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude AI Story Generator": {
      "main": [
        [
          {
            "node": "Parse AI Story Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JS #2: Prepare AI Context": {
      "main": [
        [
          {
            "node": "Claude AI Story Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive WhatsApp Messages": {
      "main": [
        [
          {
            "node": "JS #1: Validate & Aggregate Messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send WhatsApp Confirmation": {
      "main": [
        [
          {
            "node": "Build Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email with Journal Link": {
      "main": [
        [
          {
            "node": "Build Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Previous Journal Entries": {
      "main": [
        [
          {
            "node": "JS #2: Prepare AI Context",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JS #1: Validate & Aggregate Messages": {
      "main": [
        [
          {
            "node": "Fetch Previous Journal Entries",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}