Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Monitoring, Betrieb & Störungen

Monitoring, Betrieb & Störungen

Validate procurement records and learn error patterns with Gemini and Data Tables

When an API call/webhook arrives, it monitors systems with Google Gemini using Data Table.

Was sie bewirkt

# AI-Based Procurement Data Error Detection ## How it works This workflow receives procurement records through a POST webhook, normalizes and validates required fields, quantities, pricing, subtotal, tax, currency, and unit values, then checks an n8n Data Table for a previously learned error signature. Trusted recurring patterns bypass AI. New or untrusted combinations are reviewed by a Basic LLM Chain using Google Gemini for semantic anomalies such as category, coding, supplier-item, or unit inconsistencies. Detected issues are returned immediately to the calling system and saved as reusable patterns for future prevention. ## Setup steps 1. Create an n8n Data Table named procurement_error_patterns with the columns listed in the Learning section. 2. Select your Google Gemini credential in the Gemini Chat Model node. 3. Review the workflow configuration in n8n Variables, including AI confidence, recurring-error, pattern-confidence, tax-tolerance, subtotal-tolerance, default currency, default tax rate, required fields, and pattern-learning settings. 4. Send procurement records as JSON to the webhook. Recommended fields: supplier, item_code, description, category, quantity, unit, unit_price, subtotal, tax_rate, tax_amount, and currency. 5. Test valid, mathematical-error, semantic-error, and recurring-pattern cases before activation.

Die Schritte

  1. Receive Procurement Record
  2. Configure Validation Rules
  3. Normalize and Validate Procurement Record
  4. Find Known Error Pattern
  5. Merge Record With Pattern
  6. Is Trusted Pattern Known
  7. Reuse Trusted Pattern Correction
  8. Analyze Procurement Anomalies
  9. Merge Record With AI Review
  10. Build Unified Error Decision
  11. Are Errors Detected
  12. Prepare Learned Error Pattern
  13. Learn Recurring Error Pattern
  14. Notify User With Correction

Insgesamt 17 Schritte.

Ähnliche Automatisierungen