Monitor regulatory website changes with Claude Sonnet and Gmail alerts
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (every day). Along the way it connects Anthropic Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day).
- Load Watch Sources (Code): runs custom JavaScript code
- Per-Source Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Watch Cycle Complete (Edit Fields (Set)): sets 2 fields: status, finishedAt
- Fetch Source Page (HTTP Request): calls an HTTP API
- Compute Content Hash (Crypto): hashes or encrypts values
- Get Prior Watch State (Data table): get
- Assemble Change Record (Edit Fields (Set)): sets 11 fields: sourceName, url, sector…
- Upsert Watch State (Data table): create or update
- Change Detected? (If): checks a condition and branches into true / false
- Analyze Regulatory Impact (AI Agent): runs an AI agent, with model: Claude Sonnet 4.; output parser: Impact Schema
…plus 3 more steps. See the full node list below.
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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Crypto
n8n-nodes-base.crypto - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow runs daily to monitor regulatory websites, detect page changes via hashing, analyze potential compliance impact with Anthropic Claude Sonnet, log findings to n8n Data Tables, and email the relevant compliance owner through Gmail.…