Blog
Updated 15 min read

How to Save Gmail Attachments to Google Drive Automatically

Founder and CEO, The Drive AI

TL;DR: Gmail cannot save attachments to Google Drive on its own: Add to Drive is one click per file, and filters cannot save files at all. Workspace Studio can on Google Workspace business plans, into one fixed folder per flow, and add-ons and connectors file by sender and subject. A Gmail attachment workflow in The Drive AI reads the attachment itself, names it from what it says, files it into the Google Drive folder your instructions name, and can hold anything that matters for a person to approve. Your inbox is never touched.

Disclosure: The Drive AI publishes this guide and is one of the tools compared. Third-party details link to the vendors' own pages; prices were checked on October 14, 2026.

Every team has a mailbox that quietly becomes a filing system. Somebody downloads each attachment, works out what it is, names it and drags it into Drive. On a bad week that happens never, and the file lives in Gmail search forever (find old email attachments is for that week).

Several tools will copy every attachment into a Drive folder. Almost none will put each file where it belongs, because what decides the folder is inside the file: which vendor, which client, what total, whether both parties signed. To automate invoice processing or any filing job properly, the attachment has to be read.

Doing this specific job? Save Gmail attachments to a folder automatically walks through the setup, with the filenames before and after.

Can Gmail save attachments to Google Drive automatically?

No. Gmail's Add to Drive button saves one attachment at a time, and filters can label, archive and forward but cannot save a file. (Gmail Help)

On a Google Workspace business plan there is one native route. Workspace Studio can build a flow that starts "When I get an email" and adds the attachments to a Drive folder you choose. (Workspace Studio Help) It is included in Business Starter, Standard and Plus, Enterprise and Education. The limits matter for filing: one folder per flow, 25 flows of 20 steps each, new mail only, and no step that renames an attachment. (Workspace Studio Help)

What are the ways to save Gmail attachments to Google Drive automatically?

The options differ on what picks the folder and the name, which decides whether you get a filing system or a folder with 1,400 files in it.

OptionHow it picks the folderRenames filesReads the documentAttachments already in GmailPrice basis
The Drive AI workflowFrom what the document says, in a sentence you writeYes, from values inside the fileYes, including scansHistorical Sync, last 30, 90 or 180 daysMax or any Team plan
Google Workspace StudioOne Drive folder per flow, branches you buildNoGemini steps can extract detailsNew mail onlyIncluded in Workspace business plans
Save Emails and Attachments (Digital Inspiration)Gmail search; folder from sender, subject or date variablesFrom email fieldsNoYesFrom $79.95 a year
cloudHQ Save Emails to Google DriveBy Gmail labelFrom email fieldsNoYes$19.99 per user a month
Google Apps ScriptWhatever you codeIf you code itNoIf you code itFree within Google's quotas
Zapier or MakeFixed folder per zap, often by senderFrom template fieldsNoNo; Zapier sees the last hour of mailZapier free for 100 tasks a month, then from $19.99 a month

Sources for the rows: The Drive AI connects to Gmail to save Gmail attachments into Google Drive, OneDrive, SharePoint, Dropbox or its own storage; connected Gmail needs the Max plan on a personal workspace or any Team plan, and Max is $99.99 a month. Save Emails and Attachments is a Workspace add-on that saves roughly hourly and can process old mail; Standard is $79.95 a year for 5 rules, 500 emails a day and My Drive only, Enterprise $99.95 a year with unlimited rules and shared drives (Marketplace, Digital Inspiration). cloudHQ's trial covers 50 emails and Premium is $19.99 per user a month (cloudHQ pricing). Apps Script is free within Google's quotas, including six minutes per run (Apps Script quotas). Zapier's Gmail New Attachment trigger feeds an Upload File step in Drive (Zapier); Free covers 100 tasks a month, Pro starts at $19.99 a month billed yearly for 750 (Zapier pricing), and the trigger only sees the last hour of mail (Zapier Help). Make works the same way.

The connector tools work well when one sender always sends one kind of document to one folder, and break down when an inbox receives invoices, contracts and receipts from dozens of senders. For Outlook and OneDrive as well, see save email attachments to folders and the ranked email attachment management software.

How does a Gmail attachment workflow work?

You say it once, in a sentence, and the steps appear on a canvas. From then on every attachment that arrives in the connected Gmail account goes through them. The trigger is Email Attachment.

