Automate Email Attachment Archiving to Google Drive
detail.loadingPreview
Automatically save email attachments from Gmail to Google Drive.
About This Workflow
This workflow triggers when a new email with attachments arrives in your Gmail inbox. It then extracts the binary data of the attachments and uploads them to a specified folder in Google Drive, renaming them based on the original file name and the sender's email address.
Key Features
- Gmail Trigger: Monitors for new emails with attachments.
- Attachment Extraction: Isolates binary attachment data.
- Google Drive Upload: Archives attachments to Google Drive.
- Dynamic File Naming: Renames files using original name and sender email.
How To Use
- Trigger - New Email: Configure your Gmail account and set the filter to
has:attachmentto trigger on emails with attachments. - Attach Binary Data Outputs: This node automatically processes the binary data from the email attachments.
- Upload files to Google Drive: Configure your Google Drive credentials, specify the desired
driveIdandfolderId. Thenameparameter is dynamically set to include the original file name and the sender's email address.
Apps Used
Workflow JSON
{
"id": "192a52df-112a-479f-8fee-5012f3b156b1",
"name": "Automate Email Attachment Archiving to Google Drive",
"nodes": 18,
"category": "Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 192a52df-112a...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Automated Google Drive Backup for n8n Workflows
Automatically back up n8n workflows to Google Drive on a schedule.
Generate Structured Metadata for Standup Bot
This workflow generates structured configuration metadata for a standup bot, saving it as a JSON file.
Supply Chain Delay Monitor
Automated monitoring and logging of supply chain delays using a webhook, text processing, embeddings, and a vector store.