AI Agents

Travel planning agent powered by Gemini and OpenAI

13 nodes 294 143 Automatic trigger
Download

Workflow Description

An intelligent travel planning agent that leverages Gemini 2.0 and OpenAI models. It accepts traveler inquiries via chat, processes travel documents, maintains conversation context in memory, and searches a vector database to provide accurate, personalized travel recommendations and itineraries.

How it works

  1. 1.Receive travel request through the chat interface
  2. 2.Load and split travel documents into manageable segments
  3. 3.Store conversation context in short-term memory
  4. 4.Search vector database for relevant travel information
  5. 5.Process request with Gemini and OpenAI to generate travel recommendations

Use cases

  • Plan multi-destination itineraries with optimal flight and hotel options
  • Answer travel questions based on airline, hotel, and insurance documents
  • Build personalized travel plans that remember traveler preferences

Requirements

  • OpenAI API key for embeddings and language models
  • Couchbase credentials for vector search functionality
  • Travel documents, airline, hotel files to load into the system

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Chat Trigger Gemini Document Default Data Loader Text Splitter Memory AI Agent Vector Store OpenAI

Details

Trigger Automatic trigger
Nodes 13
Apps 8
Views 294
Downloads 143

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (13)

/

When chat message received

Chat Trigger

#1

Google Gemini Chat Model

Gemini Model

#2

Sticky Note

Sticky Note

#3

Webhook

Webhook

#4

Default Data Loader

Document Default Data Loader

#5

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#6

Sticky Note1

Sticky Note

#7

Simple Memory

Memory Buffer Window

#8

AI Travel Agent

Agent

#9

Retrieve docs with Couchbase Search Vector

Vector Store Couchbase Search

#10

Insert docs with Couchbase Search Vector

Vector Store Couchbase Search

#11

Generate OpenAI Embeddings using text-embedding-3-small

OpenAI

#12

Generate OpenAI Embeddings using text-embedding-3-small1

OpenAI

#13