How to create new folders in Google Drive for every new email received in Gmail

Relay.app is an automation tool that lets you automate actions across Gmail, Google Drive, and many other apps. In this guide, we'll show you how to automatically run the “create folder” action in Google Drive for each email received in Gmail using Relay.app.
Gmail logoGmail > Google Drive
Trigger
Last triggered
Gmail logoEmail received
Google Drive logoCreate folder
1

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 relevant details. This trigger will automatically detect all the new email received in Gmail to create new folder in Google Drive.

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

2

Add the Google Drive "Create folder" automation

Integrate the Google Drive automation into your playbook to ensure the prompt creation of a new folder in Google Drive for every new email received in Gmail. Add a new step and select "Create folder" 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.

3

Turn on the playbook

Activating your playbook is the final step. Once turned on, it will respond to new emails received in Gmail by creating a new 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.

More how-to guides featuring Gmail and Google Drive

See all how-to guides ➔

What will you automate?

Sign up and get started with your first Relay.app workflow today.
Background imageBackground image