AI-powered security analysis for n8n with Google Gemini and n8n audit API
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs when someone submits an n8n form (“🔒 n8n Security Audit Report Generator”). Along the way it connects Google Gemini Chat Model.
How it runs
Trigger: When someone submits an n8n form (“🔒 n8n Security Audit Report Generator”).
- Get Audit Data (HTTP Request): calls an HTTP API (POST)
- Prepare Audit Data (Code): runs custom JavaScript code
- AI Report Generator (Basic LLM Chain): sends a prompt to an LLM, with model: gemini-2.f-flash; output parser: Structured Output Parser
- Format Report Output (Code): runs custom JavaScript code
- Display Final Audit Report (n8n Form): shows the next form page
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - n8n Form
n8n-nodes-base.form
From the author
Generate a security audit report from an n8n instance to a web form This workflow provides a deep-dive security assessment of an n8n instance using the native Audit API and AI analysis. Who’s it for This template is for n8n administrators and DevSecOps…