Skip to content

Connect Gmail to Google Drive

Attachments buried in email are hard to find later. Save invoices, CVs and contracts from your inbox into the right Drive folders automatically, and send emails built from what's in Drive, such as summaries, onboarding packs or sharing reports.

Ideas

What you can do with Gmail and Google Drive

Attachment filing, summaries and document emails that link your inbox and Drive. These are ready-made starting points. Anything else you can describe works too.
Every 15 minutesAI

Save invoice PDFs from Gmail to Drive, named by supplier and amount

Invoice and receipt PDFs in your inbox are saved to Drive as date_supplier_amount files, and the email is labelled as filed.

See how it works
Every 15 minutesAI

Transcribe emailed audio and save summaries to Drive

Voice notes and recordings sent to your inbox become a transcript and summary in Drive, with the summary emailed to you.

See how it works
Every 10 minutes

Save client email attachments into Drive, one folder per company

Attachments from client emails are filed in Drive automatically, each in a folder named after the sender's company.

See how it works
The moment it happensAI

Turn sales call notes into a proposal draft in Drive

Send your call notes after a sales call and a proposal draft based on your template is saved in Drive, with the link in your inbox.

See how it works
Every 15 minutesAI

File emailed CVs in Drive with a short candidate review

Every CV sent to your jobs inbox is saved to your Candidates folder and you get an email with a short review against the role.

See how it works
Every 6 hours

Get emailed when a web page changes, with snapshots in Drive

Whenever a page you watch changes, you get an email showing what changed and a copy of the new version is saved to Drive.

See how it works
Daily

Archive every email from one sender to a Drive folder

Each new email from the sender you choose is saved as a file in your Drive folder, so you keep a complete record outside your inbox.

See how it works
Every 15 minutesAI

Turn emailed press releases into draft articles in Drive

Press releases that reach your inbox come back as publish-ready article drafts in Google Docs, with the link emailed to you.

See how it works
The moment it happens

Send new clients a shared Drive folder and welcome email

Each new client gets their own Drive folder from your template, shared with them, plus a welcome email with the link.

See how it works
Weekly

Get a weekly email of Drive files shared too widely

Every Monday you get an email listing recently edited Drive files that anyone with the link or people outside your company can open.

See how it works
Your own logic

Any other automation you can describe in words

Your own rules, schedule and AI steps with Gmail and Google Drive, plus any other app. Describe it and your assistant builds it.

See how to build your own

More ideas

Build your own

Build any Gmail and Google Drive automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and Google Drive in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Every 15 minutes, save PDF attachments from Gmail to Drive into folders named by sender domain and month, skipping attachments under 20 KB like email signatures.

Use AI to read each new attachment in my Gmail and file it into Drive under Invoices, Contracts or Other based on what it is.

Use cases

Why people connect Gmail and Google Drive

How the two apps work together

  • ClickRuntime checks Gmail every few minutes for messages with attachments that match a search or label.
  • Attachments are saved to Drive folders you choose, renamed by sender, date or subject if you want.
  • Files can also go the other way: a scheduled run can email a Drive file or folder link to a list of people.
  • Bookkeeper files invoices automatically

    PDF invoices arriving in Gmail can be saved to a Drive folder by vendor and month. The bookkeeper has every file in one place at month end.

  • Agency saves client deliverables and briefs

    Attachments from client email domains can go into that client's Drive folder. The whole team can find briefs and feedback without forwarding emails.

  • HR stores signed forms

    Signed forms and IDs sent by new hires can be saved into each person's onboarding folder in Drive. HR does not have to download and upload by hand.

  • Legal keeps contract versions together

    Contract drafts sent back and forth by email can be saved to a Drive folder per deal with the date in the file name.

More apps

Gmail, Google Drive and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

Log saved attachments in a sheet

When I save an invoice from Gmail to Drive, also add a row to my Invoices sheet with the sender, date, amount and file link.

Client files saved and announced

When a client emails an attachment, save it to their Drive folder and post the file link to the client's Slack channel.

Invoice emails to Drive and QuickBooks

Save each emailed vendor invoice to Drive and create a draft bill in QuickBooks with the vendor, amount and due date.

Save invoice attachments and log them

Every 15 minutes, save PDF attachments from emails labeled Invoices to my Drive folder Invoices/<month>, and add the sender, amount, due date and file link to my Invoices sheet.

Email requests to Airtable with files in Drive

When an email arrives at requests@, create a record in my Airtable Requests table with the sender, subject and body, save any attachments to a Drive folder named after the record, and put the folder link on the record.

Setup

Connect Gmail and Google Drive once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

Gmail

Email

  1. At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
  2. Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
  3. Under Data Access, add the scopes you need, such as https://www.googleapis.com/auth/gmail.modify, or gmail.send if you only want to send.
  4. Under Clients, create an OAuth client of type Web application with the redirect URI https://clickruntime.com/oauth/callback.
  5. In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.

Google Drive

File storage

  1. At console.cloud.google.com, create a project and enable the Google Drive API.
  2. Set up the OAuth consent screen and add the scope https://www.googleapis.com/auth/drive.
  3. Create an OAuth client of type Web application with the redirect URI https://clickruntime.com/oauth/callback.
  4. In the ClickRuntime dashboard, open Connections, choose Google Drive and enter the client ID and secret, then connect.
  5. Prefer a service account? Under IAM & Admin → Service Accounts, create one and add a JSON key, share your folders or a Shared Drive with its email, and save the key as a secret on Connections & secrets.

FAQ

Questions about connecting Gmail and Google Drive

Which emails does it save from?
The ones that match a search you choose, such as a sender, a label or emails with PDF attachments. Everything else in your inbox is left alone.
Where do the files go?
Into the Drive folder you name, optionally in subfolders by sender, month or type, with a clear file name.
Will it save the same attachment twice?
No. It remembers which emails it has already handled and skips them on the next check.
Can I use two Google accounts, one for mail and one for Drive?
Yes. Connect both accounts and tell the automation which one to use for each side.
Does it only handle PDFs?
No. It can save any attachment type, and you can limit it to certain file types such as PDF or images if you prefer.
How soon after the email arrives is the file saved?
Gmail is checked on a schedule, as often as every 5 minutes, so files are usually in Drive within a few minutes.
Can it rename files when saving?
Yes. The script can name files using the sender, date, subject or details pulled from the document.

Tell your assistant what Gmail and Google Drive should do together

Free plan. No credit card.