Library / Files & Cloud Storage
Files & Cloud Storage
Classify and file email PDF documents with Gmail, pdfRest, Drive and Claude
When a new email arrives, it manages files with Claude using Pdf Rest, Gmail, Google Drive, Google Sheets.
What it does
## Extract and classify pdfRest converts the PDF to Markdown (JSON output). The Information Extractor reads the first 12,000 characters and returns documentType, counterparty, and documentDate. Merge for Filing reattaches the PDF binary for upload.
The steps
- Set Folder and Index IDs
- When Email Received
- Extract Each Attachment
- Check PDF Format
- Fetch PDF Metadata
- Merge PDF Data
- Check OCR Requirement
- Apply OCR to PDF
- Set OCR Status Applied
- Set OCR Status Skipped
- Convert PDF to Markdown
- Document Type Classifier
- Merge for Filing
- Route by Document Type
22 steps in total.
Similar automations
Documents, PDF & OCRPrepare PDFs for RAG with pdfRest OCR and Markdown chunks28 stepsDocuments, PDF & OCRSplit multi-document PDFs with pdfRest, OpenAI grouping and Google Drive37 stepsDocuments, PDF & OCRCreate, pair and validate ZUGFeRD e-invoices with pdfRest35 stepsCode, Git & Developer ToolsUpload Multiple Files to a GitHub Repository via REST API9 steps