{
  "name": "Generate personalized travel itineraries with Llama AI via email & WhatsApp",
  "nodes": [
    {
      "id": "9b84fba6-d666-4b88-8e28-bcbd8bf633a0",
      "name": "Itinerary Creator Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -380,
        -200
      ]
    },
    {
      "id": "dfddad63-257b-413a-a05a-c51d66efe223",
      "name": "Agent",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        -292,
        20
      ]
    },
    {
      "id": "8cb4d855-bfcb-4390-890a-5655481a42b2",
      "name": "Get Query from Email",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        -600,
        -300
      ]
    },
    {
      "id": "2b5b9643-e462-4399-b6c4-cfdd4d380a14",
      "name": "Get Query from WhatsApp",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -600,
        -100
      ]
    },
    {
      "id": "66b2e41e-8eb4-47fc-a86c-12ac044743e9",
      "name": "Check Proper Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -4,
        -200
      ]
    },
    {
      "id": "a0360062-ca48-4d25-85da-de42b60891d0",
      "name": "Check where to send Answer",
      "type": "n8n-nodes-base.if",
      "position": [
        216,
        -200
      ]
    },
    {
      "id": "1469c633-143d-4b64-b20b-4cbbe4f41ed7",
      "name": "Sending Itinery from Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        436,
        -300
      ]
    },
    {
      "id": "d43a04ad-e7df-4af6-a2bd-65ed6c228669",
      "name": "Send  Itinery from message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        436,
        -100
      ]
    },
    {
      "id": "2b6ab492-16e5-4a5d-aaec-f335ce640b21",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        -520
      ],
      "parameters": {
        "width": 480,
        "height": 180,
        "content": "This workflow automatically creates friendly, personalized travel itineraries based on messages received via email or WhatsApp. Whether a user says \"I want to go to Dubai with friends for 5 days\" or s"
      }
    }
  ],
  "connections": {
    "Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Itinerary Creator Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check Proper Data": {
      "main": [
        [
          {
            "node": "Check where to send Answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Query from Email": {
      "main": [
        [
          {
            "node": "Itinerary Creator Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Query from WhatsApp": {
      "main": [
        [
          {
            "node": "Itinerary Creator Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Itinerary Creator Agent": {
      "main": [
        [
          {
            "node": "Check Proper Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check where to send Answer": {
      "main": [
        [
          {
            "node": "Sending Itinery from Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send  Itinery from message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send  Itinery from message": {
      "main": [
        []
      ]
    }
  }
}