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.

n8n
Basic RAG Chatbot for Document-Based Sales Queries

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.

$19.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 Sales workflows

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.