AI-Powered Travel Itinerary Builder with Supabase and OpenAI
detail.loadingPreview
Automate the creation of personalized travel itineraries using AI. This workflow leverages webhook triggers, Langchain nodes for text splitting, embeddings, vector storage (Supabase), and an OpenAI language model to build dynamic travel plans.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the generation of personalized travel itineraries. It starts with a webhook to receive user requests, then splits the input text for processing. Embeddings are generated using Cohere and stored in a Supabase vector database for efficient retrieval. An OpenAI language model, coupled with memory and a tool, crafts the itinerary. Finally, the generated itinerary is logged to a Google Sheet for review.
Key Features
- Webhook Trigger: Initiates itinerary generation via an incoming HTTP POST request.
- AI-Powered Itinerary Generation: Utilizes Langchain nodes with OpenAI and Cohere for intelligent itinerary creation.
- Vector Database Integration: Leverages Supabase for efficient storage and retrieval of travel-related data.
- Personalization Capabilities: Can adapt itineraries based on user input and conversation history via memory.
- Logging: Automatically logs generated itineraries to a Google Sheet for easy access and review.
How To Use
- Set up Webhook: Configure the 'Webhook' node with your desired path (e.g.,
travel_itinerary_builder). - Configure Langchain Nodes: Set up the 'Splitter', 'Embeddings' (Cohere), 'Insert' (Supabase), and 'Query' (Supabase) nodes with your API keys and Supabase credentials.
- Configure AI Model and Tools: Connect your OpenAI API credentials to the 'Chat' node and set up the 'Tool' and 'Memory' nodes for intelligent itinerary generation.
- Configure Agent: Define the prompt for the 'Agent' node, specifying how it should use the available tools and memory to create the itinerary.
- Set up Google Sheet Logging: Authorize the 'Sheet' node with your Google Sheets API credentials and specify the document ID and sheet name for logging.
- Trigger the Workflow: Send a POST request to your configured webhook URL with the user's travel preferences as the request body.
Apps Used
Workflow JSON
{
"id": "3d3bfd3f-fedb-4de8-8f4a-9b634571863e",
"name": "AI-Powered Travel Itinerary Builder with Supabase and OpenAI",
"nodes": 0,
"category": "AI & Machine Learning",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 3d3bfd3f-fedb...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Visa Requirement Checker
A workflow to check visa requirements based on user input, leveraging Langchain, Cohere embeddings, Weaviate vector store, and Anthropic LLM.
AI Assistant for Structured Metadata Generation
Automates the generation of structured metadata in English and Chinese using AI, leveraging communication platforms and various data sources.
OpenAI Text-to-Speech Workflow
Generate audio from text using OpenAI's TTS API.