{
  "name": "Automatic travel itinerary generation via email with Llama AI",
  "nodes": [
    {
      "id": "6f0a745d-aa01-4edd-ac2a-444de56e8c60",
      "name": "Ollama Model",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        -300,
        80
      ]
    },
    {
      "id": "261ba61b-5c01-4cd3-8033-41db9ad2b625",
      "name": "Trigger From Mail (IMAP)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        -500,
        -120
      ]
    },
    {
      "id": "750101d2-7fc0-44d7-a615-d98803669ff2",
      "name": "Basic LLM",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -300,
        -120
      ]
    },
    {
      "id": "e5e3a173-43dd-41e5-b373-97c457c70025",
      "name": "Email Field Setup",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        -120
      ]
    },
    {
      "id": "f42413ba-81fb-4995-ad56-21f469f7da82",
      "name": "Sending Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        320,
        -120
      ]
    },
    {
      "id": "9a3324e1-3fe5-4b13-924d-dcb05daf4c8d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -340
      ],
      "parameters": {
        "width": 420,
        "height": 220,
        "content": "#### Configure Mail Credentials for Trigger Mail Node\nUnder Credentials, choose or create new IMAP credentials.\nUse settings as per below\n\nIMAP Settings Example:\nHost     - imap.gmail.com\nPort     - 9"
      }
    },
    {
      "id": "0e562abb-7c3a-41e2-8a98-7d583dfa2c90",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -100
      ],
      "parameters": {
        "width": 420,
        "height": 220,
        "content": "#### Configure SMTP Settings for the Send Mail Node.\nYou need to enter SMTP details:\n\nUser     - your-email@gmail.com\nPassword - App password (for Gmail, use App Password)\nHost     - smtp.gmail.com\nPo"
      }
    }
  ],
  "connections": {
    "Basic LLM": {
      "main": [
        [
          {
            "node": "Email Field Setup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Email Field Setup": {
      "main": [
        [
          {
            "node": "Sending Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger From Mail (IMAP)": {
      "main": [
        [
          {
            "node": "Basic LLM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}