How tanujkumar24/travel-agent-n8n works
Project type and purpose
• This is an open-source, low-code AI-powered travel assistant built on n8n. Its primary purpose is to orchestrate AI and API integrations—Mistral for NLP, Google Gemini for text generation, Eleven Labs for voice synthesis, Pinecone for vector search, plus Flights/Resort/Activity APIs—into a single, automated travel-planning workflow.
File structure
• Top level:
• LICENSE – licensing terms.
• README.md – project overview, features, tech stack, usage.
• Travel_Agent.json – the exported n8n workflow definition (all nodes and connections).
• There are no traditional “src” or “lib” folders; instead the entire logic lives in the JSON that defines the n8n graph.
README for additional insights
• Confirms event-driven handling via a webhook entry point.
• Describes 6 sequential steps: from user webhook > Mistral extraction > API calls for flights/resorts/activities > Google Gemini email draft > Eleven Labs TTS > webhook response.
• Tech stack highlights external AI services, vector DB, and low-code orchestration.
a. Main components
• “User” (external client)
• n8n Orchestrator (hosted engine or cloud)
• Webhook Listener Node
• Mistral AI Node
• Flights API Connector
• Resorts/Activities API Connector
• Pinecone Vector DB
• Google Gemini Email Node
• Eleven Labs TTS Node
• Response Webhook Node
b. Relationships & Data Flow
1. User → Webhook Listener
2. Listener → Mistral AI (extracts dates/locations)
3. Mistral → Flights API + Resorts/Activities APIs (parallel calls)
4. API results → Pinecone (optional vector search)
5. Aggregated data → Google Gemini (compose itinerary/email)
6. Generated text → Eleven Labs (voice synthesis)
7. Synthesized audio & structured JSON → Response Webhook → User
c. Architectural patterns & principles
• Event-driven orchestration: each n8n node is a self-contained service call.
• Parallelization: recommend showing Flights vs. Resorts/Activities as parallel branches.
• Separation of concerns: extraction vs. data retrieval vs. content generation vs. delivery.
d. Key technologies & integrations
• n8n workflow engine
• Mistral AI API
• Standard REST APIs (Flights, Resorts, Activities)
• Pinecone vector database
• Google Gemini AI
• Eleven Labs TTS
• Webhooks for inbound & outbound communication