Assess information system risks via webhook with Claude and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Settings (Edit Fields (Set)): sets 5 fields: frameworks, default_industry, min_scenario_chars…
- Caller allowed? (If): checks a condition and branches into true / false
- Read the request (Edit Fields (Set)): sets 4 fields: system_name, industry, scenario…
- Reply: not authorized (Respond to Webhook): sends the response back to the webhook caller
- Scenario long enough? (If): checks a condition and branches into true / false
- Assess risk with Claude (Basic LLM Chain): sends a prompt to an LLM, with model: Claude; output parser: Enforce the report format
- Reply: scenario missing (Respond to Webhook): sends the response back to the webhook caller
- Build the report (Code): runs custom JavaScript code
- Reply with the report (Respond to Webhook): sends the response back to the webhook caller
- Log to Google Sheets (Google Sheets): append
Services it uses
Other Anthropic + Google Sheets templates (261)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow receives a webhook request describing an information system scenario, uses Anthropic Claude to generate a five-part risk assessment with a fixed JSON schema, returns the report to the caller, and logs the results (including a…