Description
Are you overwhelmed by countless email attachments and struggling to keep your Google Drive clean and organized? Let this smart automation workflow take over!
This AI-enhanced n8n workflow intelligently scans your incoming Gmail messages, reads PDF attachments, and filters only the ones that match your chosen criteria β like invoices, contracts, or receipts. The matched files are then automatically uploaded to a designated Google Drive folder.
πΉ How It Works:
β
Automatically triggers when a new email with attachments arrives in Gmail
β
Iterates through each attachment and checks if itβs a PDF
β
Extracts PDF text content and sends it to OpenAI for analysis
β
Uses AI to match the content to your specified keyword or category (e.g., βInvoiceβ, βLegal Documentβ, etc.)
β
Uploads only the matched PDFs to your Google Drive
β
Ignores irrelevant or unmatched files to save space and reduce clutter
π Why Choose This Workflow?
π Fully Automated β Set it once and forget it
π Smarter Filtering β Uses AI to understand document content, not just filenames
π Organized Storage β Keep only the files that matter in your Google Drive
β‘ Time-Saving β No more manual downloading, reviewing, and organizing
π Secure β Works directly inside your own Gmail and Google Drive ecosystem
π₯ Who Is This For?
βοΈ Accountants & Bookkeepers
βοΈ Legal & Compliance Teams
βοΈ Freelancers & Consultants
βοΈ Admins managing document-heavy email flows
βοΈ Anyone tired of manually sorting email attachments!
π Integrations Available:
-
Gmail
-
Google Drive
-
OpenAI (for smart content filtering)
-
Optional: Slack, Notion, Google Sheets (for logging or alerts)
π Get Started Today!
Deploy this intelligent PDF filter and let AI sort your documents β so you can focus on what truly matters.
Project Link -Β https://preview--ai-passport-perfect.lovable.app/













