Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Set Folder and Index IDs
  2. When Email Received
  3. Extract Each Attachment
  4. Check PDF Format
  5. Fetch PDF Metadata
  6. Merge PDF Data
  7. Check OCR Requirement
  8. Apply OCR to PDF
  9. Set OCR Status Applied
  10. Set OCR Status Skipped
  11. Convert PDF to Markdown
  12. Document Type Classifier
  13. Merge for Filing
  14. Route by Document Type

22 steps in total.

Similar automations