Guide

How to automatically move a file from one folder to another in Google Drive whenever a new email with a specific label is received in your Gmail

Learn how to set up a Relay playbook that automatically moves a file from one folder to another whenever a new email with a specific label is received in your Gmail. Streamline your digital organization with this efficient workflow. When a new email with a specific label arrives in your Gmail, the specified file is moved to a designated location in your Google Drive. It's a seamless solution to ensure important documents are properly sorted and effortlessly accessible in your Google Drive, facilitating smoother operations.
Gmail logoGoogle Drive logo
1

Create your playbook

To automate this workflow, you'll create a Relay playbook that runs automatically every time you receive a new labeled email in Gmail.

Get started by signing up at Relay.app and clicking "New playbook." Give your new playbook a unique name and emoji.

2

Add the Gmail "Email received" 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, select mandatory and relevant details. This trigger will automatically detect all the labeled new email received in Gmail to move the specific file in Google Drive.

If this is your first time using a Gmail integration in Relay, you'll be prompted to connect your Gmail account.

3

Add the Google Drive "Move file" automation

Integrate the Google Drive automation into your playbook to ensure the file is moved promptly in Google Drive for newly labeled emails received in Gmail. Add a new step and select "Move file" from the list of Google Drive automations.

Connect Google Drive to Relay if you haven't already, then fill out the mandatory and relevant details. You can reference fields from Gmail to automatically pass along the right data.

4

Turn on the playbook

Activating your playbook is the final step. Once turned on, it will respond to new labeled emails received in Gmail by moving a specific file to a specific folder in Google Drive without manual intervention.

To enable your playbook, click the toggle button located in the header. It is advisable to perform a test run of your playbook beforehand to ensure all steps work seamlessly together and reminders are being sent correctly.

Get started with Relay.app

Sign up now and get started with your playbook today