🌐 EN | PL
Tools: n8n, Gmail, Google Drive
This workflow automatically saves Gmail attachments to a designated Google Drive folder.
It monitors a Gmail inbox for new emails, detects attachments, extracts each file individually (handling multiple attachments per email), and uploads them to Google Drive with original filenames preserved.
Who this is for: Anyone who regularly receives important files via email and wants them automatically organized in Google Drive: accountants receiving invoices, project managers getting deliverables, teams collecting documents from external partners.
1. Gmail Trigger monitors the inbox for new emails (every minute)
2. The system checks if the email contains attachments
3. If so, each attachment is extracted individually (supporting multiple attachments per email)
4. Each file is uploaded to the configured Google Drive folder with its original filename
End-to-end workflow architecture: Gmail trigger, attachment detection, extraction, and automatic upload to Google Drive
Test email with 10 attachments in different formats: DOCX, JPG, JSON, MP3, MP4, PDF, PNG, PPTX, TXT, XLSX
All 10 attachments automatically saved to the designated Google Drive folder with original filenames preserved
Complete n8n workflow with Gmail trigger, configuration node, attachment detection, file splitting, and Google Drive upload
Nodes: 6
Key integrations: Gmail (trigger with attachment download), Google Drive (file upload)
Notable features:
Handles multiple attachments per email
Preserves original filenames
Tested with 10 file formats: PDF, DOCX, XLSX, JPG, PNG, PPTX, MP3, MP4, TXT, JSON
Target folder configured in a single Config node
No AI component, pure automation