# Use-Cases - Document AI - AI Powered OCR - Text Detection in handwritten document

> Upload archived files into Salesforce, and CloudFiles Document AI instantly extracts the text returning indexed outputs that flow into Salesforce

## Text Detection from Scanned Documents

Turn old, unsearchable scans into searchable, structured digital records. Upload archived files into Salesforce, and CloudFiles Document AI instantly extracts the text with high accuracy, returning clean, indexed outputs that flow into Salesforce objects

[Book a Demo](https://meet.cloudfiles.io/salesforce?utm_content=sf-use-cases-text-detection-from-handwritten-documents-hero)

*Loved and trusted by leading companies*
Logos: General Mills, Dun & Bradstreet, Wingstop, PenFed, Aviva, Ohio University, CA Conservation Corps, NC State Auditor, Arthrex, Commvault, Computacenter, Aggreko, ITW, Lummus, Northumbrian Water, Hamptons, Anteriad, BrightNight

## Every Unsearchable Archive is a Block on Progress
Stacks of scanned PDFs and legacy documents waste time, increase compliance risks, and prevent organizations from making use of critical historical data.

- **60%** — of records remain unsearchable
- **5x higher** — compliance risks with old archives
- **Weeks** — of delays when manually re-typing

## See how it works — step by step

### Step 1. Upload & Trigger AI

Step 1. Upload & Trigger AI

Upload legacy scans or archived PDFs into Salesforce or storage. Flow detects uploads and routes them to AI.

- Handles multi-page & bulk archives
- Works with faded, old, or scanned images
- Supports direct uploads from Salesforce record pages

### Step 2. Text Detection & OCR

Step 2. Text Detection & OCR

CloudFiles AI applies OCR + contextual NLP to convert images into clean text, extracting metadata, titles, and key fields.

- Handles multiple languages
- Noise & blur correction applied
- Outputs structured JSON for easy mapping

### Step 3. Sync Data Back to Salesforce

Step 3. Sync Data Back to Salesforce

A custom Apex Action inserts extracted text into Salesforce objects, instantly searchable and linked to parent records.

- Bulk insert for large archives
- Records linked to source file
- Enables workflows for compliance, reporting, or analytics

## The Triple Advantage

Get Speed, Precision andCompliance

- **90% Faster Retrieval** — Search through decades of scanned files in seconds.
- **99.9% OCR Accuracy** — Extract usable text from even degraded or handwritten files.
- **Native Salesforce Experience** — Flow + Apex integration, no separate app to log into.

## CloudFiles: Built to Do What Others Can’t
Manual entry is slow. Other tools fall short. CloudFiles gives you the smarter way to manage documents.

## Beyond this use case

### Legal Archives

Make case records and evidence scans instantly searchable.

### Healthcare Records

Extract patient details from decades-old scanned medical files.

### Government Documents

Digitize and index large-scale public records for compliance.

## Frequently Asked Questions

**Q: Does CloudFiles support handwritten text recognition?**
Yes. Our OCR engine detects and converts handwritten content where legible.

**Q: Do I need to create templates for each archive format?**
No. AI adapts dynamically to different formats and layouts.

**Q: Can I process bulk archives at once?**
Absolutely. Upload thousands of scans at once, and CloudFiles will batch process them.

**Q: Is it secure for sensitive historical records?**
Yes. CloudFiles is independently audited for SOC 2 Type II, certified to ISO 27001, and compliant with HIPAA and GDPR.

## Don’t Let Scans Collect Dust

Book a 15-min demo and see how CloudFiles makes archives searchable, structured, and Salesforce-ready.

[Book a Demo](https://meet.cloudfiles.io/salesforce?utm_content=sf-text-detection-from-handwritten-documents-footer)
