An advanced n8n workflow using an LLM router to direct user queries to either a RAG vector database (Pinecone) or a structured SQL database (MySQL) for precise tech radar advice.
Download this n8n workflow template and start using it instantly.

























• Organizations managing a corporate Tech Radar or knowledge base.
• Technical teams needing dynamic data retrieval from both structured and unstructured sources.
• Automation specialists looking for advanced, multi-agent n8n templates.
• Developers building custom, AI-powered internal advice APIs.
Maintaining a corporate Tech Radar requires managing different data types—structured data for precise filtering (e.g., 'Is X used by Company Y?') and unstructured descriptions for context (e.g., 'Explain the benefits of Z'). This specialized n8n workflow solves the problem of querying these disparate sources efficiently.
It features a three-part architecture: first, automated synchronization syncs Google Sheets data into both a MySQL database and a Pinecone vector store; second, a custom webhook acts as an API endpoint; and third, a powerful LLM-based router decides in real-time whether a user's question requires a detailed RAG search or a precise SQL query. This dynamic routing, orchestrated entirely within this n8n workflow, ensures users always receive the fastest and most accurate response, making it one of the most intelligent n8n templates available.
The overall n8n workflow operates in two main phases: Data Setup and Chat Execution.
To deploy this comprehensive n8n workflow, follow these setup steps:
techradar database)techradardata)This advanced n8n workflow leverages numerous specialized n8n nodes:
API Request - Webhook (n8n trigger): The entry point for the chat API, configured to accept POST requests on the /radar-rag path.
Google Sheets - Tech Radar / Read TechRadar (n8n node): Used twice—once for RAG preparation and once for MySQL sync—to fetch all data from the Tech Radar spreadsheet.
Code - Transform table into rows (n8n node): Custom JavaScript converts array-of-object data (from the spreadsheet) into a single, cohesive text block per item, making it suitable for document indexing (RAG).
Google Drive - Doc File Updated (n8n trigger): A critical n8n trigger that ensures the RAG index is updated only when the source Google Doc changes, maintaining data freshness.
Pinecone - Vector Store for Embedding Content (n8n node): Handles the ingestion process, storing the embedded document chunks into the Pinecone index.
LLM - Determine - Agent Input Router (n8n node): Uses a powerful LLM to dynamically determine if the user query is best suited for structured SQL querying or unstructured RAG retrieval. This is a core component of this n8n template.
Determine if is 'RAG' (IF n8n node): A standard n8n node used for conditional routing, checking the output of the LLM router to fork the workflow execution.
Execute Workflow - RAG Agent / Sql Agent (n8n nodes): Calls external, dedicated n8n workflows that execute the respective AI logic (SQL or RAG) and return the preliminary answer.
Use this complex n8n workflow to automate high-volume video production, from generating ideas and scripts using OpenAI, to rendering, final approval via Telegram, and publishing to YouTube.

Use this powerful n8n workflow to automatically fetch targeted investor data from the Crunchbase API daily and append the cleaned results directly to a Google Sheet. Start automating your VC research with n8n templates.

Use this robust n8n workflow to automate the deployment of video ads. Connect Google Drive storage to Facebook Ads Manager and create new ad creatives instantly.

Use this powerful n8n workflow to automatically scrape the latest AI research papers from arXiv via Decodo, summarize PDFs with OpenAI, and build a research database in Google Sheets. Install this n8n template today.

Use this n8n workflow to securely expose a NetSuite SuiteQL endpoint. Execute dynamic database queries via an n8n webhook trigger, ideal for complex reporting and data extraction.

I embarked on my coding journey at the age of 13, driven by a deep passion for AI, automation, and engineering. Over the years, I've taken on various roles including Developer, Engineer, Senior Engineer, Architect, Principal Engineer, Freelance Consultant, and Head of Engineering.







































