Automate Gmail Attachments to Google Drive with a Shareable Link
detail.loadingPreview
Streamline your workflow by automatically saving Gmail attachments to a designated Google Drive folder and generating a shareable link. This integration ensures your important files are organized and easily accessible.
About This Workflow
This n8n workflow revolutionizes how you handle email attachments. It connects your Gmail account to Google Drive, intelligently fetching specific email attachments and uploading them to a predefined folder. Once uploaded, the workflow retrieves a shareable web link for the newly saved file, making it simple to distribute or reference. This automation saves valuable time by eliminating manual downloads and uploads, while simultaneously ensuring your crucial documents are securely stored and readily available in your Google Drive.
Key Features
- Automatic Gmail Attachment Retrieval: Fetches attachments from specific Gmail labels.
- Seamless Google Drive Upload: Saves attachments directly to your chosen Google Drive folder.
- Shareable Link Generation: Creates a direct web link to the uploaded file.
- Customizable Label Filtering: Allows you to target emails based on specific Gmail labels.
How To Use
- Connect Gmail: Authorize your Gmail account and configure the Gmail node to fetch emails from a specific label (e.g., 'Label_1819449526183990002'). Ensure the operation is set to 'getAll' and the format to 'resolved'.
- Configure Google Drive: Connect your Google Drive account. In the Google Drive node, specify the
parentsID of the folder where you want to save the attachments and ensurebinaryPropertyNameis set to 'attachment_0'. - Extract Shareable Link: Use the Set node to extract the
webViewLinkfrom the Google Drive upload output and rename it to 'mp4_attachment' (or a more appropriate name for your use case) for easy access and sharing.
Apps Used
Workflow JSON
{
"id": "334d36bc-75c0-4533-b5b3-5915d9347815",
"name": "Automate Gmail Attachments to Google Drive with a Shareable Link",
"nodes": 13,
"category": "Operations",
"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: 334d36bc-75c0...
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
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.