Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI

šŸ“Š Description

This workflow helps travel, booking, and customer support businesses create an AI chatbot that answers customer questions from their own knowledge base. Instead of manually replying to repeated questions about bookings, cancellations, refunds, pricing, policies, or service details, the business can upload a knowledge document and let the chatbot respond through a webhook.

Built for travel agencies, booking platforms, hotels, shortlets, service businesses, and automation builders who want to create a simple RAG chatbot using Google Drive, OpenAI, Pinecone, and n8n.

What This Workflow Does

šŸ“„ Downloads a knowledge document from Google Drive āœ‚ļø Splits the document into smaller chunks for better retrieval 🧠 Creates embeddings using OpenAI šŸ“¦ Stores the knowledge base inside a Pinecone vector index šŸ’¬ Receives customer questions through a webhook šŸ”Ž Searches Pinecone for the most relevant information šŸ¤– Uses OpenAI to generate a short, helpful answer šŸ“¤ Returns the chatbot response back to the connected frontend, chatbot, or app

Key Benefits

āœ… Turns a simple document into a searchable AI knowledge base āœ… Helps answer repeated customer questions faster āœ… Uses RAG so responses are based on the uploaded business information āœ… Works with any frontend, chatbot, or app that can send a POST request āœ… Easy to customize for different travel, booking, or support businesses āœ… Separates knowledge indexing from live chatbot responses āœ… Includes a simple response formatting step before returning the answer

How It Works

SW1 — Knowledge Base Indexing

The workflow starts with a manual trigger. It downloads a knowledge document from Google Drive, loads the document content, splits it into smaller text chunks, creates embeddings with OpenAI, and stores those chunks inside a Pinecone vector index.

This section should be run first because the chatbot can only answer from information that has already been indexed into Pinecone.

SW2 — Chatbot Question Answering

The webhook receives a customer question from a frontend, chatbot, or app. The workflow sends the question into a retrieval QA chain, searches the Pinecone vector store for relevant context, and uses OpenAI to generate a short answer based on the retrieved information.

The response is then cleaned by a Code node and returned through Respond to Webhook.

Features

Google Drive knowledge document download OpenAI embeddings Pinecone vector storage Recursive text splitting Webhook-based chatbot input Retrieval QA chain for context-aware answers Short customer-support style responses Response cleanup before returning to the frontend Reusable structure for travel, booking, hotel, shortlet, and service businesses

Requirements

Google Drive account OpenAI API key Pinecone account and index n8n account or self-hosted n8n instance A prepared knowledge document such as FAQs, policies, service details, or booking information A frontend, chatbot, or app that can send questions to the webhook

Setup Steps

Connect your Google Drive, OpenAI, and Pinecone accounts. Add your own knowledge document to Google Drive. Create or select a Pinecone index for the vector database. Replace the Google Drive file placeholder with your own file. Replace the Pinecone index placeholder with your own index name. Run the indexing section once to store your document in Pinecone. Connect your frontend, chatbot, or app to the webhook URL. Send a test question using the chatInput field. Customize the system prompt for your business or client use case.

Target Audience

āœˆļø Travel agencies answering booking and policy questions šŸØ Hotels and shortlet businesses handling repeated guest enquiries 🧳 Booking platforms that need a lightweight support chatbot šŸ¤– Automation builders creating RAG chatbot demos for clients šŸ“ž Customer support teams that want answers based on internal documents

0
Downloads
0
Views
8.58
Quality Score
intermediate
Complexity
Created:5/16/2026
Updated:7/1/2026

šŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments