Tech Radar
Configured with Agent, Chain LLM, Cron, Document Default Data Loader, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Files / media
- Trigger
- Data store
- Code
- Transform
- Subworkflow
- AI & models
- Web / API
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Download Doc File From Google Drive | Files / media | Google Drive | download |
| Doc File Data Loader | Files / media | Document Default Data Loader | See node parameters |
| Cron | Trigger | Cron | See node parameters |
| MySQL -delete all data | Data store | My Sql | deleteTable |
| MySQL - insert all from sheets | Data store | My Sql | See node parameters |
| Google Sheets - Tech Radar | Data store | Google Sheets | See node parameters |
| Code - Transform table into rows | Code | Code | See node parameters |
| Google Docs - Update GDoc | Files / media | Google Docs | update |
| Google Drive - Doc File Updated | Trigger | Google Drive Trigger | See node parameters |
| Content - Recursive Character Text Splitter | Transform | Text Splitter Recursive Character Text Splitter | See node parameters |
| Google Sheets - Read TechRadar | Data store | Google Sheets | See node parameters |
| Code - Simplify Mapping to Original Query | Code | Code | See node parameters |
| Codes - Simplify Mapping to Original Query | Code | Code | See node parameters |
| Execute Workflow - Sql Agent | Subworkflow | Execute Workflow | See node parameters |
| Execute Workflow - RAG Agent | Subworkflow | Execute Workflow | See node parameters |
| AI Agent - Output Guardrail | AI & models | Agent | See node parameters |
| LLM - Determine - Agent Input Router | AI & models | Chain LLM | See node parameters |
| When Executed by Another Workflow | Trigger | Execute Workflow Trigger | See node parameters |
| 1_Get DB Schema and Tables List | Data store | My Sql Tool | executeQuery |
| 2_Get Table Definition | Data store | My Sql Tool | executeQuery |
| 3_Execute actual query | Data store | My Sql Tool | executeQuery |
| AI Agent -DB Sql Agent | AI & models | Agent | See node parameters |
| Pinecone Vector Store (Retrieval) | Data store | Vector Store Pinecone | See node parameters |
| 4_RagTool | AI & models | Tool Vector Store | See node parameters |
| AI Agent - RAG | AI & models | Agent | See node parameters |
| Embeddings - Tech Radar Data Embedding | AI & models | Embeddings Google Gemini | See node parameters |
| Pinecone - Vector Store for Embedding Content | Data store | Vector Store Pinecone | See node parameters |
| Retrieve Embeddings - Tech Radar Vector DB | AI & models | Embeddings Google Gemini | See node parameters |
| AI Agent - Retrieval | AI & models | LM Chat Google Gemini | See node parameters |
| AI Chat Model - Claude 3.5 Sonnet | AI & models | Anthropic Chat Model | See node parameters |
| AI Chat Model - QwQ 32b | AI & models | LM Chat Groq | See node parameters |
| AI Chatmodel - Deepseek 32B | AI & models | LM Chat Groq | See node parameters |
| AI Chat Model - llama3-8b | AI & models | LM Chat Groq | See node parameters |
| API Response - Respond to Webhook | Web / API | Respond To Webhook | See node parameters |
| API Request - Webhook | Trigger | Webhook | See node parameters |
| Determine if is 'RAG' | Routing | If | See node parameters |
| User Conversation history | Data store | Memory Buffer Window | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
anthropicApigoogleApigoogleDriveOAuth2ApigooglePalmApigoogleSheetsOAuth2ApigroqApimySqlpineconeApi
Workflow notes
Sticky Note
#1.Rag-friendly Document
Convert Tech Radar Gsheet into GDoc. Read each rows and cols data then transformed it into simple paragraph rows so that it will be easy to convert into vector database.
You may use appscript optionally to do this transformation.
Set up steps
Set up steps
-
Google Cloud Project and Vertex AI API:
- Create a Google Cloud project.
- Enable the Vertex AI API for your project.
-
Google AI API Key:
- Obtain a Google AI API key from Google AI Studio.
-
Groq AI API Key:
- Obtain a Groq AI API key from Groq.
-
Pinecone Account:
- Create a free account on the Pinecone website.
- Obtain your API key from your Pinecone dashboard.
- Create an index named
seanragor any other name in your Pinecone project.
-
Google Drive:
- Create a dedicated folder in your Google Drive to store company documents.
-
Credentials in n8n:
- Configure the following credentials in your n8n environment:
- Google Drive OAuth2
- Google Gemini (PaLM) API (using your Google AI API key)
- Pinecone API (using your Pinecone API key)
- Configure the following credentials in your n8n environment:
-
Import the Workflow:
- Import this workflow into your n8n instance.
-
Configure the Workflow:
- Update both Google Drive Trigger nodes to watch the specific folder you created in Google Drive.
- Configure the Pinecone Vector Store nodes to use your
company-filesindex.
-
Optional
- Set up NocoDB and create a table with the same fields. Map the fields exactly or as preferred. ConversationHistory - user,email,ai,sessionid,date,datetime
- Remember to map the table name and fields according to your customizations.
Sticky Note2
#2. Convert Document into Vector database (RAG ingestion)
Listen for any file changes and update the vector database. The goal is that the llm agent can interact and retrieve information from it later.
Sticky Note3
#3. Convert Gsheet into MYSQL database
Periodically sync data from gsheet tech radar into mysql database. The goal is so that the llm sql agent can interact with it for certain scenario.
Sticky Note11
SETUP
Chatting Stage : CHAT ENDPOINT
Chatting Stage : CHAT ENDPOINT
Purpose
This endpoint api allows you to chat with the ai agent. The ai agent input router will determine if the nature of question best answered with RAG or SQL agent. Then it invokes the workflow rag or workflow db agent accordingly. When the answer comes back , there is an AI agent output guardrail that uses the answer and validates before responding.
How to integrate
- Connect your frontend interface to this api below. You may change the base endpoint to
webhookorwebhook-testdepending on your environment.
You can also change the based the endpoint 'https://n8n.io' to your own hosted domain like 'https://mycustomdomain.io/'
curl -X POST 'https://n8n.jom.lol/webhook-test/radar-rag' -H 'Content-Type: application/json' -d '{
"chatInput": "i wanna write agentic ai code, which strategic direction "
}'
curl -X POST 'https://n8n.jom.lol/webhook-test/radar-rag' -H 'Content-Type: application/json' -d '{
"chatInput": "is backstage used by company2 "
}'
- You will see a sample output response:
[
{
"output": "Based on the researched answer provided, the tools that are considered strategic directions but are not used by company3 are:\n\n* Automatically generate Backstage entity descriptors (technique)\n* Arm in the cloud (platform)\n* Azure OpenAI Service (platform)\n* Infrastructure orchestration platforms (platform)\n* Rancher Desktop (platform)\n* Conan (tool)\n* Karpenter (tool)\n* GitHub Copilot (tool)\n* Renovate (tool)\n* Velero (tool)\n* Continue (tool)\n* LLaVA (tool)\n* Ollama (tool)\n* DataComPy (language and framework)\n* Ray (language and framework)\n* Concrete ML (language and framework)\n* Crux (language and framework)\n* Electric (language and framework)\n* Mojo (language and framework)\n\nThese tools and technologies are considered strategically important for the organization, but for various reasons, they haven't been adopted by company3 yet."
}
]
[
{
"output": "Based on the researched answer provided, the answer to your question is:\n\nAccording to our records, the \"Automatically generate Backstage entity descriptors\" feature, which is related to Backstage, is not currently being used by Company 2. However, it does not necessarily mean that Backstage as a whole platform is not used by Company 2 in some other capacity. If you need more detailed information about Backstage's overall usage in Company 2, please feel free to ask."
}
]```
Sticky Note12
CHAT
Setup Stage : Storing into vector and structured sql database
Setup Stage : Storing into vector and structured sql database
Purpose
This setup is important to ensure that the tech radar google sheets are stored and transformed into the mysql database so that the sql ai agent can interact with it.
For the RAG ai agent to interact with vector database we need ensure we have converted from gsheet into google docs and subsequently into vector database.
Example
Gsheet https://docs.google.com/spreadsheets/d/REPLACE_WITH_DOCUMENT_ID/edit?gid=0#gid=0
Gdoc https://docs.google.com/spreadsheets/d/REPLACE_WITH_DOCUMENT_ID/edit?tab=t.0
Github frontend code
Github frontend code
https://github.com/dragonjump/techconstellation/tree/gh-pages
Example Demo
https://raw.githubusercontent.com/dragonjump/techconstellation/refs/heads/gh-pages/build-your-own-radar-master/src/images/image.png
Subworkflow 1: DB SQL Agent
Subworkflow 1: DB SQL Agent
1.Copy and paste into another workflow. 2. Activate it. 3. Link it back
Subworkflow 2: RAG Agent
Subworkflow 2: RAG Agent
1.Copy and paste into another workflow. 2. Activate it. 3. Link it back
Sticky Note16
Tech Radar
Tech Radar
Purpose and structure
This folder contains the Tech Radar workflow. Its executable nodes use agent, chainLlm, code, cron, documentDefaultDataLoader, embeddingsGoogleGemini, executeWorkflow, executeWorkflowTrigger, googleDocs, googleDrive, googleDriveTrigger, googleSheets, if, lmChatAnthropic, lmChatGoogleGemini, lmChatGroq, memoryBufferWindow, mySql, mySqlTool, respondToWebhook, textSplitterRecursiveCharacterTextSplitter, toolVectorStore, vectorStorePinecone, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Cron, Google Drive - Doc File Updated, When Executed by Another Workflow, API Request - Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1836_Code_Googledocs_Automation_Webhook.json MIT; preserve source notices.