Skip to main content

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

Workflow preview

Workflow preview
100%
Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI preview
Open on n8n.io

1. Workflow Overview

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 ...

Best for

  • Support Chatbot automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.chainretrievalqa

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ayo.o.

Original n8n.io source

1.1 Workflow description

Title
Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI
Workflow name
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

  1. Connect your Google Drive, OpenAI, and Pinecone accounts.
  2. Add your own knowledge document to Google Drive.
  3. Create or select a Pinecone index for the vector database.
  4. Replace the Google Drive file placeholder with your own file.
  5. Replace the Pinecone index placeholder with your own index name.
  6. Run the indexing section once to store your document in Pinecone.
  7. Connect your frontend, chatbot, or app to the webhook URL.
  8. Send a test question using the chatInput field.
  9. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Knowledge Indexing Notes

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Chatbot Response Notes

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Download Knowledge File

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 5 - Insert Documents into Pinecone

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1.3

Block 6 - Create Embeddings for Indexing

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 7 - Load Downloaded Document

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 8 - Split Document into Chunks

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 9 - Manual Trigger - Index Knowledge Base

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 10 - Answer Question with Retrieved Context

Type / Role
@n8n/n8n-nodes-langchain.chainRetrievalQa - chainRetrievalQa
Config choices
Version 1.7

Block 11 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 12 - Retrieve Matching Knowledge

Type / Role
@n8n/n8n-nodes-langchain.retrieverVectorStore - retrieverVectorStore
Config choices
Version 1

Block 13 - Search Pinecone Knowledge Base

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1.3

Block 14 - Create Query Embedding

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 15 - Format Chatbot Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Chatbot Webhook Trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 17 - Return Answer to Frontend

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI
Complexity advanced
Nodes 18
Categories Support Chatbot, AI RAG
Author ayo.o
Published 11 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15632/15632.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create a travel support RAG chatbot with Google Drive, Pinecone and OpenAI do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.