Gmail Attachment To Google Drive (Split Out)
detail.loadingPreview
Receives emails via Gmail, splits out binary attachments, and saves them to Google Drive based on file size.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automates the process of receiving emails with attachments via Gmail. It utilizes the Split Out node to process each binary attachment individually. Based on the file size of the attachment, it routes the file to different branches: larger files are sent to Google Drive, while smaller files are noted for potential ignoring. This template is designed to handle multiple binary attachments from a single email.
Key Features
- Triggers on new unread emails from a specific sender.
- Splits out all binary attachments from an email.
- Uses a Switch node to conditionally route attachments based on file size.
- Uploads larger attachments to Google Drive.
- Provides example
NoOpnodes for handling smaller files or notifications.
How To Use
- Import this workflow into your n8n instance.
- Configure the
Gmail Triggernode with your Gmail credentials and set the desired sender and read status filters. - Configure the
Google Drivenode with your Google Drive credentials and specify the target folder ID. - Adjust the file size thresholds and output keys in the
Switchnode according to your needs. - Customize the
NoOpnodes for "Too Big" notifications or "Ignore" actions as required. - Ensure your Google Drive and Gmail OAuth2 credentials are set up correctly.
Apps Used
Workflow JSON
{
"id": "47c41bd4-63e6-4cf1-92f4-5d59a70efb6b",
"name": "Gmail Attachment To Google Drive (Split Out)",
"nodes": 0,
"category": "Email 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: 47c41bd4-63e6...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Save Gmail Attachments to Google Drive
Automatically saves attachments from new emails with specific criteria to Google Drive.
Gmail Invoice To Google Drive
Automatically downloads invoices from Gmail and saves them to Google Drive.
Send Specific PDF Attachments from Gmail to Google Drive Using OpenAI
Automate filtering and uploading of specific PDF attachments from Gmail to Google Drive using OpenAI for text analysis.
AI-Powered Email Reply Generator
Automatically generates replies to emails using an AI assistant and sends them as drafts.
Gmail to YouTube Review Inquiry
Automates responses to YouTube video review inquiries received via Gmail.
Email Summary Agent
Fetches, summarizes, and distributes daily email summaries.