How to share Google Docs when Gmail labels are added is an automation tool that lets you automate actions across Gmail, Google Docs, and many other apps. In this guide, we'll show you how to use to automatically run the Google DocsShare document” action for each GmailLabel added” event.
Gmail logoGmail > Google Docs
Last triggered
Gmail logoLabel added
Google Docs logoShare document

Add the Gmail "Label added" 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 "Label added" under Gmail. Then, select the label. This trigger will automatically detect all the specified labels added in Gmail to share the specific Google Docs.

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


Add the Google Docs "Share document" automation

Integrate the Google Docs automation into your playbook to ensure the Google Docs are promptly shared for every specific label added in Gmail. Add a new step and select "Share document" from the list of Google Docs automations.

Connect Google Docs 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.


Turn on the playbook

Activating your playbook is the final step to automate sharing the specific Google Docs for every specific label added in Gmail. Once turned on, it will respond to the detected added label in Gmail by sharing the specific Google Docs 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 sent correctly.

More how-to guides featuring Gmail and Google Docs

See all how-to guides ➔

What will you automate?

Sign up and get started with your first playbook today.
Background image