Travel planning agent powered by Gemini and OpenAI
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.Receive travel request through the chat interface
- 2.Load and split travel documents into manageable segments
- 3.Store conversation context in short-term memory
- 4.Search vector database for relevant travel information
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (13)
When chat message received
Chat Trigger
Google Gemini Chat Model
Gemini Model
Sticky Note
Sticky Note
Webhook
Webhook
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Sticky Note1
Sticky Note
Simple Memory
Memory Buffer Window
AI Travel Agent
Agent
Retrieve docs with Couchbase Search Vector
Vector Store Couchbase Search
Insert docs with Couchbase Search Vector
Vector Store Couchbase Search
Generate OpenAI Embeddings using text-embedding-3-small
OpenAI
Generate OpenAI Embeddings using text-embedding-3-small1
OpenAI