Assess document fraud risk and compliance with GPT-4, Claude and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Embeddings OpenAI, Postgres and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow Configuration (Edit Fields (Set)): sets 5 fields: riskThresholdLow, riskThresholdHigh, riskThresholdCritical…
- Generate Document Hash (Crypto): hashes or encrypts values
- Route by Document Type (Switch): routes items into 3 branches
- Extract Text from PDF (Extract from File): extracts data from a file (pdf)
- OCR Processing for Images (Code): runs custom JavaScript code
- Extract from Office Documents (Extract from File): extracts data from a file (xlsx)
- Merge: merges the data from its input branches
- Metadata Extraction Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Metadata; output parser: Metadata Schema Parser
- Forgery Detection Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Forgery; output parser: Forgery Analysis Schema
- Semantic Contradiction Detector (AI Agent): runs an AI agent, with model: OpenAI Model - Semantic; output parser: Contradiction Schema Parser
…plus 16 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 (19)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Crypto
n8n-nodes-base.crypto - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Postgres
n8n-nodes-base.postgres - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
n8n Template Submission: AI-Powered Multi-Document Analysis & Recommendation Engine 1. Title AI Multi-Document Analyzer with Smart Recommendations & Reporting How It Works This workflow automates intelligent document analysis by processing multiple uploaded…