Templates / Generate incident response reports with Supabase, Gemini and Claude

Generate incident response reports with Supabase, Gemini and Claude

Needs changes

by Viraj · 112 views · created 2026-06-17 · SecOps, AI RAG

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), Supabase: Insert. 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 53 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Embeddings Google Gemini, Supabase, Supabase Vector Store and Supabase: Insert and 2 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Code: runs custom JavaScript code
  2. Create a row (Supabase): uses Supabase
  3. Config (Edit Fields (Set)): sets 14 fields: github_repo, github_baseUrl, model_chat…
  4. Historical Incidents RAG Agent (AI Agent): runs an AI agent, with model: Threat Intel Model; 1 tool (Resolved Incidents Vector Store); output parser: Structured Output Parser
  5. Playbook Routing Agent (AI Agent): runs an AI agent, with model: Playbook RAG Model; 1 tool (Reference Playbooks Vector Store); output parser: Structured Output Parser
  6. Threat Intel Enrichment Agent (AI Agent): runs an AI agent, with model: Historical RAG Model; 1 tool (Search in Tavily); output parser: Structured Output Parser
  7. Historical RAG Data Formatter (Edit Fields (Set)): sets 1 field: past_incident_data
  8. Fetch Full Playbook from Supabase (Supabase): get
  9. Threat Intel Data Formatter (Edit Fields (Set)): sets 1 field: external_threat_data
  10. Edit Fields (Edit Fields (Set)): sets 1 field: message

…plus 21 more steps. See the full node list below.

Services it uses

Embeddings Google GeminiSupabaseSupabase Vector StoreSupabase: InsertOpenRouter Chat ModelTavily (community)

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in Historical Incidents RAG Agent (v1.7), Playbook Routing Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Supabase: Insert in Supabase Vector Insert (Resolved Incidents), Supabase Vector Insert (Playbooks Ingestion): replace with Supabase Vector Store (Insert Documents).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Historical Incidents RAG Agent (v1.7), Playbook Routing Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Supabase: Insert
Supabase Vector Insert (Resolved Incidents), Supabase Vector Insert (Playbooks Ingestion)
Supabase Vector Store (Insert Documents)

Rarely used nodes in this template: @n8n/n8n-nodes-langchain.vectorStoreSupabaseInsert

Nodes used (20)

From the author

Quick Overview This workflow ingests incident and playbook content from GitHub into Supabase (including pgvector embeddings with Google Gemini) and, on a webhook trigger, enriches a test incident with historical matches, a routed response playbook, and live…

Excerpt from Viraj's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.