10/30/2026
Manually reviewing email attachments, extracting document contents, and organizing files into structured cloud directories consumes valuable operational time.
Our integrated n8n template automates end-to-end document routing using Gmail, pdfRest Claude AI, and Google Drive:
▪️Text Extraction via pdfRest: Extract clean text layers from incoming email PDF attachments instantly.
▪️Contextual AI Classification: Pass extracted content to Anthropic’s Claude to analyze document type and determine precise filing rules.
▪️Structured Cloud Archival: Automatically rename files and organize them into designated Google Drive folders without manual intervention.
Eliminate inbox clutter and automate your document archival workflows.
Looking to streamline email attachment handling in n8n? Import our classification template: https://n8n.io/workflows/19694-classify-and-file-email-pdf-documents-with-gmail-pdfrest-drive-and-claude/
Quick overviewThis workflow monitors Gmail for emails with PDF attachments, OCRs scanned documents with pdfRest when needed, converts PDFs to Markdown, uses...