How to automatically Upload Gmail Attachments to Google Drive

Learn how to automatically upload the attachments from some of your incoming emails in Gmail to Google Drive.
Gmail logoGoogle Drive logo

Create your playbook

To automate this workflow, you'll create a Relay playbook that runs automatically every time an email is received in Gmail that matches certain criteria.

Get started by signing up at and clicking "New playbook." Give your new playbook a unique name that describes which attachments you want to save.


Add the Gmail trigger

Every playbook starts with a trigger. The trigger detects changes in your connected apps and runs your playbook in response.

Click "Add trigger" and select "Email received" under Gmail. Then, provide the necessary criteria like a certain sender, set of keywords, or labels. If this is your first time using a Gmail integration in Relay, you'll be prompted to connect your Gmail account.

Now, every time an email is received in Gmail that matches your criteria, your playbook will run automatically.


Add the Google Drive Upload files automation

Now you can add a new step to your playbook that will upload files to Google Drive. Select "Upload files" from the list of Google Drive automations.

Connect Google Drive to Relay if you haven't already, then specify which folder in Drive you want to receive the attachments.


Turn on the playbook

When you are finished setting up your playbook, it's time to activate it.

The playbook will now run automatically whenever an email is received in Gmail that matches your criteria.

Get started with Relay

Sign up now and get started with your playbook today