The first step after the trigger is always Save a Copy, and the app will not save the workflow without it, because an email attachment has no home yet. It puts a copy in a folder in a connected Google Drive, OneDrive, SharePoint or Dropbox account, or in The Drive AI, and the following steps work on that copy. Gmail itself is never modified.

  • Read Details from File pulls named values out, such as vendor, invoice number, total or an effective date, for folder paths and filenames.
  • Ask AI About the File opens the attachment and answers a question about it: is the total over $5,000, is this a contract or a proposal, does it carry both signatures.
  • Check File Details sends files down different paths by type, size, name or age.
  • Rename and Move name and file the copy, from what the AI read or from an explicit pattern, into the folder your instructions name.
  • Ask a Person to Approve shows the person the plan, the new name and the destination, and waits. You choose Always ask or Only when unsure.
  • Send a Message posts to Slack or sends an email when a file has been handled.

The sender, subject and text of the email are context for these steps, so "attached is the signed lease for unit 4B" makes the filing more accurate; the email's text is treated as information about the file, never as instructions.

Every run lands in Activity, where it can be replayed exactly as it happened and retried from the step that failed. The complete guide to document processing automation covers how the pieces fit.

Example workflow sentences

Each is the sentence you would type; the steps are laid out from it.

Accounts payable, with a limit:

When an invoice arrives, save a copy to Finance/Inbox in Google Drive. If the total including tax is over $5,000, ask Dana to approve first. Otherwise file it under Vendors, then the vendor name, then the year, named "<vendor> - Invoice <number> - <date>".

Receipts by month:

When a receipt arrives, save a copy to Google Drive and file it under Receipts/<year>/<month>, named "<merchant> - <date> - <total>".

Legal intake:

When a contract arrives, read the counterparty and the effective date. If it carries both signatures, file it under Clients/<counterparty>/Executed and rename it "<counterparty> MSA <effective date>". If it is unsigned, file it under Clients/<counterparty>/Drafts and message #legal.

Client files from a client domain:

When an attachment arrives from a client domain, save a copy to Clients/<client>/Received, named by the document title inside the file and today's date.

Most teams start with the last one, the simplest, and add a condition once they trust the filing.

Gmail filters vs Zapier vs a workflow that reads the file

CapabilityThe Drive AI WorkflowsGmail filtersZapier or Make
Decides from sender, subject, filenameYes (trigger filters and Check File Details)YesYes
Decides from what the attachment saysYes (Ask AI About the File)NoNot without a separate AI step
Names files from values inside themYes (Read Details from File)NoNo
Files into a Google Drive folder by contentYes, the folder your instructions nameNoFixed folder per zap
Holds a file for a person to approveYes, plan shown firstNoNo
Modifies the inboxNeverLabels, archive, forwardNo
Record of every decisionActivity, with replay and retryNoTask history
Built byOne sentence in plain EnglishFilter formStep-by-step editor

Filters remain the right tool for email triage inside Gmail, a connector when the file only needs to leave the inbox, and a workflow when the folder depends on the contents.

Where do the attachments end up?

In the folder your instructions name, in Google Drive or wherever Save a Copy points; a Gmail attachment does not live anywhere until then. That home can be a folder in a connected Google Drive, OneDrive, SharePoint or Dropbox account, or The Drive AI, where the file becomes searchable by what it says. Teams on Microsoft 365 use the same steps to save email attachments to SharePoint.

Nothing is done to the email; Gmail search finds it exactly where it was. If you want a copy in two places, add two Save a Copy steps. Under More options, Skip duplicate files stops a byte-for-byte copy from being saved twice; a re-scan or re-export is a different file and is saved.

How do I bring in attachments already in Gmail?

Run Historical Sync once. A workflow only sees attachments that arrive after you connect, so past mail needs a separate import.

Open Settings, then Integrations, open the account's "..." menu and choose Historical sync. Pick the last 30, 90 or 180 days, and optionally include sent email. One import runs per account at a time, it can be cancelled, and owners and admins see every imported file in Import History.

Imported attachments land at the top level of the workspace as they are, not renamed and not filed, and they do not start Email Attachment workflows. A workflow that watches uploads to The Drive AI files them as they land, or you ask the assistant to organize email attachments automatically afterwards, with a preview before anything moves. Images, calendar files (.ics), blocked senders, attachments whose content an earlier import already brought in, and malware are skipped.

Can I keep some senders out?

Yes, in two places: a blocklist that applies to everything, and filters on the trigger that narrow one workflow.

Blocked senders. Add an exact address or a whole domain under Settings, then Email Blocklist. The list can be workspace-wide, or per account if the admin allows it. Workflows skip blocked senders and say so in Activity, and Historical Sync skips them too.

Trigger filters. On the Email Attachment trigger, under More options, add a From filter (the sender contains text such as @acme.com) or a Subject contains filter (such as "Invoice"), so one mailbox can feed several workflows.

How does it work for a team?

Each member connects their own Gmail with their own consent, and a workflow can watch one account or every team member's inbox.

