Organize Gmail Attachments to Structured Google Drive Folders

Automates extraction of binary attachments from Gmail emails and uploads them to dynamically named folders in Google Drive, preserving original filenames.

n8n
Organize Gmail Attachments to Structured Google Drive Folders

This n8n workflow streamlines email attachment management by triggering on new Gmail emails, downloading binary attachments, filtering for presence, retrieving full email details, creating a unique Google Drive folder based on the email subject and timestamp (e.g., '[Subject] - [Timestamp]'), splitting attachments, and uploading each to the new folder.

Key steps include Gmail trigger for new emails, automatic attachment download, binary data filtering to ensure attachments exist, full email retrieval for metadata, dynamic folder creation in Drive, attachment separation via item lists, and individual uploads maintaining original names. It's versatile for any binary attachments like PDFs, images, or docs, not limited to specific types.

Ideal for real estate professionals handling property listings via email—automatically organizes listing docs, photos, contracts into structured folders, saving hours of manual sorting. Benefits include reduced clutter, instant accessibility, audit trails via timestamps, scalability for high-volume inboxes, and seamless Gmail-Drive integration, boosting productivity in document-heavy workflows.

$14.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Real Estate workflows

More from Arjun Radu

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.