Verify document authenticity with Claude and record proofs on blockchain
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 Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: blockchainApiUrl, carriersApiUrl, regulatoryApiUrl…
- Extract Document Content (Extract from File): extracts data from a file (pdf)
- Document Authenticity Validator (AI Agent): runs an AI agent, with model: Anthropic Chat Model; output parser: Validation Result Parser
- Check Document Authenticity (If): checks a condition and branches into true / false
- Prepare Blockchain Record (Edit Fields (Set)): sets 4 fields: documentHash, timestamp, validationStatus…
- Flag Forged Document (Edit Fields (Set)): sets 3 fields: alertType, timestamp, alertMessage
- Publish to Blockchain (HTTP Request): calls an HTTP API (POST)
- Send Alert Email (Gmail): uses Gmail
- Send Proof to Carriers (HTTP Request): calls an HTTP API (POST)
- Send Proof to Regulatory Bodies (HTTP Request): calls an HTTP API (POST)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail
From the author
How It Works This workflow automates document authenticity verification by combining AI-based content analysis with immutable blockchain records. It is built for compliance teams, legal departments, supply chain managers, and regulators who need tamper-proof…