Build a cricket rules Q&A bot using this advanced n8n workflow. It combines RAG, Google Gemini, and an n8n trigger for accurate, document-grounded answers.
Download this n8n workflow template and start using it instantly.
This powerful n8n workflow demonstrates how to create a highly accurate, document-grounded chatbot, specifically designed here for answering questions about IPL cricket rules. By leveraging the RAG pattern, the chatbot ensures that its responses are strictly limited to the official documentation, preventing common LLM hallucination issues. The implementation uses Google Gemini for both embeddings and the chat model, making this a cutting-edge n8n template. The automation is split into two phases: a one-time setup to ingest and vectorize the knowledge base, and the live chat interface, initiated by an n8n trigger. This structure is essential for anyone looking to build professional, verifiable Q&A systems using n8n.
This n8n workflow operates in two distinct steps:
To deploy this powerful n8n workflow, follow these steps:
This n8n workflow relies heavily on specific nodes to manage RAG and conversational flow:
When chat message received (n8n trigger): This specialized n8n trigger listens for incoming messages on the dedicated n8n chat interface, initiating the real-time Q&A process.
HTTP Request: Downloads the IPL rules PDF document from the specified URL (https://documents.iplt20.com/bcci/documents/1742707993986MatchPlaying_Conditions.pdf).
Recursive Character Text Splitter: Configured with an overlap of 200, it prepares the raw text for optimal embedding by segmenting the document intelligently.
Embeddings Google Gemini: This n8n node converts the document chunks into vectors, enabling semantic search and retrieval.
Simple Vector Store (Insert Mode / Retrieve-as-tool Mode): Used in two configurations: first, to insert the vectors (Step 1), and second, to retrieve the top 10 relevant chunks for RAG grounding (Step 2).
Simple Memory: A buffer memory n8n node that maintains the conversation history (last 20 turns), allowing the AI Agent to understand context.
Google Gemini Chat Model: The underlying LLM, configured with parameters like Top P (0.3) for controlling randomness in responses.
AI Agent: The central orchestration n8n node. It is given a system message defining its role as a strict cricket expert, ensuring responses are always based on the data retrieved by the RAG tool. This flexible n8n node manages the complex interaction between the memory, tools, and the LLM.
Deploy a robust n8n workflow to serve the IP2WHOIS domain lookup API as an MCP server endpoint. Enable AI agents to perform real-time WHOIS queries using this specialized n8n trigger.

Use this powerful n8n workflow to automate Security Operations Center (SOC) tasks. Triggered by Splunk alerts, it checks IP reputation using VirusTotal and AlienVault, generates summary reports via Gmail, and automatically creates ServiceNow incidents and Slack alerts for suspicious threats.

Deploy an n8n workflow as an MCP server for AI agents. Get detailed IP geolocation data using BigDataCloud API endpoints. Learn how to use the n8n trigger and advanced n8n node configurations for AI tools.

Use this specialized n8n workflow to deploy an IPQualityScore API tool server. Enable AI agents to validate emails, phones, and scan URLs using a single n8n trigger endpoint.

Implement a powerful RAG chatbot using this comprehensive n8n workflow. Automatically ingest Google Drive files, embed content using Gemini, store in Pinecone, and answer queries via an AI Agent.

Use this powerful n8n workflow to instantly generate detailed Ideal Customer Profiles (ICP) from any URL, combining Telegram as the input trigger with AI language models (Gemini) and sophisticated web scraping via HTTP requests.









































