Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
This workflow has 2 Broad Steps Step 1 Vector store creation with set of ipl rules using Google Gemini Embedding. This will we used to drive RAG for model grouding Step 2 Connecting the vector stor...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.vectorstoreinmemory, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.embeddingsgooglegemini, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sidd.
Original n8n.io source**Type of data is binary
**This step ensures that the data chunks that are created in vector store have some overlap and hence less chance of hallucination **Chunk size and chunk overlap are 2 variables to manage this
**Connect the model with google gemini model. You will need your own api key for this **Make note of the embedding model also since the same embedding model has to be selected in Step 2
**Make note of the vector store name since it is same vector store you will have to use in Step 2
##Using Vector store nodes provided by n8n is the best way to get started to test out the workflow before you switch to more enterprise grade vector store nodes
**The name of vector store should match from Step 1, the embedding rule should match step 1
** Uses the system prompt (“You are a cricket expert… If info is missing, say ‘Sorry I don’t know’”). to prompt the model ** Has access to the memory (2.2) and the RAG tool (2.3). ** Generates the final response with Google Gemini, strictly limited to the retrieved IPL cricket rules data.
##Using simple memory store nodes provided by n8n is the best way to get started to test out the workflow before you switch to more enterprise grade vector store nodes
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.
| Workflow | IPL cricket rules Q&A chat bot using RAG and Google Gemini API |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Engineering, Multimodal AI |
| Author | Sidd |
| Published | 15 Aug 2025 |
Use the JSON export at /data/workflows/7413/7413.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
This workflow has 2 Broad Steps Step 1 Vector store creation with set of ipl rules using Google Gemini Embedding. This will we used to drive RAG for model grouding Step 2 Connecting the vector stor...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 Engineering, Multimodal AI use case.