On a personal workspace you connect one Gmail and one Outlook account. On a team workspace each member can connect several, and the trigger asks whose inbox to watch: One account, or Team members. Pick Team members and the same sentence files invoices whichever connected mailbox they arrive in, Gmail or Outlook. Outlook attachments go through identical steps for Outlook.com, Hotmail and Microsoft 365 mailboxes.

Admins can require approval before a new connection goes live, with a switch per provider; the connection waits as pending until an admin or owner approves it or rejects it with a reason. Nobody's connection reaches anyone else's mail.

What will a Gmail workflow not do?

It will not touch your email, and it will not pretend to be certain.

  • The email is context, not the subject. The email itself is never saved, sent, replied to, sorted or deleted. Google's permission lets The Drive AI read email and attachments; it cannot send, change or delete email, and sign-in is OAuth, so your password is never seen.
  • AI steps can be wrong. Any step that reads the file uses AI and can occasionally misjudge a document. That is why Ask a Person to Approve shows the plan first and why every run can be replayed.
  • Approvals expire. An approval waits up to the time you set, three days by default and thirty at most, then takes the Expired path. If nothing is connected there, nothing happens to the file, and the expiry is recorded.
  • It does not track completeness, remind or escalate. No step checks whether a set of files is complete, sends reminders, acts on retention or deletes on a schedule. Messages go to Slack or email only.
  • Connected Gmail needs a paid plan. Workflows on uploaded files work on every plan; connecting Gmail needs the Max plan on a personal workspace, or any Team plan.

Setting it up

  1. Connect Gmail. Open Settings, then Integrations, and sign in with Google (the Gmail Google Drive integration page covers what it reads). Connecting saves nothing by itself; a workflow does the saving.
  2. Say what should happen. In Workflows, type a sentence like the accounts payable example above. The steps appear on the canvas.
  3. Narrow the trigger if you need to. Under More options, add a From or Subject contains filter, and on a team choose One account or Team members.
  4. Point Save a Copy at Google Drive. Choose the connected Drive and the folder.
  5. Decide how much to hold for you. Set Ask a Person to Approve to Always ask while you are building trust, or Only when unsure once the filing is reliable.
  6. Save and watch the first run. Send yourself a test attachment, open the run in Activity, replay it and adjust any step.
  7. Bring in the backlog. Run Historical Sync, then let a workflow on uploads or the assistant file what it imported.

Doing it by hand this once instead? How to download all attachments from Gmail covers the per-message button, Takeout and the add-ons, and if a file will not come down at all, Gmail attachments not downloading lists the documented causes.

Frequently Asked Questions

Can Gmail automatically save attachments to a folder?

Not by itself: Add to Drive is one click per file, and filters cannot save files. Saving automatically takes a tool: The Drive AI, which reads the attachment and files it by what it says; Workspace Studio on Google Workspace business plans, into a fixed folder; an add-on such as Save Emails and Attachments or cloudHQ; Apps Script; or a connector such as Zapier or Make, which file by sender and subject.

Is there a free way to save Gmail attachments to Google Drive?

Yes, though none of the free routes reads the file. The Drive AI runs workflows on uploaded files on every plan, but connecting Gmail needs Max or any Team plan. Free options are Workspace Studio if your Workspace business plan includes it, Google Apps Script within Google's quotas, and Zapier's free tier of 100 tasks a month. Each saves to a fixed folder.

Does it change my inbox?

No. The workflow makes a copy with Save a Copy and works on that. The original email is not labeled, archived, moved or deleted, and Gmail search finds it exactly where it was.

Can it tell an invoice from a receipt?

Yes. Ask AI About the File reads the whole document, not the filename or subject, so invoices, receipts and quotes can go down different paths. Because the step uses AI, it can occasionally be wrong, which is why an approval step can hold the file first.

Do I need a paid plan?

For Gmail, yes. Workflows on files uploaded to The Drive AI work on every plan. Connecting a Gmail account needs the Max plan on a personal workspace, or any Team plan.

Can I save old attachments, not just new ones?

Yes. Historical Sync imports attachments from the last 30, 90 or 180 days of a connected Gmail account, with sent mail optional. They land at the top level as they are; a workflow that watches uploads or the assistant then files them. Images and calendar files are skipped.

Can several people on my team connect their own Gmail?

Yes. Each team member connects their own Gmail with their own consent, and admins can require approval before a new connection is active. A workflow can watch one account or every team member's inbox, so a process like accounts payable is built once.

Start with one mailbox

The invoice that arrives tonight can be saved to Google Drive and filed by what it says, with the one that matters waiting for a person. Build your first workflow, or see how the pieces fit on the file workflows page.

Share it with your network

You might also find useful