Files & Documents
Automatically save Gmail attachments to Google Drive
13 nodes
266
123
Automatic trigger
Workflow Description
An automation that monitors incoming Gmail messages, identifies attachments, and transfers them directly to a designated Google Drive folder. Eliminates manual file handling and keeps documents centralized without requiring any user intervention.
How it works
- 1.Trigger automation on new Gmail message arrival
- 2.Detect attachments within the email
- 3.Filter emails containing attachments only
- 4.Transform and forward attachments to Google Drive
- 5.Store files in the pre-configured folder location
Use cases
- Centralize invoices and contracts by automatically transferring attachments from client emails
- Consolidate project files from team members into a shared folder
Requirements
- Active Gmail account with API access enabled
- Google Drive account with a designated folder for received files
- Secure OAuth connection between n8n and both Google services
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Gmail
Google Drive
Details
Trigger
Automatic trigger
Nodes
13
Apps
2
Views
266
Downloads
123
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (13)
/
Gmail Trigger
Gmail
Only n8n Paddle invoice mails
If
Split Out
Split Out
Only keep invoice link
Filter
Do nothing on other emails
No Op
Sticky Note
Sticky Note
Setup
Set
Download Invoice PDF from URL
HTTP Request
Rename file
Google Drive
Move to the correct folder
Google Drive
Upload PDF to Drive
HTTP Request
Sticky Note1
Sticky Note
Extract "a-tags" from email
HTML Page