Basic RAG Chatbot for Document-Based Sales Queries
A simple Retrieval-Augmented Generation (RAG) workflow that loads documents into a vector store and enables context-aware chat responses using Cohere embeddings and Groq LLM.
This n8n workflow implements a basic RAG pipeline divided into two main sections. Part 1 focuses on data ingestion: it reads files from disk or Google Drive, splits them into chunks using a Recursive Character Text Splitter, generates embeddings via the Cohere API, and stores them in an In-Memory Vector Store (easily swappable for Pinecone or Qdrant). This setup allows for efficient indexing of sales documents, CRM data, or knowledge bases.
Part 2 handles interactive querying: user input from a chat trigger is embedded with the same Cohere model, relevant chunks are retrieved via similarity search, and a Groq-hosted LLM generates accurate, context-grounded responses. The workflow leverages n8n's visual orchestration for easy debugging and scaling.
Benefits include reduced hallucinations in AI responses, fast prototyping for sales chatbots, and seamless integration into CRM systems for customer support or lead qualification. Use cases span sales teams querying product docs, CRM knowledge retrieval, or internal Q&A bots, saving hours on manual research and boosting response accuracy.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Real Estate Agent Toolkit
8 hand-picked workflows for $49.00.
That is $6.13 each, vs $19.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Sales workflows
- Automate B2B Lead Generation from Company Websites Using Brightdata and OpenRouter AI$14.99
- Automate Cold Calling Pipeline with Apify, OpenAI, and WhatsApp$19.99
- Automate Lead Generation and Enrichment Using Google My Business and Supabase$13.57
- Automate Sales Outreach with OpenAI, Airtable & Google Sheets for Prospect Research$9.99
- AI-Powered Lead Research & Personalized Email Generation with Groq & Google Sheets$14.99
- Automate Spare Parts Quotation with Gmail, Google Sheets, and Gemini AI$14.99
More from Kaito Rahman
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.