Automatically Save Gmail Invoice Attachments to Google Drive (Step-by-Step Zapier Guide)
If invoices regularly hit your inbox, this automation will save you hours every month. Learn how to use Zapier to automatically detect invoice emails in Gmail and upload the attachments directly to Google Drive.
Manually downloading invoices from Gmail every week?
Open email → Download attachment → Upload to Drive → Repeat.
That’s admin work.
And admin work should be automated.
In this guide, you’ll learn how to automatically upload invoice attachments from Gmail to a specific Google Drive folder using Zapier.
This takes 10–15 minutes to set up.
It saves hours over time.
Who This Automation Is For
This setup is ideal if you:
- Run a startup and reconcile expenses weekly
- Handle vendor invoices regularly
- Manage co-working, SaaS, or subscription bills
- Send documents to an accountant every month
- Want cleaner financial documentation
If invoices hit your inbox regularly, this is for you.
What We’re Building
Here’s the outcome:
Whenever a new invoice email arrives in Gmail,
the attachment will automatically upload to a specific Google Drive folder.
No manual downloads.
No drag-and-drop.
No forgotten invoices.
Tools Required
You’ll need:
- Gmail
- Google Drive
- A Zapier account (free plan works for basic setup)
That’s it.
Step-by-Step Setup
You can also watch the video tutorial here - https://youtu.be/tg5KpElv6qM
1. Introduction to Automation Use Case 0:01
- Purpose: Automate the process of saving invoices from emails to a Google Drive folder.
- Use Case:
- Booking co-working spaces and receiving invoices via email.
- Need to reconcile invoices weekly without manual downloading and moving.
2. Setting Up Email Search Filter 0:47
- Create a Google search filter for emails.
- Steps:
- Identify the sender's email address.
- Identify the subject pattern (e.g., starts with 'Invoice').
- Use these criteria to filter relevant emails.
3. Creating a Zap in Zapier 2:04
- Start a new Zap in Zapier.
- Choose to create from scratch or use Zapier's Copilot for assistance.
4. Checking Automation Compatibility 2:21
- Verify if the workflow can be automated by checking Zapier's app compatibility.
- Search for Gmail in Zapier to confirm it can trigger actions based on incoming emails.
5. Setting Up Trigger for New Emails 3:14
- Select 'New Email Matching Search' as the trigger event in Zapier.
- Connect your Gmail account if not already connected.
6. Defining Search Criteria in Zapier 5:24
- Paste the previously created search filter into Zapier.
- Test the trigger to ensure it pulls the correct emails.
7. Setting Up Action to Upload to Google Drive 7:39
- Choose Google Drive as the action app in Zapier.
- Select 'Upload File' as the action event.
8. Configuring Google Drive Upload Settings 8:14
- Select the appropriate Google Drive folder for uploads.
- Choose the file to upload (e.g., the email attachment).
9. Testing the Automation 10:22
- Test the Zap to ensure it successfully uploads the file to Google Drive.
10. Optional: Linking to Google Sheets 11:40
- Optionally, connect the Zap to Google Sheets to log invoice details.
- Use the file URL to create clickable links in the sheet.
11. Finalizing and Publishing the Zap 12:46
- Name the Zap (e.g., 'Invoice Uploader').
- Publish the Zap to activate the automation.
12. Conclusion and Future Enhancements 13:04
- Recap of the automation process.
- Mention potential for adding more complexity in future automations.
Bonus: Take This Further
Once this works, you can extend it.
For example:
1. Log Invoices in Google Sheets
Add another step:
- Create Spreadsheet Row
- Log:
- Vendor
- Date
- Subject
- File URL
Now you have a structured expense tracker.
2. Send Accountant Notifications
Add:
- Gmail or Slack step
- Notify your finance team automatically
3. Build a Reconciliation Dashboard
Store metadata in Sheets → connect to Looker Studio → visualize expenses.
Now you're thinking like an operator.
Common Mistakes to Avoid
- Using “New Email” instead of “New Email Matching Search”
- Not testing with real invoice emails
- Mapping the wrong attachment field
- Forgetting to select the correct Drive folder
- Not publishing after testing
Test properly. Then publish.
Why This Matters
Small automation.
Big leverage.
Every manual task you eliminate:
- Reduces friction
- Reduces error
- Frees cognitive bandwidth
- Creates cleaner documentation
Automation is not about complexity.
It’s about eliminating repetitive work.
Final Thoughts
If you regularly download invoices from Gmail and upload them to Drive manually, this automation will save you hours over the year.
It takes 10 minutes to set up.
It runs forever.
If you’d like help identifying similar automation opportunities inside your business, you can book an automation audit below.
Or explore more real-world workflows on the blog.
Let a computer do the repetitive work.