
Curated by n8n Markets team
Last updated: June 21, 2026
What It Does - Automates first-level SOC alert triage by connecting Elasticsearch Kibana detection alerts directly to Google Gemini AI and Microsoft Teams - Receives process-level security alerts via webhook, extracts parent process metadata, and submits it to Gemini for behavioral analysis - Gemini classifies each alert as benign or malicious with a concise TTPs explanation - Delivers the verdict and analysis directly to your SOC's Microsoft Teams channel with a one-click Kibana deep-link How It Works - Kibana detection rule triggers — alert JSON is POSTed to the n8n webhook - Workflow extracts code_signature status and command_line from the parent process - Gemini AI analyzes the process context: binary legitimacy, execution chain, command-line intent - Result is formatted and pushed to Microsoft Teams in seconds MITRE ATT&CK Coverage Sample Scenario (Included as Pinned Data) - Elastic rule fires: "Unusual Process For MSSQL Service Accounts" on host SQL-PROD-01 - SqlLogShip.exe — Microsoft-signed, trusted — spawned by SQLAGENT.EXE under NT SERVICE\SQLSERVERAGENT - Gemini correctly identifies the activity as routine log shipping - Verdict: BENIGN — no analyst time wasted on a false positive Marketplace Readiness - Seven discovery tags applied: security, threat-intel, gemini, elasticsearch, microsoft-teams, ttp-analysis, soc-automation - All node typeVersions upgraded to latest stable - Every node annotated with purpose and setup instructions - Comprehensive sticky note with workflow diagram and setup guide - Sample pinned data on trigger and output nodes for instant Test Workflow preview - Fully in English with all proprietary data sanitized and placeholders clearly marked
n8n Platform - Self-hosted or cloud n8n instance running version 2.26 or later - AI features and LangChain nodes enabled External Services & Credentials Google Gemini API - API key with Generative Language API enabled - Obtain from Google AI Studio at aistudio.google.com - Attach to the Google Gemini Chat Model node after import Microsoft Teams - Incoming Webhook URL for your target SOC channel - Create via Teams Channel → Connectors → Incoming Webhook → Configure - Replace the placeholder URL in the Send to Teams node Elasticsearch / Kibana - Elastic Security detection rules configured and active - Alert action set to HTTP POST targeting the n8n webhook production URL - Alert payload must include parent process code signature, command line, host name, and Kibana deep-link URL — a full sample is pinned to the webhook node for reference Network Connectivity - Outbound HTTPS from n8n to generativelanguage.googleapis.com - Outbound HTTPS from n8n to *.webhook.office.com - Inbound HTTP/HTTPS from Elasticsearch to the n8n webhook endpoint, typically via reverse proxy if n8n is not publicly exposed
Step 1 — Import the Workflow - Download the workflow JSON file from your purchase - In n8n, go to Workflows → Import from File - The workflow appears in your dashboard, inactive by default - Open it and review the sticky note on the canvas for a visual overview Step 2 — Configure Google Gemini - Go to Google AI Studio and create an API key - In n8n, navigate to Credentials → Add Credential → Google Gemini API - Paste your key and save - In the workflow, click the Google Gemini Chat Model node — it is marked with a setup warning — and select your new credential Step 3 — Configure Microsoft Teams - In Microsoft Teams, open your target SOC channel - Click the three dots → Connectors → Incoming Webhook → Configure - Name it appropriately and click Create - Copy the generated webhook URL - In the workflow, click the Send to Teams node — also marked with a setup warning — and replace the placeholder URL with yours Step 4 — Configure Elasticsearch Kibana - In Kibana, navigate to Security → Rules → Detection Rules (SIEM) - Select the rules you want to automate - Edit rule actions and add a Webhook action - Set method to POST and URL to the production URL shown in the ELK Alert Webhook node - Save and enable the rule Step 5 — Test Before Going Live - Click Test Workflow on the ELK Alert Webhook node to run the sample pinned alert - The workflow executes end-to-end and populates the Format Teams Message node with a sample Gemini analysis - Click Test Workflow on the Format Teams Message node to review the analysis quality - Confirm the Teams message format meets your expectations Step 6 — Activate and Monitor - Toggle the workflow to Active - Your SOC team now receives AI-powered alert analysis in Teams automatically - Each notification includes the alert name, affected host, Gemini verdict, and a direct Kibana deep-link Troubleshooting Quick Reference - Gemini returns no response: verify your API key has billing enabled in Google AI Studio - Teams messages not appearing: confirm the webhook URL is correct and the connector was successfully created - Webhook returns 404: ensure the workflow is active and the Kibana rule webhook path matches the workflow node path - Gemini analysis seems off: review the prompt in the Basic LLM Chain node and adjust the instructions to better match your environment
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!