Save Gmail Attachments to Google Drive and Log in Sheets

3 min setup
No coding required
Runs automatically

Invoices, supplier price lists and packing slips arrive as email attachments and end up scattered across inboxes. This workflow saves each attachment from a matching Gmail email to a Google Drive folder and adds a row to Google Sheets with the sender, subject, date and file link, so every file is stored and easy to find.

gmail logo icon
When an email with an attachment arrives in Gmail
Save the attachment to your Google Drive folder
google sheets logo icon
Log the file and its sender in Google Sheets

How it works

3 steps to file every email attachment in Drive and track it in one sheet

gmail logo icon

When an email with an attachment arrives in Gmail

App connector: Gmail • Time to complete: 1 minute

Runs when a new email arrives in the connected Gmail inbox. Limit it with a search such as has:attachment from a supplier or with a label.

Save the attachment to your Google Drive folder

App connector: Google Drive • Time to complete: 1 minute

Save each attachment to the chosen Drive folder, named with the email date and the original file name.

google sheets logo icon

Log the file and its sender in Google Sheets

App connector: Google Sheets • Time to complete: 1 minute

Add a row with the sender, subject, received date, file name and the Drive link to the saved file.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to file every email attachment in Drive and track it in one sheet

Get setup in 3 minutes.

Use this template →

FAQs

Can I only save attachments from certain senders?

Yes. Narrow the trigger with a Gmail search or label, for example only emails from your suppliers or with invoice in the subject.

What if an email has several attachments?

Add a Loop step before saving so each attachment is saved to Drive and logged as its own row.

Does it work with emails that arrived before I turned it on?

No. It handles new emails only. Older attachments need to be moved to Drive once by hand.

Personalize this template

Customize this workflow even further:

Sort files into subfolders
Pick the Drive folder from the sender or subject, so invoices and price lists land in separate folders.
Label the email when done
Add Gmail's Add Label to Email action at the end so filed emails are easy to spot in your inbox.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

file every email attachment in Drive and track it in one sheet

3 min setup • Fully supported if you need help