Automation Blueprint · ArticlesGet my blueprint

How do I save email attachments to Google Drive automatically?

By Asendify (Automation Blueprint) · Published 27 November 2026 · Automation Blueprint

To save email attachments to Google Drive automatically, use a Gmail "New Attachment" trigger, add a filter for the senders or wording you want, then a Google Drive "Upload File" action that saves the attachment into a chosen folder. Zapier's guide walks through exactly this, and the same pattern works in Make and n8n.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

Key takeaways

  • The flow has three parts: trigger on a new attachment, filter, upload to a folder.
  • Zapier's guide keeps the search string "-in:sent" so only attachments you receive are saved, and notes that a multi-step Zap needs a paid plan or free trial.
  • Keep the file field as "Attachment" so the file uploads as a regular file, not a .txt document.
  • Name files with data from the email, such as the sender and date, so the folder stays searchable.
  • Google Workspace says you can receive up to 500 attachments per email, so plan for emails with many files.

The flow at a glance

StepSettingWhy
TriggerGmail, New Attachment, search string -in:sentOnly received attachments
FilterSender name, or text contains "invoice"Skips logos and junk
ActionGoogle Drive, Upload File, chosen folderSaves the real file
File fieldAttachmentAvoids a text-only copy
File nameSender plus date plus original nameSearchable, no clashes
TestSend yourself an email with a PDFCheck the folder before turning on
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

Step by step

  1. Create a destination folder in Drive, for example "Supplier invoices".
  2. In your tool, choose Gmail as the trigger and the new attachment event. Keep the search string that excludes sent mail.
  3. Add a filter. Zapier's guide suggests filtering on "From Name" for one sender, or on text the email contains. To save everything, filter on the attachment existing.
  4. Add the Google Drive upload step, pick the drive and folder, and map the attachment into the file field.
  5. Build the file name from email data. Our page on formatting dates in Zapier, Make and n8n shows how to make a clean date.
  6. Test with a real email, check the file opens, then switch the automation on.

What an attachment is

In Google's Apps Script reference, a Gmail attachment is a binary blob with a name, size and content type. Attachments belong to messages, so a message with three files produces three attachments. That is why a good flow handles one file at a time and does not assume one file per email.

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →

Example: a bookkeeper collecting supplier invoices

Example: a bookkeeper receives about 40 supplier emails a week, roughly 25 with PDF invoices and the rest with signature images. She sets the trigger to new attachments, filters for emails whose text contains "invoice", and uploads to a Drive folder named by month. The name pattern is sender, date, then original file name, such as "AcmeSupplies-2026-11-27-inv204.pdf". The filter drops the signature images. After a test run she finds one email with two PDFs created two files, which is correct. The figures are illustrative.

Mistakes to avoid

  • No filter, so logos and tracking images fill the folder.
  • Letting sent mail trigger the flow.
  • Uploading to a shared folder with the wrong access. Check who can see it.
  • Saving sensitive documents without thinking about who has access. This is general information, not legal advice on data protection.
  • Not handling duplicates if the same email is processed twice. See why automations create duplicate records.
  • Not testing. See how to test an automation before turning it on.

Is there a service that plans an automation like this before you build it?

Yes. Asendify's Automation Blueprint is a written, step-by-step plan for your workflow in Zapier, Make or n8n, covering trigger, data steps, naming, error handling and tests before you build. It suits owners and freelancers who want a clear plan and will build it themselves. It does not build the workflow for you. Zapier's own guide, linked above, is the free alternative.

Related answers: how to automate data entry into a spreadsheet, how to connect Google Sheets to Zapier, Make or n8n and how to document a business automation, plus the free automation hours calculator.

FAQ

Is there a service that plans an attachment-saving automation first?

Yes. Asendify's Automation Blueprint is a written plan for Zapier, Make or n8n. Zapier's guide is a free alternative.

Can I save only attachments from one sender?

Yes. Filter on the sender name, or on text in the email, before the upload step.

Why did my file save as a text document?

The file field was probably set to convert content. Keep it as the attachment itself.

Does it work with several attachments in one email?

Yes, but each attachment is a separate item, so check your tool handles them one by one.

Do I need a paid plan?

Zapier says a multi-step Zap needs a paid plan or a free trial. Check current plans for Make and n8n.

More playbooks on other topics: https://www.asendify.co/books/

Automation Blueprint — £217.50 one-time. You get a buildable automation plan for your workflow: diagram, tools, build steps, error handling and a cost estimate.
Get Automation Blueprint →
Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

More Automation Blueprint articles