← All N8N workflows
AI & researchAgentChain LLMCodeCronDocument Default Data Loader

Tech Radar

Configured with Agent, Chain LLM, Cron, Document Default Data Loader, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
Files / mediaDownload Doc File FromGoogle DriveGoogle DriveFiles / mediaDoc File Data LoaderDocument Default Data Lo…TriggerCronCronData storeMySQL -delete all dataMy SqlData storeMySQL - insert all fromsheetsMy SqlData storeGoogle Sheets - TechRadarGoogle SheetsCodeCode - Transform tableinto rowsCodeFiles / mediaGoogle Docs - UpdateGDocGoogle DocsTriggerGoogle Drive - Doc FileUpdatedGoogle Drive TriggerTransformContent - RecursiveCharacter Text SplitterText Splitter Recursive …Data storeGoogle Sheets - ReadTechRadarGoogle SheetsCodeCode - Simplify Mappingto Original QueryCodeCodeCodes - SimplifyMapping to Original…CodeSubworkflowExecute Workflow - SqlAgentExecute WorkflowSubworkflowExecute Workflow - RAGAgentExecute WorkflowAI & modelsAI Agent - OutputGuardrailAgentAI & modelsLLM - Determine - AgentInput RouterChain LLMTriggerWhen Executed byAnother WorkflowExecute Workflow TriggerData store1_Get DB Schema andTables ListMy Sql ToolData store2_Get Table DefinitionMy Sql ToolData store3_Execute actual queryMy Sql ToolAI & modelsAI Agent -DB Sql AgentAgentData storePinecone Vector Store(Retrieval)Vector Store PineconeAI & models4_RagToolTool Vector StoreAI & modelsAI Agent - RAGAgentAI & modelsEmbeddings - Tech RadarData EmbeddingEmbeddings Google GeminiData storePinecone - Vector Storefor Embedding ContentVector Store PineconeAI & modelsRetrieve Embeddings -Tech Radar Vector DBEmbeddings Google GeminiAI & modelsAI Agent - RetrievalLM Chat Google GeminiAI & modelsAI Chat Model - Claude3.5 SonnetAnthropic Chat ModelAI & modelsAI Chat Model - QwQ 32bLM Chat GroqAI & modelsAI Chatmodel - Deepseek32BLM Chat GroqAI & modelsAI Chat Model -llama3-8bLM Chat GroqWeb / APIAPI Response - Respondto WebhookRespond To WebhookTriggerAPI Request - WebhookWebhookRoutingDetermine if is 'RAG'IfData storeUser ConversationhistoryMemory Buffer Window

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Download Doc File From Google DriveFiles / mediaGoogle Drivedownload
Doc File Data LoaderFiles / mediaDocument Default Data LoaderSee node parameters
CronTriggerCronSee node parameters
MySQL -delete all dataData storeMy SqldeleteTable
MySQL - insert all from sheetsData storeMy SqlSee node parameters
Google Sheets - Tech RadarData storeGoogle SheetsSee node parameters
Code - Transform table into rowsCodeCodeSee node parameters
Google Docs - Update GDocFiles / mediaGoogle Docsupdate
Google Drive - Doc File UpdatedTriggerGoogle Drive TriggerSee node parameters
Content - Recursive Character Text SplitterTransformText Splitter Recursive Character Text SplitterSee node parameters
Google Sheets - Read TechRadarData storeGoogle SheetsSee node parameters
Code - Simplify Mapping to Original QueryCodeCodeSee node parameters
Codes - Simplify Mapping to Original QueryCodeCodeSee node parameters
Execute Workflow - Sql AgentSubworkflowExecute WorkflowSee node parameters
Execute Workflow - RAG AgentSubworkflowExecute WorkflowSee node parameters
AI Agent - Output GuardrailAI & modelsAgentSee node parameters
LLM - Determine - Agent Input RouterAI & modelsChain LLMSee node parameters
When Executed by Another WorkflowTriggerExecute Workflow TriggerSee node parameters
1_Get DB Schema and Tables ListData storeMy Sql ToolexecuteQuery
2_Get Table DefinitionData storeMy Sql ToolexecuteQuery
3_Execute actual queryData storeMy Sql ToolexecuteQuery
AI Agent -DB Sql AgentAI & modelsAgentSee node parameters
Pinecone Vector Store (Retrieval)Data storeVector Store PineconeSee node parameters
4_RagToolAI & modelsTool Vector StoreSee node parameters
AI Agent - RAGAI & modelsAgentSee node parameters
Embeddings - Tech Radar Data EmbeddingAI & modelsEmbeddings Google GeminiSee node parameters
Pinecone - Vector Store for Embedding ContentData storeVector Store PineconeSee node parameters
Retrieve Embeddings - Tech Radar Vector DBAI & modelsEmbeddings Google GeminiSee node parameters
AI Agent - RetrievalAI & modelsLM Chat Google GeminiSee node parameters
AI Chat Model - Claude 3.5 SonnetAI & modelsAnthropic Chat ModelSee node parameters
AI Chat Model - QwQ 32bAI & modelsLM Chat GroqSee node parameters
AI Chatmodel - Deepseek 32BAI & modelsLM Chat GroqSee node parameters
AI Chat Model - llama3-8bAI & modelsLM Chat GroqSee node parameters
API Response - Respond to WebhookWeb / APIRespond To WebhookSee node parameters
API Request - WebhookTriggerWebhookSee node parameters
Determine if is 'RAG'RoutingIfSee node parameters
User Conversation historyData storeMemory Buffer WindowSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • anthropicApi
  • googleApi
  • googleDriveOAuth2Api
  • googlePalmApi
  • googleSheetsOAuth2Api
  • groqApi
  • mySql
  • pineconeApi

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

  1. Google Cloud Project and Vertex AI API:

    • Create a Google Cloud project.
    • Enable the Vertex AI API for your project.
  2. Google AI API Key:

    • Obtain a Google AI API key from Google AI Studio.
  3. Groq AI API Key:

    • Obtain a Groq AI API key from Groq.
  4. Pinecone Account:

    • Create a free account on the Pinecone website.
    • Obtain your API key from your Pinecone dashboard.
    • Create an index named seanrag or any other name in your Pinecone project.
  5. Google Drive:

    • Create a dedicated folder in your Google Drive to store company documents.
  6. 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)
  7. Import the Workflow:

    • Import this workflow into your n8n instance.
  8. 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-files index.
  9. 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

  1. Connect your frontend interface to this api below. You may change the base endpoint to webhook or webhook-test depending 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 "
}'
  1. 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.

More in AI & research