8
n8n 한국어amn8n.com

AI 여행 어시스턴트

중급

이것은Support, AI분야의자동화 워크플로우로, 7개의 노드를 포함합니다.주로 Set, EmailSend, EmailReadImap, ChainLlm, LmOllama 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 이메일을 통한 Llama AI 여행 일정 자동 생성

사전 요구사항
  • AI 서비스 API Key(예: OpenAI, Anthropic 등)

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "UlSHcKupAZfb0FZt",
  "meta": {
    "instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
    "templateCredsSetupCompleted": true
  },
  "name": "AI Travel Agent",
  "tags": [],
  "nodes": [
    {
      "id": "6f0a745d-aa01-4edd-ac2a-444de56e8c60",
      "name": "Ollama Model",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        -300,
        80
      ],
      "parameters": {
        "model": "llama3.2-16000:latest",
        "options": {}
      },
      "credentials": {
        "ollamaApi": {
          "id": "h9CEBFmYALm3FvZf",
          "name": "Ollama account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "261ba61b-5c01-4cd3-8033-41db9ad2b625",
      "name": "Trigger From Mail (IMAP)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        -500,
        -120
      ],
      "parameters": {
        "options": {
          "customEmailConfig": "[\"UNSEEN\", [\"SUBJECT\", \"itinerary\"]]"
        }
      },
      "credentials": {
        "imap": {
          "id": "D3nLrSlP1dHWcIDE",
          "name": "IMAP account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "750101d2-7fc0-44d7-a615-d98803669ff2",
      "name": "Basic LLM",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -300,
        -120
      ],
      "parameters": {
        "text": "={{ $json.textPlain }}",
        "messages": {
          "messageValues": [
            {
              "message": "=Create a friendly, human-style travel itinerary based on the email content in {{ $json.textPlain }}. The itinerary should be casual, easy to read, and feel like it was written by a person — not a robot.\n\nInclude the following elements:\n\nA short, warm greeting at the top\n\nA one-line summary of the destination and a few top highlights mentioned in the email\n\nAlways Daily breakdowns starting with \"Day 1:\", \"Day 2:\", etc., matching the number of days specified in the email (e.g., if the email says 4 days, include only Day 1 to Day 4, with Day 4 as the departure day).This thing is important so keep it in mind.\n\nFor each day, include key activities, hotel info, flight times, and transport details — in simple language\n\nKeep the tone conversational, light, and informative — like you're helping a friend plan their trip\n\nAvoid using markdown, emojis, special characters, or extra spacing\n\n\"\"\"\"Use this exact structure, do not add any extra words, and match the number of days to the email content and highlights imp things\"\"\"\"\":\n\nHello Traveller,\n\nHere’s your itinerary for your [destination] adventure! Get ready to explore amazing places like [a few highlights based on the email].\n\nDay 1: [Arrival details, flight info, hotel check-in, maybe a light activity or dinner nearby]\nDay 2: [Activities, any planned tours, transport details if moving around]\nDay 3: [Activities, hotel name if changing, any travel between cities]\nDay 4: [Departure day – include checkout time, transport to airport, and flight info]\n\nBest regards,\nOneclick\n\n\nthis is sample mail \n\nDelhi, the vibrant capital of India! I'd be delighted to help you plan your 4-day trip to Delhi with your family.\n\nHere's a suggested itinerary that covers some of the top attractions, cultural experiences, and culinary delights:\n\n**Day 1: Red Fort, Qutub Minar, and Chandni Chowk**\n\n* Morning: Start at the Red Fort (open from 9:30 AM), a majestic Mughal fort with stunning architecture. Explore the fort's imposing walls, gardens, and palaces.\n* Afternoon: Visit Qutub Minar (open from 10:00 AM), the tallest minaret in India, built by Qutb-ud-din Aibak in 1199 AD.\n* Evening: Take a leisurely stroll through Chandni Chowk, one of Delhi's oldest and most vibrant streets, lined with street food stalls, shops, and historic landmarks.\n\n**Day 2: Humayun's Tomb, Lotus Temple, and Indian Museum**\n\n* Morning: Visit Humayun's Tomb (open from 9:30 AM), a beautiful Mughal mausoleum built by Haji Begum in 1573 AD.\n* Afternoon: Explore the Baha'i Temple (Lotus Temple) in Ashok Vihar (open from 10:00 AM), an iconic temple with stunning architecture and peaceful surroundings.\n* Evening: Head to the Indian Museum, a treasure trove of Indian history and culture, located in Central Delhi.\n\n**Day 3: Akshardham Temple, Laxmi Nagar Shopping Mall, and Chilla Village**\n\n* Morning: Visit the Akshardham Temple (open from 9:00 AM), a magnificent temple complex with intricate carvings, stunning architecture, and beautiful gardens.\n* Afternoon: Spend some time shopping at Laxmi Nagar Shopping Mall, one of Delhi's popular shopping destinations.\n* Evening: Head to Chilla Village, a small village located on the outskirts of Delhi, where you can experience rural India and enjoy a peaceful evening.\n\n**Day 4: Gandhi Smriti, India Gate, and Hauz Khas Village**\n\n* Morning: Visit Gandhi Smriti (open from 9:30 AM), the museum dedicated to Mahatma Gandhi's life and legacy.\n* Afternoon: Explore India Gate (open from 10:00 AM), a stunning war memorial built in honor of Indian soldiers who fought in World War I.\n* Evening: Head to Hauz Khas Village, a trendy neighborhood with boutique shops, cafes, and restaurants.\n\n**Additional Tips**\n\n* Be prepared for the crowds and heat during peak summer months (April to June).\n* Wear comfortable shoes, as you'll be doing a lot of walking throughout the day.\n* Try some local street food, like chaat items or kebabs, but ensure they're cooked and served hygienically.\n* Don't forget to bargain when shopping at local markets!\n* Take breaks and stay hydrated throughout the day.\n\n**Getting Around**\n\n* Use an auto-rickshaw, taxi, or ride-hailing apps (like Ola, Uber) to get around Delhi. Be prepared for traffic congestion.\n* The Metro network in Delhi is efficient and convenient, but be aware of peak hours (7:00 AM - 9:00 AM and 4:00 PM - 6:00 PM).\n\n**Budget Breakdown**\n\n* Accommodation: ₹5,000-₹10,000 (approximately $65-$130 USD) for a family of four, depending on the hotel or hostel you choose.\n* Transportation: ₹1,500-₹3,000 (approximately $20-$40 USD) for auto-rickshaws, taxis, and ride-hailing services.\n* Food: ₹2,000-₹4,000 (approximately $25-$50 USD) per day for meals at local restaurants and street food stalls.\n\nThis itinerary provides a good balance of culture, history, and fun activities that are suitable for families. Feel free to adjust it according to your interests and preferences!\n\n**Are there any specific requests or changes you'd like me to make?\n"
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.6
    },
    {
      "id": "e5e3a173-43dd-41e5-b373-97c457c70025",
      "name": "Email Field 설정up",
      "type": "n8n-nodes-base.set",
      "position": [
        100,
        -120
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "7d428c48-4809-45d8-ba1e-c96d68c02c07",
              "name": "from",
              "type": "string",
              "value": "={{ $('Trigger From Mail (IMAP)').first().json.from }}"
            },
            {
              "id": "63b99545-3d2d-4563-b9d7-078cbc20dbcc",
              "name": "subject",
              "type": "string",
              "value": "=Re: {{ $('Trigger From Mail (IMAP)').first().json.subject }}"
            },
            {
              "id": "11d94d3f-2170-4b54-b5f9-b85bb95ad472",
              "name": "text",
              "type": "string",
              "value": "={{ $json.text }} "
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f42413ba-81fb-4995-ad56-21f469f7da82",
      "name": "Sending 이메일",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        320,
        -120
      ],
      "webhookId": "8ddf4c83-5990-4b1c-ab0d-4cc55932d2c4",
      "parameters": {
        "text": "={{ $json.text }}",
        "options": {},
        "subject": "={{ $json.subject }}",
        "toEmail": "={{ $json.from }}",
        "fromEmail": "XYZ@gmail.com",
        "emailFormat": "text"
      },
      "credentials": {
        "smtp": {
          "id": "3QSx1pWoS0BZcK4c",
          "name": "SMTP account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "9a3324e1-3fe5-4b13-924d-dcb05daf4c8d",
      "name": "메모",
      "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     - 993\nSecure   - true\nUser     - your-email@gmail.com\nPassword - App password (for Gmail, use App Password)"
      },
      "typeVersion": 1
    },
    {
      "id": "0e562abb-7c3a-41e2-8a98-7d583dfa2c90",
      "name": "메모1",
      "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\nPort     - 465\nSSL/TLS  - True"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2742d28b-b293-481a-8ef2-ec0972d34fe5",
  "connections": {
    "750101d2-7fc0-44d7-a615-d98803669ff2": {
      "main": [
        [
          {
            "node": "Email Field Setup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6f0a745d-aa01-4edd-ac2a-444de56e8c60": {
      "ai_languageModel": [
        [
          {
            "node": "750101d2-7fc0-44d7-a615-d98803669ff2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Email Field Setup": {
      "main": [
        [
          {
            "node": "Sending Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "261ba61b-5c01-4cd3-8033-41db9ad2b625": {
      "main": [
        [
          {
            "node": "750101d2-7fc0-44d7-a615-d98803669ff2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 지원, 인공지능

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수7
카테고리2
노드 유형6
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
OneClick IT Consultancy P Limited

OneClick IT Consultancy P Limited

@oneclick-it

OneClick is an award-winning offshore software development services company. Clients trust us for quality of service, innovation and AI driven technology solutions.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34