What This Workflow Does
This automation solves the common problem of email attachments cluttering your inbox and becoming difficult to find later. It automatically monitors your Gmail account for incoming emails with attachments, extracts those files, and organizes them into Google Drive folders named after each sender.
The system creates a logical folder structure that makes it easy to locate any document you've received. Instead of searching through emails or a disorganized Downloads folder, you'll have all attachments neatly filed by sender in Google Drive, where they're accessible to your team and protected by Google's security.
How It Works
1. Trigger on new Gmail emails
The workflow starts when a new email arrives in your Gmail inbox. You can configure it to watch specific labels or apply filters to only process emails that meet certain criteria.
2. Check for attachments
The automation examines each incoming email to determine if it contains attachments. If no attachments are found, the email is ignored to save processing time.
3. Extract sender information
The system identifies the sender's email address and name, which will be used to create or identify the appropriate destination folder in Google Drive.
4. Create or locate sender folder
In your Google Drive, the workflow checks if a folder exists for this sender. If not, it creates one using the sender's name or email address as the folder name.
5. Save attachments to Drive
Each attachment is downloaded from Gmail and uploaded to the sender's folder in Google Drive. The original filename is preserved by default, but you can customize naming conventions.
Who This Is For
This automation is ideal for any professional or business that regularly receives important documents via email. Common use cases include:
- Accountants receiving client invoices and financial documents
- Law firms getting contracts and legal filings from clients
- HR departments collecting resumes and job applications
- Sales teams receiving proposals and order forms
- Freelancers managing client deliverables and contracts
What You'll Need
- A Gmail account with emails containing attachments
- A Google Drive account with storage space available
- An n8n account (free or paid) to run the workflow
- Basic permissions to connect these services in n8n
Pro tip: Create a dedicated Gmail label like "To Process" and have the workflow only monitor emails with this label for more control over which attachments get organized.
Quick Setup Guide
- Download the workflow template file
- Import it into your n8n instance
- Connect your Gmail and Google Drive accounts
- Specify any filters (optional)
- Test with a sample email
- Activate the workflow
Key Benefits
Save 2-3 hours per week by eliminating manual attachment downloads and organization. The automation handles this tedious task instantly.
Never lose important documents in a cluttered inbox. All attachments are safely stored in Google Drive with proper organization.
Improve team collaboration by having all documents automatically available in a shared Google Drive structure instead of trapped in individual email accounts.
Create consistent organization without relying on human memory or manual processes that vary between team members.
Enhance document security by storing attachments in Google Drive instead of leaving them in email, with all of Google's enterprise-grade protection.