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/













