Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Drive, Pinecone Vector Store, Embeddings OpenAI and OpenAI Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Answer Question with Retrieved Context (Question and Answer Chain): answers questions over your documents (RAG), with model: OpenAI Chat Model; retriever: Retrieve Matching Knowledge
- Download Knowledge File (Google Drive): download
- Format Chatbot Response (Code): runs custom JavaScript code
- Insert Documents into Pinecone (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Create Embeddings for Indexing; document loader: Load Downloaded Document
- Return Answer to Frontend (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Google Drive
n8n-nodes-base.googleDrive - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Manual Trigger
n8n-nodes-base.manualTrigger - Question and Answer Chain
@n8n/n8n-nodes-langchain.chainRetrievalQa - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Vector Store Retriever
@n8n/n8n-nodes-langchain.retrieverVectorStore - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
📊 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,…