🚀 I Built an AI by Jayaprakash R🚀 I Built an AI by Jayaprakash R

🚀 I Built an AI

Jayaprakash R

Jayaprakash R

🚀 I Built an AI Agent That Stops Duplicate & Fraud Invoices BEFORE You Pay!
This is my end-to-end Automated Invoice Processing & Validation Architecture — now live on n8n.
💥 THE PROBLEM: Finance teams manually verifying 1,000s of invoices lead to: • Duplicate payments & fraud risk • PO-GRN discrepancies • 10+ hours wasted every single week
🏗️ THE ARCHITECTURE BREAKDOWN 👇
Phase 1: Smart Ingestion & De-Duplication
Gmail Invoice Ingestion Trigger
Pre-Processor & MD5 Hash Engine
PostgreSQL Duplicate Hash Check
Is Duplicate Invoice? Router ├─► If Duplicate: Instant Telegram / Email Rejection Alert └─► If Unique: Cost Optimization Router
Phase 2: AI Document Intelligence & Validation 5. Gemini AI Document Analysis — Extract vendor, line-items, PO, bank 6. PostgreSQL Vendor & Bank Master Lookup 7. Real-Time Fraud & Bank Validation Check 8. Fetch ERP PO & GRN Data 9. Automated 3-Way Matching (PO vs. GRN vs. Invoice) 10. HTTP Live Forex Engine (For import invoices) 11. BOM Table Sync & Final Validation 12. Final Audit Dispatch to Finance
⚡ KEY RESULTS: ✅ Duplicate Payments: 0% (Saved €50K+ on edge cases) ✅ Fraud Detection: Real-time bank account & GST cross-verification ✅ Processing Time: Cut from 10 hrs/week → 30 seconds per invoice ✅ 3-Way Match: 100% Automated
🛠️ STACK: n8n | Google Gemini AI | PostgreSQL | JavaScript | Gmail API | ERP API
This isn't just automation — it's an AI Guard for your Accounts Payable team.
💡 Want this setup for your finance team? Comment "INVOICE OS" below and I’ll send you the full blueprint breakdown!
#n8n #AIAutomation #InvoiceProcessing #Fintech #GeminiAI #APAutomation #FraudDetection
Like this project

Posted Oct 19, 2026

🚀 I Built an AI Agent That Stops Duplicate & Fraud Invoices BEFORE You Pay! This is my end-to-end Automated Invoice Processing & Validation Architecture — n...