AI document fraud and compliance screening

The scenario takes a document, extracts the text, runs it through several AI checks for forgery and contradictions, and decides what to do based on the risk score.

  • Text is extracted from PDFs, images and office files
  • Several AI checks: forgery, contradictions, cross-checking
  • A final risk score and routing based on it
  • Dangerous documents go to human review with a team alert
WebhookEmbeddings OpenAIDefault Data Loader

How it works

To connect Google BigQuery and smscRu, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Document Ingestion Webhook
  2. Then: Workflow Configuration
  3. Then: Generate Document Hash
  4. Check: Route by Document Type
  5. If yes: Extract Text from PDF
  6. Check: Merge Extracted Content
  7. Then: Metadata Extraction Agent
  8. Check: Merge Analysis Results
  9. Then: Entity Enrichment Agent
  10. Then: Calculate Risk Score
  11. Check: Route by Risk Level
  12. If yes: Store Low Risk Documents
  13. Then: Log Audit Trail
  14. Then: Generate Cryptographic Proof
  15. Then: Prepare Response Data
  16. Starts when: Return Processing Result
  17. If no: Notify Compliance Team
  18. Then: Wait for Human Review
  19. Then: Store High Risk Documents
  20. If no: Alert Security Team
  21. Then: Store Critical Risk Documents
  22. Then: Forgery Detection Agent
  23. Then: Semantic Contradiction Detector
  24. Then: Historical Document Vector Store
  25. Then: Historical Pattern Comparison Agent
  26. If no: OCR Processing for Images
  27. If no: Extract from Office Documents
  28. Then: OpenAI Model - Metadata
  29. Then: Metadata Schema Parser
  30. Then: OpenAI Model - Forgery
  31. Then: Forgery Analysis Schema
  32. Then: OpenAI Model - Semantic
  33. Then: Contradiction Schema Parser
  34. Then: OpenAI Embeddings
  35. Then: Document Loader
  36. Then: Text Splitter
  37. Then: Entity Enrichment Tool
  38. Then: OpenAI Model - Enrichment
  39. Then: Enrichment Schema Parser
  40. Then: OpenAI Model - Pattern
  41. Then: Pattern Analysis Schema

You can launch this Google BigQuery + smscRu integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.