Assess information system risks via webhook with Claude and Google Sheets

Go to Workflow
0 views
Built by Alicia Graham Alicia Graham
Created on October 17, 2026

Description

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 Markdown report) to a Google Sheets Assessments tab.

How it works
Receives a POST webhook request containing system_name, industry, and a scenario description.
Validates an optional shared secret via the x-api-key header and rejects scenarios shorter than the configured minimum length.
Sends the scenario to Anthropic Claude to assess confidentiality, integrity, availability, compliance, and operational risk and produce an overall rating, executive summary, and assumptions.
Enforces a structured JSON output so each risk dimension is limited to Critical/High/Medium/Low and includes a description, mitigation, and framework/regulation reference.
Builds a combined JSON response and a formatted Markdown report from the structured assessment.
Responds to the webhook with the report JSON and appends the assessment details to Google Sheets.

Setup
Create a Google Sheet with an Assessments tab and columns matching the workflow’s mapped fields (e.g., Timestamp, System Name, Overall Rating, dimension ratings, Executive Summary, Scenario, Report).
Add an Anthropic (Claude) credential and a Google Sheets OAuth credential, then select the target spreadsheet in the Google Sheets node.
(Optional) Set a shared_secret value in the workflow settings and send it as an x-api-key header in your webhook requests.

Requirements
Anthropic API key and a Google account.

Customization
Change the frameworks, default industry, length limits and shared secret in Settings. Add a dimension to the prompt and the parser schema.

This workflow was created by Alicia Graham and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (5)

Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured