How to add newly labeled Gmail emails to Google Sheet rows

Relay.app is an automation tool that lets you automate actions across Gmail, Google Sheets, and many other apps. In this guide, we'll show you how to automatically run the “add row to sheet” action in Google Sheets for each label added in Gmail using Relay.app.
Gmail logoGmail > Google Sheets
Trigger
Last triggered
Gmail logoLabel added
Google Sheets logoAdd row to sheet
1

Create your playbook and set the Gmail trigger as "Label added"

After creating your playbook, you can proceed to add your trigger. The trigger detects changes in your connected apps and responds to your playbook.

To setup this playbook, click "Add trigger" and then select "Label added" under Gmail. Then, select details like label name and whether to only trigger for the first email in a conversation. This will allow your playbook to automatically detect the new label added to a specific email in Gmail and initiate necessary actions.

If this is your first time using a Gmail integration in Relay.app, a prompt will guide you through the connection process.

2

Add the "Add row to sheet" in Google Sheets automation

Integrate the Google Sheets automation into your playbook to ensure the prompt addition of a new row in Google Sheets when a new email is labeled in Gmail.

Click the "Add step" button, then locate the "Add row to sheet" automation for Google Sheets and input the mandatory and relevant details.

If your Google Sheets account isn't already connected to Relay.app, you will be prompted to complete that connection. Make sure to allow the necessary permissions for Relay.app to sync with your Google Sheets account.

3

Activate your Relay.app playbook

Activating your playbook is the final step to automate the addition of a new row in Google Sheets. Once turned on, it will respond when a specific email is labeled in Gmail by adding a new row in Google Sheets 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 Sheets

See all how-to guides ➔

What will you automate?

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