RAG-Powered Document Chatbot with OpenAI & Gemini

AI-driven chatbot for natural language queries on multi-format documents (PDF, DOCX, XLSX, TXT) using RAG, OpenAI, and Gemini with multi-turn conversations and citations.

n8n
RAG-Powered Document Chatbot with OpenAI & Gemini

This workflow creates an advanced RAG-powered chatbot that processes and indexes various document formats like PDFs, Word docs, Excel spreadsheets, and text files. It intelligently chunks content, generates embeddings for storage in vector databases (e.g., Pinecone, Weaviate), and retrieves relevant sections to answer user queries accurately.

Key features include contextual understanding, human-like responses with source citations, multi-turn conversation history, and real-time processing. It integrates OpenAI and Gemini for embeddings and chat completion, making it versatile for dynamic document updates.

Ideal for finance professionals analyzing reports, contracts, or spreadsheets; legal teams reviewing docs; or any knowledge worker needing quick insights. Benefits include time savings on manual searches, improved accuracy over basic search, and scalable AI automation reducing reliance on experts.

Setup is straightforward: configure API keys, input sources (e.g., Google Drive), vector DB, and deploy the chatbot interface for instant use.

$24.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Finance workflows

More from Jose Maurino

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.