AppsPricingBlogTry it
Gmail logo
Google Sheets logo

Connect Gmail to Google Sheets

Use 5 documented Gmail triggers to run 24 documented Google Sheets actions.

5 source triggers
24 target actions
Reverse direction supported

Why Connect Gmail & Google Sheets?

Start with a Gmail event

Choose from 5 documented triggers, including New Attachment Received, New Email Matching Search, New Email Received.

Run a Google Sheets action

Send the event into one of 24 documented actions, such as Add Single Row, Add Multiple Rows, Get Values in Range.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Gmail logo

Gmail

Triggers (5)

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

polling
New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

polling
New Email Received

Emit new event when a new email is received.

polling
New Labeled Email

Emit new event when a new email is labeled.

polling
New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

polling

Actions (20)

Add Label to Email

Add label(s) to an email message. See the docs

Approve Workflow

Suspend the workflow until approved by email. See the documentation

Archive Email

Archive an email message. See the documentation

Bulk Archive Emails

Archive multiple emails at once. See the documentation

Create Draft

Create a draft from your Google Workspace email account. See the documentation

Create Label

Create a new label in the connected account. See the documentation

Delete Email

Moves the specified message to the trash. See the documentation

Download Attachment

Download an attachment by attachmentId to the /tmp directory. See the documentation

Find Email

Find an email using Google's Search Engine. See the docs

Get Current User

Returns the authenticated Gmail user's name, email address, and mailbox stats (total messages and threads). Call this first when the user says 'my emails', 'my inbox', or needs identity context. Use the returned emailAddress to identify the user's own messages in **Find Email** results. See the documentation.

Get Send As Alias

Get a send as alias for the authenticated user. See the documentation

List Labels

List all the existing labels in the connected account. See the docs

List Send as a Delegate Options

Retrieves available options for the Send as a Delegate field.

List Send As Aliases

List all send as aliases for the authenticated user. See the documentation

List Signature Options

Retrieves available options for the Signature field.

List Thread Messages

List messages in a thread. See the docs

Remove Label from Email

Remove label(s) from an email message. See the docs

Send Email

Send an email from your Google Workspace email account. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Update Signature for Primary Email Address

Update the signature for the primary email address. See the documentation

Google Sheets logo

Google Sheets

Triggers (8)

New Comment

Emit new event each time a comment is added to a spreadsheet.

polling
New Comment (Instant)

Emit new event each time a comment is added to a spreadsheet.

webhook
New Row Added

Emit new event each time a row or rows are added to the bottom of a spreadsheet.

polling
New Row Added (Instant)

Emit new event each time a row or rows are added to the bottom of a spreadsheet.

webhook
New Updates

Emit new event each time a row or cell is updated in a spreadsheet.

polling
New Updates (Instant)

Emit new event each time a row or cell is updated in a spreadsheet.

webhook
New Worksheet (Instant)

Emit new event each time a new worksheet is created in a spreadsheet.

webhook
New Worksheet (Polling)

Emit new event each time a new worksheet is created in a spreadsheet.

polling

Actions (24)

Add Single Row

Add a single row of data to Google Sheets. Optionally insert the row at a specific index (e.g., row 2 to insert after headers, shifting existing data down). See the documentation

Add Multiple Rows

Add multiple rows of data to a Google Sheet. See the documentation

Get Values in Range

Get all values or values from a range of cells using A1 notation. See the documentation

Add Conditional Format Rule

Create conditional formatting with color scales or custom formulas. See the documentation

Add Protected Range

Add edit protection to cell range with permissions. See the documentation

Add Rows

Append one or more rows to a Google Sheets worksheet. Pass rows as a JSON array. **Preferred format:** array of objects with column header keys (e.g., [{"Name": "Alice", "Email": "alice@example.com"}]). Use **Get Spreadsheet Info** first to discover the exact column header names — keys must match headers exactly (case-sensitive). Alternatively, pass rows as arrays of positional values matching column order. New rows are appended after the last row with data.

Add Worksheet

Add a new worksheet (tab) to an existing spreadsheet. Optionally set column headers. Use **Get Spreadsheet Info** to see existing worksheets before creating.

Clear Cell

Delete the content of a specific cell in a spreadsheet. See the documentation

Clear Rows

Delete the content of a row or rows in a spreadsheet. Deleted rows will appear as blank rows. See the documentation

Copy Worksheet

Copy an existing worksheet to another Google Sheets file. See the documentation

Create Column

Create a new column in a spreadsheet. See the documentation

Create Spreadsheet

Create a blank spreadsheet or duplicate an existing spreadsheet. See the documentation

Create Worksheet

Create a blank worksheet with a title. See the documentation

Delete Conditional Format Rule

Remove conditional formatting rule by index. See the documentation

Delete Rows

Deletes the specified rows from a spreadsheet. See the documentation

Delete Worksheet

Delete a specific worksheet. See the documentation

Find Row

Find one or more rows by a column and value. See the documentation

Find Rows

Search for rows matching a value in a specific column. Use **Get Spreadsheet Info** to discover column header names. Returns matching rows as objects with row numbers (useful for subsequent **Update Rows** calls). For simple reads without filtering, use **Read Rows** instead.

Get Cell

Fetch the contents of a specific cell in a spreadsheet. See the documentation

Get Current User

Retrieve Google Sheets account metadata for the authenticated user by calling Drive's about.get, returning the user profile (display name, email, permission ID) and storage quota information. Helpful when you need to verify which Google account is active, tailor sheet operations to available storage, or give an LLM clear context about the user identity before composing read/write actions. See the Drive API documentation.

Get Spreadsheet by ID

Returns the spreadsheet at the given ID. See the documentation for more information

Get Spreadsheet Info

Get the structure of a Google Spreadsheet — worksheet names, column headers (first row of each sheet), and row counts. **Call this first** before reading or writing data, so you know the worksheet names and column headers. The column headers are used as keys when writing data with **Add Rows** or **Update Rows**. The spreadsheet ID is the long string in the Google Sheets URL: https://docs.google.com/spreadsheets/d/{spreadsheetId}/edit.

Insert an Anchored Note

Insert a note on a spreadsheet cell. See the documentation

Insert Comment

Insert a comment into a spreadsheet. See the documentation

Integration Features

5 documented Gmail triggers
24 documented Google Sheets actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Google Sheets to Gmail direction

Capability Examples

Gmail trigger → Google Sheets action

Catalog example
GmailGmail

New Attachment Received

Google SheetsGoogle Sheets

Add Single Row

Google Sheets trigger → Gmail action

Reverse direction
Google SheetsGoogle Sheets

New Comment

GmailGmail

Add Label to Email

How It Works

1

Connect Apps

Authenticate your Gmail and Google Sheets accounts

2

Choose a Trigger

Select a documented Gmail event

3

Choose an Action

Select the documented Google Sheets operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 5 documented Gmail triggers.

Automated Actions

Run one of 24 documented Google Sheets actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Google Sheets logoGmail logo

Reverse Integration Available

Also connect Google Sheets to Gmail for bidirectional automation

View Integration
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations
Google Sheets logo

All Google Sheets Integrations

Explore all available Google Sheets connections

View All Integrations

Ready to Connect Gmail & Google Sheets?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free